@WebActionHandler public Group daoGroupDelete(@WebParam("groupId") Long groupId) { Group group = groupDao.delete(groupId); contactDao.deleteGroup(groupId); return group; }
@WebActionHandler public Group daoGroupUpdate( @WebParam("groupId") Long groupId, @WebParam("groupName") String groupName) { Group group = groupDao.update(groupId, groupName); return group; }
@WebActionHandler public List<Group> daoGroupList() { return groupDao.list(); }
@WebActionHandler public Group daoGroupCreate(@WebParam("groupName") String groupName) { Group group = groupDao.create(groupName); return group; }
@WebActionHandler public Group daoGroupGet(@WebParam("obj_id") Long id) { Group group = groupDao.get(id); return group; }