Ejemplo n.º 1
0
 public void deleteGroup(int groupid) throws GroupDAOSysException {
   try {
     GroupDAO dao = GroupDAOFactory.getDAO();
     dao.deleteGroup(groupid);
   } catch (GroupDAOSysException tdse) {
     tdse.printStackTrace();
   }
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }