public int getGroupId(IWContext iwc) throws Exception { /** @todo cach */ if (groupId != -1) { GenericGroup gr = ProjectBusiness.getProjectParticipantGroup( groupId, ProjectBusiness.getCurrentProjectId(iwc)); if (gr != null) { return gr.getID(); } } return -1; }