示例#1
0
 public void deleteGroup(int groupid) throws GroupDAOSysException {
   try {
     GroupDAO dao = GroupDAOFactory.getDAO();
     dao.deleteGroup(groupid);
   } catch (GroupDAOSysException tdse) {
     tdse.printStackTrace();
   }
 }
示例#2
0
 public GroupForm getGroup(int groupid) throws GroupDAOSysException {
   GroupForm tf = null;
   try {
     GroupDAO dao = GroupDAOFactory.getDAO();
     tf = dao.getGroup(groupid);
   } catch (GroupDAOSysException tdse) {
     tdse.printStackTrace();
   }
   return tf;
 }
示例#3
0
 public List getGroupList() throws GroupDAOSysException {
   List GroupList = null;
   try {
     GroupDAO dao = GroupDAOFactory.getDAO();
     GroupList = dao.getGroupList();
   } catch (GroupDAOSysException tdse) {
     tdse.printStackTrace();
   }
   return GroupList;
 }