Class DefaultB2BUnitDao

All Implemented Interfaces:
B2BUnitDao, GenericDao<B2BUnitModel>

public class DefaultB2BUnitDao extends DefaultGenericDao<B2BUnitModel> implements B2BUnitDao
Default implementation of the B2BUnitDao
Spring Bean ID:
b2bUnitDao
  • Constructor Details

    • DefaultB2BUnitDao

      public DefaultB2BUnitDao()
  • Method Details

    • findB2BUnitMembersByGroup

      public List<B2BCustomerModel> findB2BUnitMembersByGroup(B2BUnitModel unit, String userGroupId)
      Finds member of b2bunit who are also in the group specified by userGroupId
      Specified by:
      findB2BUnitMembersByGroup in interface B2BUnitDao
      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