Interface B2BUnitDao

All Superinterfaces:
GenericDao<B2BUnitModel>
All Known Implementing Classes:
DefaultB2BUnitDao

public interface B2BUnitDao extends GenericDao<B2BUnitModel>
A data access to B2BUnitModel
Spring Bean ID:
b2bOrderDao
  • Method Details

    • findB2BUnitMembersByGroup

      List<B2BCustomerModel> findB2BUnitMembersByGroup(B2BUnitModel unit, String userGroupId)
      Returns all member of the B2BUnit who are also member of the group with the userGroupId passed in
      Parameters:
      unit - - The B2BUnitModel whose member we are going to select
      userGroupId - - The uid of the UserGroup
      Returns:
      List B2BCustomers in B2BUnit who are members of the group with uid userGroupId