Package de.hybris.platform.b2b.dao
Interface PagedB2BCustomerDao<M>
- All Superinterfaces:
PagedGenericDao<M>
- All Known Implementing Classes:
DefaultPagedB2BCustomerDao
-
Method Summary
Modifier and TypeMethodDescriptionfindPagedApproversForUnitByGroupMembership(PageableData pageableData, String unit, String... userGroupId) Paged search to findB2BCustomerModelby B2BUnit or User Groups.findPagedCustomersByGroupMembership(PageableData pageableData, String... userGroupId) Paged search to findB2BCustomerModelby User Group.findPagedCustomersBySearchTermAndGroupMembership(PageableData pageableData, String searchTerm, String... userGroupId) Paged search to findB2BCustomerModelby User Group.findPagedCustomersForUnit(PageableData pageableData, String unit) aged search to findB2BCustomerModelby B2BUnit.findPagedCustomersForUnitByGroupMembership(PageableData pageableData, String unit, String... userGroupId) Paged search to findB2BCustomerModelby B2BUnit and User Groups.Methods inherited from interface de.hybris.platform.commerceservices.search.dao.PagedGenericDao
find, find, find, find
-
Method Details
-
findPagedCustomersByGroupMembership
SearchPageData<B2BCustomerModel> findPagedCustomersByGroupMembership(PageableData pageableData, String... userGroupId) Paged search to findB2BCustomerModelby User Group.- Parameters:
pageableData- The page data to be filled with the results.userGroupId- The uid of the desired user group.- Returns:
- Customers found in search.
-
findPagedCustomersBySearchTermAndGroupMembership
SearchPageData<B2BCustomerModel> findPagedCustomersBySearchTermAndGroupMembership(PageableData pageableData, String searchTerm, String... userGroupId) Paged search to findB2BCustomerModelby User Group.- Parameters:
pageableData- The page data to be filled with the results.searchTerm- Search string that is used to filter the results using the customer name or his unit name. A match can occur in either the customer name or his unit name for the customer to be returned in the results.userGroupId- The uid of the desired user group.- Returns:
- Customers found in search.
-
findPagedCustomersForUnitByGroupMembership
SearchPageData<B2BCustomerModel> findPagedCustomersForUnitByGroupMembership(PageableData pageableData, String unit, String... userGroupId) Paged search to findB2BCustomerModelby B2BUnit and User Groups.- Parameters:
pageableData- The page data to be filled with the results.unit- The uid of the desired B2BUnit.userGroupId- The uids of the desired user groups.- Returns:
- Customers found in search.
-
findPagedApproversForUnitByGroupMembership
SearchPageData<B2BCustomerModel> findPagedApproversForUnitByGroupMembership(PageableData pageableData, String unit, String... userGroupId) Paged search to findB2BCustomerModelby B2BUnit or User Groups.- Parameters:
pageableData- The page data to be filled with the results.unit- The uid of the desired B2BUnit.userGroupId- The uids of the desired user groups.- Returns:
- Customers found in search.
-
findPagedCustomersForUnit
aged search to findB2BCustomerModelby B2BUnit.- Parameters:
pageableData- The page data to be filled with the results.unit- The uid of the desired B2BUnit.- Returns:
- Customers found in search.
-