Package com.soffid.iam.service.ejb
Interface ApplicationService
-
public interface ApplicationService
EJB ApplicationService
-
-
Method Summary
-
-
-
Method Detail
-
findApplicationByJsonQueryAsync
AsyncList<Application> findApplicationByJsonQueryAsync(String query) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findApplicationByTextAndFilterAsync
AsyncList<Application> findApplicationByTextAndFilterAsync(String text, String filter) throws InternalErrorException
- Throws:
InternalErrorException
-
findApplicationByTextAsync
AsyncList<Application> findApplicationByTextAsync(String text) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findDomainValueByTextAsync
AsyncList<DomainValue> findDomainValueByTextAsync(Domain domain, String text) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRedundantRoles
AsyncList<RoleAccount> findRedundantRoles(String query) throws InternalErrorException
- Throws:
InternalErrorException
-
findRoleByJsonQueryAsync
AsyncList<Role> findRoleByJsonQueryAsync(String query) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRoleByTextAndFilterAsync
AsyncList<Role> findRoleByTextAndFilterAsync(String text, String filter) throws InternalErrorException
- Throws:
InternalErrorException
-
findRoleByTextAsync
AsyncList<Role> findRoleByTextAsync(String text) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
removeRedundantRoles
AsyncProcessTracker removeRedundantRoles(String query) throws InternalErrorException
- Throws:
InternalErrorException
-
findApplicationByJsonQuery
PagedResult<Application> findApplicationByJsonQuery(String query, Integer startIndex, Integer count) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findApplicationByTextAndFilter
PagedResult<Application> findApplicationByTextAndFilter(String text, String filter, Integer first, Integer pageSize) throws InternalErrorException
- Throws:
InternalErrorException
-
findRoleAccountByJsonQuery
PagedResult<RoleAccount> findRoleAccountByJsonQuery(String query, Integer startIndex, Integer count) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRoleByJsonQuery
PagedResult<Role> findRoleByJsonQuery(String query, Integer startIndex, Integer count) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRoleByTextAndFilter
PagedResult<Role> findRoleByTextAndFilter(String text, String filter, Integer first, Integer pageSize) throws InternalErrorException
- Throws:
InternalErrorException
-
create
ApplicationAdministration create(ApplicationAdministration administracioAplicacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
ApplicationAdministration update(ApplicationAdministration administracioAplicacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
Application create(Application aplicacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findApplicationByApplicationName
Application findApplicationByApplicationName(String codiAplicacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findApplicationByApplicationNameUnrestricted
Application findApplicationByApplicationNameUnrestricted(String codiAplicacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
approveRoleDefinition
Role approveRoleDefinition(Role rol) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
Role create(Role rol) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create2
Role create2(Role rol) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
denyRoleDefinition
Role denyRoleDefinition(Role rol) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRoleById
Role findRoleById(Long rolId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRoleByRoleNameAndApplicationNameAndDispatcherName
Role findRoleByRoleNameAndApplicationNameAndDispatcherName(String nomRol, String codiAplicacio, String codiDispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRoleByNameAndSystem
Role findRoleByNameAndSystem(String name, String system) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRoleByShortName
Role findRoleByShortName(String name) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
Role update(Role rol) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update2
Role update2(Role rol) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
RoleAccount create(RoleAccount rolsUsuaris) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
RoleGrant create(RoleGrant grant) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
RoleGrant update(RoleGrant grant) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
generateChangesReport
String generateChangesReport(Role rol) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
generateChangesReport
String generateChangesReport(Role rol, List<RoleAccount> grantsToAdd, List<RoleAccount> grantsToRemove) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findNetworkACLRolesByRoleNameAndApplicationNameAndDispatcherName
Collection<NetworkAuthorization> findNetworkACLRolesByRoleNameAndApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findApplicationManageByApplicationName
Collection<ApplicationAdministration> findApplicationManageByApplicationName(String codiAplicacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findApplicationByCriteria
Collection<Application> findApplicationByCriteria(String codi, String nom, String directoriFonts, String responsable, String directoriExecutable, String bd, String rol, String gestionableWF) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findApplicationChildren
Collection<Application> findApplicationChildren(String applicationName) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findApplicationManagementRoles
Collection<Role> findApplicationManagementRoles() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findApplicationManagers
Collection<RoleAccount> findApplicationManagers(String informationSystem, String roleName) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRoleAuthorizationsByRoleNameAndApplicationNameAndDispatcherName
Collection<AuthorizationRole> findRoleAuthorizationsByRoleNameAndApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findDomainValueByText
Collection<DomainValue> findDomainValueByText(Domain domain, String text) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findEffectiveRoleGrantByAccount
Collection<RoleGrant> findEffectiveRoleGrantByAccount(long accountId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findEffectiveRoleGrantByUser
Collection<RoleGrant> findEffectiveRoleGrantByUser(long userId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findEffectiveRoleGrantByUserAndHolderGroup
Collection<RoleGrant> findEffectiveRoleGrantByUserAndHolderGroup(long userId, long groupId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findEffectiveUserRolesByInformationSystem
Collection<RoleAccount> findEffectiveUserRolesByInformationSystem(String informationSystem) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findGroupManagementRoles
Collection<Role> findGroupManagementRoles() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findGroupManagers
Collection<RoleAccount> findGroupManagers(String group, String roleName) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRoleHoldersGroupsByRole
Collection<Group> findRoleHoldersGroupsByRole(Role rol) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findTextualInformationAndRolesHierachyByApplicationRoleAndDispatcher
Collection<ContainerRole> findTextualInformationAndRolesHierachyByApplicationRoleAndDispatcher(String nomRole, String codiAplicacioRol, String codiDispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findTextualInformationAndUserRolesHierachyByUserName
Collection<ContainerRole> findTextualInformationAndUserRolesHierachyByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findTextualInformationAndUserRolesHierachyByUserName
Collection<ContainerRole> findTextualInformationAndUserRolesHierachyByUserName(String codiUsuari, String filtraResultats) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findApplicationAccessTreeRolesByRoleNameAndRoleApplicationNameAndDispatcherName
Collection<AccessTreeAuthorization> findApplicationAccessTreeRolesByRoleNameAndRoleApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRoleAccountByAccount
Collection<RoleAccount> findRoleAccountByAccount(long accountId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRoleGrantByAccount
Collection<RoleGrant> findRoleGrantByAccount(Long accountId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRoleGrantByRole
Collection<RoleGrant> findRoleGrantByRole(Long rolId, Long numRegistres) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRoleAccountByAccountNoRule
Collection<RoleAccount> findRoleAccountByAccountNoRule(long accountId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRoleGrantHierarchyByAccount
Collection<RoleGrantHierarchy> findRoleGrantHierarchyByAccount(long accountId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRoleGrantHierarchyByUser
Collection<RoleGrantHierarchy> findRoleGrantHierarchyByUser(long userId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRoleGrantsByGroup
Collection<RoleGrant> findRoleGrantsByGroup(Group grup) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRolesByApplicationName
Collection<Role> findRolesByApplicationName(String codiAplicacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRolesByApplicationNameUnrestricted
Collection<Role> findRolesByApplicationNameUnrestricted(String codiAplicacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRolesByUserName
Collection<Role> findRolesByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRolesByFilter
Collection<Role> findRolesByFilter(String nom, String descripcio, String defecte, String baseDeDades, String contrasenya, String codiAplicacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRolesByFilter
Collection<Role> findRolesByFilter(String nom, String descripcio, String defecte, String baseDeDades, String contrasenya, String codiAplicacio, String gestionableWF) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRolesByDomainNameAndApplicationName
Collection<Role> findRolesByDomainNameAndApplicationName(String nomDomini, String codiAplicacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findGrantedRolesToGroupByGroup
Collection<Role> findGrantedRolesToGroupByGroup(Group grup) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findUserRolesByRoleNameAndRoleApplicationNameAndDispatcherName
Collection<RoleAccount> findUserRolesByRoleNameAndRoleApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findUserRolesByUserName
Collection<RoleAccount> findUserRolesByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findUserRolesHistoryByUserName
Collection<RoleAccount> findUserRolesHistoryByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findUserRolesByUserNameNoSoD
Collection<RoleAccount> findUserRolesByUserNameNoSoD(String codiUsuari) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findUserRolesByInformationSystem
Collection<RoleAccount> findUserRolesByInformationSystem(String informationSystem) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findUserRolesByUserNameNoRules
Collection<RoleAccount> findUserRolesByUserNameNoRules(String codiUsuari) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findUsersByRoleNameAndRoleApplicationNameAndDispatcherName
Collection<User> findUsersByRoleNameAndRoleApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getApplications
Collection<Application> getApplications() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getRoles
Collection<Role> getRoles() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findApplicationByJsonQuery
List<Application> findApplicationByJsonQuery(String query) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findApplicationByText
List<Application> findApplicationByText(String text) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findApplicationByTextAndFilter
List<Application> findApplicationByTextAndFilter(String text, String filter) throws InternalErrorException
- Throws:
InternalErrorException
-
findRoleByJsonQuery
List<Role> findRoleByJsonQuery(String query) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRoleByText
List<Role> findRoleByText(String text) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRoleByTextAndFilter
List<Role> findRoleByTextAndFilter(String text, String filter) throws InternalErrorException
- Throws:
InternalErrorException
-
manageApplication
void manageApplication(ApplicationAdministration administracioAplicacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(Application aplicacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(Role rol) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(RoleAccount rolsUsuaris) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(RoleGrant grant) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
synchronizeRole
void synchronizeRole(Role rol) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
void update(Application aplicacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
-