コード例 #1
0
 public CustomerGroup getCustomerGroupById(String rawCustomerGroupId) {
   long customerGroupId = -1;
   try {
     customerGroupId = Long.parseLong(rawCustomerGroupId);
   } catch (NumberFormatException e) {
     throw new IllegalArgumentException(e);
   }
   return customerGroupDao.getCustomerGroupById(customerGroupId);
 }
コード例 #2
0
 public void deleteCustomerGroup(CustomerGroup customerGroup) {
   customerGroupDao.deleteCustomerGroup(customerGroup);
 }
コード例 #3
0
 public void saveOrUpdateCustomerGroup(CustomerGroup customerGroup) {
   customerGroupDao.saveOrUpdateCustomerGroup(customerGroup);
 }
コード例 #4
0
 public List<CustomerGroup> findCustomerGroup(CustomerGroup criteria) {
   return customerGroupDao.findByExample(criteria);
 }
コード例 #5
0
 public CustomerGroup getCustomerGroupByCode(String code) {
   return customerGroupDao.getCustomerGroupByCode(code);
 }