checkCommandAccessibility(COMMAND_READ);
checkEntityExist();
Iterator list = findEntityList(CollaboratorRightAbstract.class, "id.collId", getId()).iterator();
Set<Integer> res = new HashSet<Integer>();
while (list.hasNext()) {
CollaboratorRightAbstract right = (CollaboratorRightAbstract) list.next();
int rg = right.getId().getRightId();
if (UserRightsSetAbstract.getRightFromID(rg) != null) {
res.add(rg);
}
}