Interface PagedB2BCustomerDao<M>

All Superinterfaces:
PagedGenericDao<M>
All Known Implementing Classes:
DefaultPagedB2BCustomerDao

public interface PagedB2BCustomerDao<M> extends PagedGenericDao<M>
  • Method Details

    • findPagedCustomersByGroupMembership

      SearchPageData<B2BCustomerModel> findPagedCustomersByGroupMembership(PageableData pageableData, String... userGroupId)
      Paged search to find B2BCustomerModel by 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 find B2BCustomerModel by 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 find B2BCustomerModel by 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 find B2BCustomerModel by 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, String unit)
      aged search to find B2BCustomerModel by B2BUnit.
      Parameters:
      pageableData - The page data to be filled with the results.
      unit - The uid of the desired B2BUnit.
      Returns:
      Customers found in search.