Package de.hybris.platform.b2b.dao
Interface PagedB2BCustomerDao<M>
-
- All Superinterfaces:
PagedGenericDao<M>
- All Known Implementing Classes:
DefaultPagedB2BCustomerDao
public interface PagedB2BCustomerDao<M> extends PagedGenericDao<M>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchPageData<B2BCustomerModel>findPagedApproversForUnitByGroupMembership(PageableData pageableData, java.lang.String unit, java.lang.String... userGroupId)Paged search to findB2BCustomerModelby B2BUnit or User Groups.SearchPageData<B2BCustomerModel>findPagedCustomersByGroupMembership(PageableData pageableData, java.lang.String... userGroupId)Paged search to findB2BCustomerModelby User Group.SearchPageData<B2BCustomerModel>findPagedCustomersBySearchTermAndGroupMembership(PageableData pageableData, java.lang.String searchTerm, java.lang.String... userGroupId)Paged search to findB2BCustomerModelby User Group.SearchPageData<B2BCustomerModel>findPagedCustomersForUnit(PageableData pageableData, java.lang.String unit)aged search to findB2BCustomerModelby B2BUnit.SearchPageData<B2BCustomerModel>findPagedCustomersForUnitByGroupMembership(PageableData pageableData, java.lang.String unit, java.lang.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 Detail
-
findPagedCustomersByGroupMembership
SearchPageData<B2BCustomerModel> findPagedCustomersByGroupMembership(PageableData pageableData, java.lang.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, java.lang.String searchTerm, java.lang.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, java.lang.String unit, java.lang.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, java.lang.String unit, java.lang.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
SearchPageData<B2BCustomerModel> findPagedCustomersForUnit(PageableData pageableData, java.lang.String unit)
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.
-
-