/** * listActiveAppRole */ public ims.admin.vo.AppRoleLiteVoCollection listActiveAppRole() { return AppRoleLiteVoAssembler.createAppRoleLiteVoCollectionFromAppRole(getDomainFactory().listDomainObjects(AppRole.class)).sort(); }
public AppRoleLiteVoCollection listRolesNotUsedInRoleDisciplineSecurityLevel() { String hql = "select aRole from AppRole as aRole where aRole.id not in (select rds.role from RoleDisciplineSecurityLevel rds)"; List lstRoles = getDomainFactory().find(hql); return AppRoleLiteVoAssembler.createAppRoleLiteVoCollectionFromAppRole(lstRoles); }