Пример #1
0
 @WebActionHandler
 public Group daoGroupDelete(@WebParam("groupId") Long groupId) {
   Group group = groupDao.delete(groupId);
   contactDao.deleteGroup(groupId);
   return group;
 }
Пример #2
0
 @WebActionHandler
 public Group daoGroupUpdate(
     @WebParam("groupId") Long groupId, @WebParam("groupName") String groupName) {
   Group group = groupDao.update(groupId, groupName);
   return group;
 }
Пример #3
0
 @WebActionHandler
 public List<Group> daoGroupList() {
   return groupDao.list();
 }
Пример #4
0
 @WebActionHandler
 public Group daoGroupCreate(@WebParam("groupName") String groupName) {
   Group group = groupDao.create(groupName);
   return group;
 }
Пример #5
0
 @WebActionHandler
 public Group daoGroupGet(@WebParam("obj_id") Long id) {
   Group group = groupDao.get(id);
   return group;
 }