public void deleteGroup(int groupid) throws GroupDAOSysException { try { GroupDAO dao = GroupDAOFactory.getDAO(); dao.deleteGroup(groupid); } catch (GroupDAOSysException tdse) { tdse.printStackTrace(); } }
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; }
public List getGroupList() throws GroupDAOSysException { List GroupList = null; try { GroupDAO dao = GroupDAOFactory.getDAO(); GroupList = dao.getGroupList(); } catch (GroupDAOSysException tdse) { tdse.printStackTrace(); } return GroupList; }