Package com.soffid.iam.service
Interface ApplicationService
-
public interface ApplicationService
Service ApplicationService
-
-
Field Summary
Fields Modifier and Type Field Description static String
REMOTE_PATH
static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
approveDelete(RoleAccount rolsUsuaris)
Operation approveDeleteRole
approveRoleDefinition(Role rol)
Operation approveRoleDefinition Makes role dependencies persistentApplication
create(Application aplicacio)
Operation createApplicationAdministration
create(ApplicationAdministration administracioAplicacio)
Operation createRole
create(Role rol)
Operation create This method does NOT add grants made to the new roleRoleAccount
create(RoleAccount rolsUsuaris)
Operation createRoleGrant
create(RoleGrant grant)
Operation createRole
create2(Role rol)
Operation create2 This method does add grants made to the new rolevoid
delete(Application aplicacio)
Operation deletevoid
delete(Role rol)
Operation deletevoid
delete(RoleAccount rolsUsuaris)
Operation deletevoid
delete(RoleGrant grant)
Operation deletevoid
deleteByRuleEvaluation(RoleAccount rolsUsuaris)
Operation deleteByRuleEvaluationvoid
denyApproval(RoleAccount rolsUsuaris)
Operation denyApprovalvoid
denyDelete(RoleAccount rolsUsuaris)
Operation denyDeleteRole
denyRoleDefinition(Role rol)
Operation denyRoleDefinition Makes role dependencies persistentvoid
enableOrDisableAllOnDates()
Operation enableOrDisableAllOnDates Enables or disable any rolAccount based on the start and end datesRoleAccount
enableOrDisableOnDates(RoleAccount rolsUsuaris)
Operation enableOrDisableOnDates Enables or disable a rolAccount based on the start and end datesCollection<AccessTreeAuthorization>
findApplicationAccessTreeRolesByRoleNameAndRoleApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher)
Operation findApplicationAccessTreeRolesByRoleNameAndRoleApplicationNameAndDispatcherNameApplication
findApplicationByApplicationName(String codiAplicacio)
Operation findApplicationByApplicationNameApplication
findApplicationByApplicationNameUnrestricted(String codiAplicacio)
Operation findApplicationByApplicationNameUnrestrictedCollection<Application>
findApplicationByCriteria(String codi, String nom, String directoriFonts, String responsable, String directoriExecutable, String bd, String rol, String gestionableWF)
Operation findApplicationByCriteriaCollection<Application>
findApplicationByCriteriaUnrestricted(String codi, String nom, String directoriFonts, String responsable, String directoriExecutable, String bd, String rol, String gestionableWF)
Operation findApplicationByCriteriaUnrestrictedList<Application>
findApplicationByJsonQuery(String query)
Operation findApplicationByJsonQueryPagedResult<Application>
findApplicationByJsonQuery(String query, Integer startIndex, Integer count)
Operation findApplicationByJsonQueryAsyncList<Application>
findApplicationByJsonQueryAsync(String query)
Operation findApplicationByJsonQueryAsyncList<Application>
findApplicationByText(String text)
Operation findApplicationByTextList<Application>
findApplicationByTextAndFilter(String text, String filter)
Operation findApplicationByTextAndFilterPagedResult<Application>
findApplicationByTextAndFilter(String text, String filter, Integer first, Integer pageSize)
Operation findApplicationByTextAndFilterAsyncList<Application>
findApplicationByTextAndFilterAsync(String text, String filter)
Operation findApplicationByTextAndFilterAsyncAsyncList<Application>
findApplicationByTextAsync(String text)
Operation findApplicationByTextAsyncCollection<Application>
findApplicationChildren(String applicationName)
Operation findApplicationChildrenCollection<ApplicationAdministration>
findApplicationManageByApplicationName(String codiAplicacio)
Operation findApplicationManageByApplicationNameCollection<Role>
findApplicationManagementRoles()
Operation findApplicationManagementRoles Finds the managers with a set management role for an applicationCollection<RoleAccount>
findApplicationManagers(String informationSystem, String roleName)
Operation findApplicationManagers Finds the management roles for any information systemCollection<DomainValue>
findDomainValueByText(Domain domain, String text)
Operation findDomainValueByTextAsyncList<DomainValue>
findDomainValueByTextAsync(Domain domain, String text)
Operation findDomainValueByTextAsyncCollection<RoleGrant>
findEffectiveRoleGrantByAccount(long accountId)
Operation findEffectiveRoleGrantByAccountCollection<RoleGrant>
findEffectiveRoleGrantByUser(long userId)
Operation findEffectiveRoleGrantByUserCollection<RoleGrant>
findEffectiveRoleGrantByUserAndHolderGroup(long userId, long groupId)
Operation findEffectiveRoleGrantByUserAndHolderGroupCollection<RoleGrant>
findEffectiveRoleGrantsByRoleId(Long rolId)
Operation findEffectiveRoleGrantsByRoleIdCollection<RoleAccount>
findEffectiveUserRolesByInformationSystem(String informationSystem)
Operation findEffectiveUserRolesByInformationSystemCollection<Role>
findGrantedRolesToGroupByGroup(Group grup)
Operation findGrantedRolesToGroupByGroupCollection<Role>
findGroupManagementRoles()
Operation findGroupManagementRoles Finds the managers with a set management role for a groupCollection<RoleAccount>
findGroupManagers(String group, String roleName)
Operation findGroupManagers Finds the management roles for any groupCollection<NetworkAuthorization>
findNetworkACLRolesByRoleNameAndApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher)
Operation findNetworkACLRolesByRoleNameAndApplicationNameAndDispatcherNameAsyncList<RoleAccount>
findRedundantRoles(String query)
Operation findRedundantRolesCollection<RoleAccount>
findRoleAccountByAccount(long accountId)
Operation findRoleAccountByAccountCollection<RoleAccount>
findRoleAccountByAccountNoRule(long accountId)
Operation findRoleAccountByAccountNoRuleRoleAccount
findRoleAccountById(long id)
Operation findRoleAccountByIdPagedResult<RoleAccount>
findRoleAccountByJsonQuery(String query, Integer startIndex, Integer count)
Operation findRoleAccountByJsonQueryCollection<AuthorizationRole>
findRoleAuthorizationsByRoleNameAndApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher)
Operation findRoleAuthorizationsByRoleNameAndApplicationNameAndDispatcherNameRole
findRoleById(Long rolId)
Operation findRoleByIdList<Role>
findRoleByJsonQuery(String query)
Operation findRoleByJsonQueryPagedResult<Role>
findRoleByJsonQuery(String query, Integer startIndex, Integer count)
Operation findRoleByJsonQueryAsyncList<Role>
findRoleByJsonQueryAsync(String query)
Operation findRoleByJsonQueryAsyncRole
findRoleByNameAndSystem(String name, String system)
Operation findRoleByNameAndSystemRole
findRoleByRoleNameAndApplicationNameAndDispatcherName(String nomRol, String codiAplicacio, String codiDispatcher)
Operation findRoleByRoleNameAndApplicationNameAndDispatcherNameRole
findRoleByShortName(String name)
Operation findRoleByShortNameList<Role>
findRoleByText(String text)
Operation findRoleByTextList<Role>
findRoleByTextAndFilter(String text, String filter)
Operation findRoleByTextAndFilterPagedResult<Role>
findRoleByTextAndFilter(String text, String filter, Integer first, Integer pageSize)
Operation findRoleByTextAndFilterAsyncList<Role>
findRoleByTextAndFilterAsync(String text, String filter)
Operation findRoleByTextAndFilterAsyncAsyncList<Role>
findRoleByTextAsync(String text)
Operation findRoleByTextAsyncCollection<RoleGrant>
findRoleGrantByAccount(Long accountId)
Operation findRoleGrantByAccountCollection<RoleGrant>
findRoleGrantByRole(Long rolId, Long numRegistres)
Operation findRoleGrantByRoleCollection<RoleGrantHierarchy>
findRoleGrantHierarchyByAccount(long accountId)
Operation findRoleGrantHierarchyByAccountCollection<RoleGrantHierarchy>
findRoleGrantHierarchyByUser(long userId)
Operation findRoleGrantHierarchyByUserCollection<RoleGrant>
findRoleGrantsByGroup(Group grup)
Operation findRoleGrantsByGroupCollection<Group>
findRoleHoldersGroupsByRole(Role rol)
Operation findRoleHoldersGroupsByRoleCollection<String>
findRoleNames(String systemName)
Operation findRoleNamesCollection<Role>
findRolesByApplicationName(String codiAplicacio)
Operation findRolesByApplicationNameCollection<Role>
findRolesByApplicationNameUnrestricted(String codiAplicacio)
Operation findRolesByApplicationNameUnrestrictedCollection<Role>
findRolesByDomainNameAndApplicationName(String nomDomini, String codiAplicacio)
Operation findRolesByDomainNameAndApplicationNameCollection<Role>
findRolesByFilter(String nom, String descripcio, String defecte, String baseDeDades, String contrasenya, String codiAplicacio)
Operation findRolesByFilterCollection<Role>
findRolesByFilter(String nom, String descripcio, String defecte, String baseDeDades, String contrasenya, String codiAplicacio, String gestionableWF)
Operation findRolesByFilterCollection<Role>
findRolesByUserName(String codiUsuari)
Operation findRolesByUserNameCollection<ContainerRole>
findTextualInformationAndRolesHierachyByApplicationRoleAndDispatcher(String nomRole, String codiAplicacioRol, String codiDispatcher)
Operation findTextualInformationAndRolesHierachyByApplicationRoleAndDispatcherCollection<ContainerRole>
findTextualInformationAndUserRolesHierachyByUserName(String codiUsuari)
Operation findTextualInformationAndUserRolesHierachyByUserNameCollection<ContainerRole>
findTextualInformationAndUserRolesHierachyByUserName(String codiUsuari, String filtraResultats)
Operation findTextualInformationAndUserRolesHierachyByUserNameCollection<RoleAccount>
findUserRolesByInformationSystem(String informationSystem)
Operation findUserRolesByInformationSystemCollection<RoleAccount>
findUserRolesByRoleNameAndRoleApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher)
Operation findUserRolesByRoleNameAndRoleApplicationNameAndDispatcherNameCollection<RoleAccount>
findUserRolesByUserName(String codiUsuari)
Operation findUserRolesByUserNameCollection<RoleAccount>
findUserRolesByUserNameNoRules(String codiUsuari)
Operation findUserRolesByUserNameNoRulesCollection<RoleAccount>
findUserRolesByUserNameNoSoD(String codiUsuari)
Operation findUserRolesByUserNameNoSoDCollection<RoleAccount>
findUserRolesHistoryByUserName(String codiUsuari)
Operation findUserRolesHistoryByUserNameCollection<User>
findUsersByRoleNameAndRoleApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher)
Operation findUsersByRoleNameAndRoleApplicationNameAndDispatcherNameString
generateChangesReport(Role rol)
Operation generateChangesReport Generates a report to view the changes that a role change will generatString
generateChangesReport(Role rol, List<RoleAccount> grantsToAdd, List<RoleAccount> grantsToRemove)
Operation generateChangesReport Generates a report to view the changes that a role change will generatCollection<Application>
getApplications()
Operation getApplicationsCollection<Object>
getPendingAlerts(String codiAplicacio)
Operation getPendingAlertsCollection<Role>
getRoles()
Operation getRolesvoid
manageApplication(ApplicationAdministration administracioAplicacio)
Operation manageApplicationAsyncProcessTracker
removeRedundantRoles(String query)
Operation removeRedundantRolesvoid
removeSentAlerts(String codiAplicacio, Date dataDelete)
Operation removeSentAlertsvoid
revokeRolesHoldedOnGroup(long userId, long groupId)
Operation revokeRolesHoldedOnGroupvoid
synchronizeRole(Role rol)
Operation synchronizeRole Synchronize any user withvoid
update(Application aplicacio)
Operation updateApplicationAdministration
update(ApplicationAdministration administracioAplicacio)
Operation updateRole
update(Role rol)
Operation update Updates role, including grantee roles and groups, but not roles granted to this oneRoleAccount
update(RoleAccount rolsUsuaris)
Operation updateRoleGrant
update(RoleGrant grant)
Operation updateRole
update2(Role rol)
Operation update2 Updates role, including roles granted to this role, and role and group grantee
-
-
-
Field Detail
-
REMOTE_PATH
static final String REMOTE_PATH
- See Also:
- Constant Field Values
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
findRoleNames
Collection<String> findRoleNames(String systemName) throws InternalErrorException, Exception
Operation findRoleNames- Parameters:
systemName
-- Returns:
- Throws:
InternalErrorException
Exception
-
findApplicationByJsonQueryAsync
AsyncList<Application> findApplicationByJsonQueryAsync(String query) throws InternalErrorException, InternalErrorException
Operation findApplicationByJsonQueryAsync- Parameters:
query
-- Returns:
- Throws:
InternalErrorException
-
findApplicationByTextAndFilterAsync
AsyncList<Application> findApplicationByTextAndFilterAsync(String text, String filter) throws InternalErrorException
Operation findApplicationByTextAndFilterAsync- Parameters:
text
-filter
-- Returns:
- Throws:
InternalErrorException
-
findApplicationByTextAsync
AsyncList<Application> findApplicationByTextAsync(String text) throws InternalErrorException, InternalErrorException
Operation findApplicationByTextAsync- Parameters:
text
-- Returns:
- Throws:
InternalErrorException
-
findDomainValueByTextAsync
AsyncList<DomainValue> findDomainValueByTextAsync(Domain domain, String text) throws InternalErrorException, InternalErrorException
Operation findDomainValueByTextAsync- Parameters:
domain
-text
-- Returns:
- Throws:
InternalErrorException
-
findRedundantRoles
AsyncList<RoleAccount> findRedundantRoles(String query) throws InternalErrorException
Operation findRedundantRoles- Parameters:
query
-- Returns:
- Throws:
InternalErrorException
-
findRoleByJsonQueryAsync
AsyncList<Role> findRoleByJsonQueryAsync(String query) throws InternalErrorException, InternalErrorException
Operation findRoleByJsonQueryAsync- Parameters:
query
-- Returns:
- Throws:
InternalErrorException
-
findRoleByTextAndFilterAsync
AsyncList<Role> findRoleByTextAndFilterAsync(String text, String filter) throws InternalErrorException
Operation findRoleByTextAndFilterAsync- Parameters:
text
-filter
-- Returns:
- Throws:
InternalErrorException
-
findRoleByTextAsync
AsyncList<Role> findRoleByTextAsync(String text) throws InternalErrorException, InternalErrorException
Operation findRoleByTextAsync- Parameters:
text
-- Returns:
- Throws:
InternalErrorException
-
removeRedundantRoles
AsyncProcessTracker removeRedundantRoles(String query) throws InternalErrorException
Operation removeRedundantRoles- Parameters:
query
-- Returns:
- Throws:
InternalErrorException
-
findApplicationByJsonQuery
PagedResult<Application> findApplicationByJsonQuery(String query, Integer startIndex, Integer count) throws InternalErrorException, InternalErrorException
Operation findApplicationByJsonQuery- Parameters:
query
-startIndex
-count
-- Returns:
- Throws:
InternalErrorException
-
findApplicationByTextAndFilter
PagedResult<Application> findApplicationByTextAndFilter(String text, String filter, Integer first, Integer pageSize) throws InternalErrorException
Operation findApplicationByTextAndFilter- Parameters:
text
-filter
-first
-pageSize
-- Returns:
- Throws:
InternalErrorException
-
findRoleAccountByJsonQuery
PagedResult<RoleAccount> findRoleAccountByJsonQuery(String query, Integer startIndex, Integer count) throws InternalErrorException, InternalErrorException
Operation findRoleAccountByJsonQuery- Parameters:
query
-startIndex
-count
-- Returns:
- Throws:
InternalErrorException
-
findRoleByJsonQuery
PagedResult<Role> findRoleByJsonQuery(String query, Integer startIndex, Integer count) throws InternalErrorException, InternalErrorException
Operation findRoleByJsonQuery- Parameters:
query
-startIndex
-count
-- Returns:
- Throws:
InternalErrorException
-
findRoleByTextAndFilter
PagedResult<Role> findRoleByTextAndFilter(String text, String filter, Integer first, Integer pageSize) throws InternalErrorException
Operation findRoleByTextAndFilter- Parameters:
text
-filter
-first
-pageSize
-- Returns:
- Throws:
InternalErrorException
-
create
ApplicationAdministration create(ApplicationAdministration administracioAplicacio) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
administracioAplicacio
-- Returns:
- Throws:
InternalErrorException
-
update
ApplicationAdministration update(ApplicationAdministration administracioAplicacio) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
administracioAplicacio
-- Returns:
- Throws:
InternalErrorException
-
create
Application create(Application aplicacio) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
aplicacio
-- Returns:
- Throws:
InternalErrorException
-
findApplicationByApplicationName
Application findApplicationByApplicationName(String codiAplicacio) throws InternalErrorException, InternalErrorException
Operation findApplicationByApplicationName- Parameters:
codiAplicacio
-- Returns:
- Throws:
InternalErrorException
-
findApplicationByApplicationNameUnrestricted
Application findApplicationByApplicationNameUnrestricted(String codiAplicacio) throws InternalErrorException, InternalErrorException
Operation findApplicationByApplicationNameUnrestricted- Parameters:
codiAplicacio
-- Returns:
- Throws:
InternalErrorException
-
approveRoleDefinition
Role approveRoleDefinition(Role rol) throws InternalErrorException, InternalErrorException
Operation approveRoleDefinition Makes role dependencies persistent- Parameters:
rol
-- Returns:
- Throws:
InternalErrorException
-
create
Role create(Role rol) throws InternalErrorException, InternalErrorException
Operation create This method does NOT add grants made to the new role- Parameters:
rol
-- Returns:
- Throws:
InternalErrorException
-
create2
Role create2(Role rol) throws InternalErrorException, InternalErrorException
Operation create2 This method does add grants made to the new role- Parameters:
rol
-- Returns:
- Throws:
InternalErrorException
-
denyRoleDefinition
Role denyRoleDefinition(Role rol) throws InternalErrorException, InternalErrorException
Operation denyRoleDefinition Makes role dependencies persistent- Parameters:
rol
-- Returns:
- Throws:
InternalErrorException
-
findRoleById
Role findRoleById(Long rolId) throws InternalErrorException, InternalErrorException
Operation findRoleById- Parameters:
rolId
-- Returns:
- Throws:
InternalErrorException
-
findRoleByRoleNameAndApplicationNameAndDispatcherName
Role findRoleByRoleNameAndApplicationNameAndDispatcherName(String nomRol, String codiAplicacio, String codiDispatcher) throws InternalErrorException, InternalErrorException
Operation findRoleByRoleNameAndApplicationNameAndDispatcherName- Parameters:
nomRol
-codiAplicacio
-codiDispatcher
-- Returns:
- Throws:
InternalErrorException
-
findRoleByNameAndSystem
Role findRoleByNameAndSystem(String name, String system) throws InternalErrorException, InternalErrorException
Operation findRoleByNameAndSystem- Parameters:
name
-system
-- Returns:
- Throws:
InternalErrorException
-
findRoleByShortName
Role findRoleByShortName(String name) throws InternalErrorException, InternalErrorException
Operation findRoleByShortName- Parameters:
name
-- Returns:
- Throws:
InternalErrorException
-
update
Role update(Role rol) throws InternalErrorException, InternalErrorException
Operation update Updates role, including grantee roles and groups, but not roles granted to this one- Parameters:
rol
-- Returns:
- Throws:
InternalErrorException
-
update2
Role update2(Role rol) throws InternalErrorException, InternalErrorException
Operation update2 Updates role, including roles granted to this role, and role and group grantee- Parameters:
rol
-- Returns:
- Throws:
InternalErrorException
-
create
RoleAccount create(RoleAccount rolsUsuaris) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
rolsUsuaris
-- Returns:
- Throws:
InternalErrorException
-
enableOrDisableOnDates
RoleAccount enableOrDisableOnDates(RoleAccount rolsUsuaris) throws InternalErrorException, InternalErrorException
Operation enableOrDisableOnDates Enables or disable a rolAccount based on the start and end dates- Parameters:
rolsUsuaris
-- Returns:
- Throws:
InternalErrorException
-
findRoleAccountById
RoleAccount findRoleAccountById(long id) throws InternalErrorException
Operation findRoleAccountById- Parameters:
id
-- Returns:
- Throws:
InternalErrorException
-
update
RoleAccount update(RoleAccount rolsUsuaris) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
rolsUsuaris
-- Returns:
- Throws:
InternalErrorException
-
create
RoleGrant create(RoleGrant grant) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
grant
-- Returns:
- Throws:
InternalErrorException
-
update
RoleGrant update(RoleGrant grant) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
grant
-- Returns:
- Throws:
InternalErrorException
-
generateChangesReport
String generateChangesReport(Role rol) throws InternalErrorException, InternalErrorException
Operation generateChangesReport Generates a report to view the changes that a role change will generat- Parameters:
rol
-- Returns:
- Throws:
InternalErrorException
-
generateChangesReport
String generateChangesReport(Role rol, List<RoleAccount> grantsToAdd, List<RoleAccount> grantsToRemove) throws InternalErrorException, InternalErrorException
Operation generateChangesReport Generates a report to view the changes that a role change will generat- Parameters:
rol
-grantsToAdd
-grantsToRemove
-- Returns:
- Throws:
InternalErrorException
-
findNetworkACLRolesByRoleNameAndApplicationNameAndDispatcherName
Collection<NetworkAuthorization> findNetworkACLRolesByRoleNameAndApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) throws InternalErrorException, InternalErrorException
Operation findNetworkACLRolesByRoleNameAndApplicationNameAndDispatcherName- Parameters:
nomRole
-codiAplicacioRol
-codiDispatcher
-- Returns:
- Throws:
InternalErrorException
-
findApplicationManageByApplicationName
Collection<ApplicationAdministration> findApplicationManageByApplicationName(String codiAplicacio) throws InternalErrorException, InternalErrorException
Operation findApplicationManageByApplicationName- Parameters:
codiAplicacio
-- Returns:
- 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
Operation findApplicationByCriteria- Parameters:
codi
-nom
-directoriFonts
-responsable
-directoriExecutable
-bd
-rol
-gestionableWF
-- Returns:
- Throws:
InternalErrorException
-
findApplicationByCriteriaUnrestricted
Collection<Application> findApplicationByCriteriaUnrestricted(String codi, String nom, String directoriFonts, String responsable, String directoriExecutable, String bd, String rol, String gestionableWF) throws InternalErrorException, InternalErrorException
Operation findApplicationByCriteriaUnrestricted- Parameters:
codi
-nom
-directoriFonts
-responsable
-directoriExecutable
-bd
-rol
-gestionableWF
-- Returns:
- Throws:
InternalErrorException
-
findApplicationChildren
Collection<Application> findApplicationChildren(String applicationName) throws InternalErrorException, InternalErrorException
Operation findApplicationChildren- Parameters:
applicationName
-- Returns:
- Throws:
InternalErrorException
-
findApplicationManagementRoles
Collection<Role> findApplicationManagementRoles() throws InternalErrorException, InternalErrorException
Operation findApplicationManagementRoles Finds the managers with a set management role for an application- Returns:
- Throws:
InternalErrorException
-
findApplicationManagers
Collection<RoleAccount> findApplicationManagers(String informationSystem, String roleName) throws InternalErrorException, InternalErrorException
Operation findApplicationManagers Finds the management roles for any information system- Parameters:
informationSystem
-roleName
-- Returns:
- Throws:
InternalErrorException
-
findRoleAuthorizationsByRoleNameAndApplicationNameAndDispatcherName
Collection<AuthorizationRole> findRoleAuthorizationsByRoleNameAndApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) throws InternalErrorException, InternalErrorException
Operation findRoleAuthorizationsByRoleNameAndApplicationNameAndDispatcherName- Parameters:
nomRole
-codiAplicacioRol
-codiDispatcher
-- Returns:
- Throws:
InternalErrorException
-
findDomainValueByText
Collection<DomainValue> findDomainValueByText(Domain domain, String text) throws InternalErrorException, InternalErrorException
Operation findDomainValueByText- Parameters:
domain
-text
-- Returns:
- Throws:
InternalErrorException
-
findEffectiveRoleGrantByAccount
Collection<RoleGrant> findEffectiveRoleGrantByAccount(long accountId) throws InternalErrorException, InternalErrorException
Operation findEffectiveRoleGrantByAccount- Parameters:
accountId
-- Returns:
- Throws:
InternalErrorException
-
findEffectiveRoleGrantByUser
Collection<RoleGrant> findEffectiveRoleGrantByUser(long userId) throws InternalErrorException, InternalErrorException
Operation findEffectiveRoleGrantByUser- Parameters:
userId
-- Returns:
- Throws:
InternalErrorException
-
findEffectiveRoleGrantByUserAndHolderGroup
Collection<RoleGrant> findEffectiveRoleGrantByUserAndHolderGroup(long userId, long groupId) throws InternalErrorException, InternalErrorException
Operation findEffectiveRoleGrantByUserAndHolderGroup- Parameters:
userId
-groupId
-- Returns:
- Throws:
InternalErrorException
-
findEffectiveRoleGrantsByRoleId
Collection<RoleGrant> findEffectiveRoleGrantsByRoleId(Long rolId) throws InternalErrorException, InternalErrorException
Operation findEffectiveRoleGrantsByRoleId- Parameters:
rolId
-- Returns:
- Throws:
InternalErrorException
-
findEffectiveUserRolesByInformationSystem
Collection<RoleAccount> findEffectiveUserRolesByInformationSystem(String informationSystem) throws InternalErrorException, InternalErrorException
Operation findEffectiveUserRolesByInformationSystem- Parameters:
informationSystem
-- Returns:
- Throws:
InternalErrorException
-
findGroupManagementRoles
Collection<Role> findGroupManagementRoles() throws InternalErrorException, InternalErrorException
Operation findGroupManagementRoles Finds the managers with a set management role for a group- Returns:
- Throws:
InternalErrorException
-
findGroupManagers
Collection<RoleAccount> findGroupManagers(String group, String roleName) throws InternalErrorException, InternalErrorException
Operation findGroupManagers Finds the management roles for any group- Parameters:
group
-roleName
-- Returns:
- Throws:
InternalErrorException
-
findRoleHoldersGroupsByRole
Collection<Group> findRoleHoldersGroupsByRole(Role rol) throws InternalErrorException, InternalErrorException
Operation findRoleHoldersGroupsByRole- Parameters:
rol
-- Returns:
- Throws:
InternalErrorException
-
findTextualInformationAndRolesHierachyByApplicationRoleAndDispatcher
Collection<ContainerRole> findTextualInformationAndRolesHierachyByApplicationRoleAndDispatcher(String nomRole, String codiAplicacioRol, String codiDispatcher) throws InternalErrorException, InternalErrorException
Operation findTextualInformationAndRolesHierachyByApplicationRoleAndDispatcher- Parameters:
nomRole
-codiAplicacioRol
-codiDispatcher
-- Returns:
- Throws:
InternalErrorException
-
findTextualInformationAndUserRolesHierachyByUserName
Collection<ContainerRole> findTextualInformationAndUserRolesHierachyByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findTextualInformationAndUserRolesHierachyByUserName- Parameters:
codiUsuari
-- Returns:
- Throws:
InternalErrorException
-
findTextualInformationAndUserRolesHierachyByUserName
Collection<ContainerRole> findTextualInformationAndUserRolesHierachyByUserName(String codiUsuari, String filtraResultats) throws InternalErrorException, InternalErrorException
Operation findTextualInformationAndUserRolesHierachyByUserName- Parameters:
codiUsuari
-filtraResultats
-- Returns:
- Throws:
InternalErrorException
-
findApplicationAccessTreeRolesByRoleNameAndRoleApplicationNameAndDispatcherName
Collection<AccessTreeAuthorization> findApplicationAccessTreeRolesByRoleNameAndRoleApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) throws InternalErrorException, InternalErrorException
Operation findApplicationAccessTreeRolesByRoleNameAndRoleApplicationNameAndDispatcherName- Parameters:
nomRole
-codiAplicacioRol
-codiDispatcher
-- Returns:
- Throws:
InternalErrorException
-
findRoleAccountByAccount
Collection<RoleAccount> findRoleAccountByAccount(long accountId) throws InternalErrorException, InternalErrorException
Operation findRoleAccountByAccount- Parameters:
accountId
-- Returns:
- Throws:
InternalErrorException
-
findRoleGrantByAccount
Collection<RoleGrant> findRoleGrantByAccount(Long accountId) throws InternalErrorException, InternalErrorException
Operation findRoleGrantByAccount- Parameters:
accountId
-- Returns:
- Throws:
InternalErrorException
-
findRoleGrantByRole
Collection<RoleGrant> findRoleGrantByRole(Long rolId, Long numRegistres) throws InternalErrorException, InternalErrorException
Operation findRoleGrantByRole- Parameters:
rolId
-numRegistres
-- Returns:
- Throws:
InternalErrorException
-
findRoleAccountByAccountNoRule
Collection<RoleAccount> findRoleAccountByAccountNoRule(long accountId) throws InternalErrorException, InternalErrorException
Operation findRoleAccountByAccountNoRule- Parameters:
accountId
-- Returns:
- Throws:
InternalErrorException
-
findRoleGrantHierarchyByAccount
Collection<RoleGrantHierarchy> findRoleGrantHierarchyByAccount(long accountId) throws InternalErrorException, InternalErrorException
Operation findRoleGrantHierarchyByAccount- Parameters:
accountId
-- Returns:
- Throws:
InternalErrorException
-
findRoleGrantHierarchyByUser
Collection<RoleGrantHierarchy> findRoleGrantHierarchyByUser(long userId) throws InternalErrorException, InternalErrorException
Operation findRoleGrantHierarchyByUser- Parameters:
userId
-- Returns:
- Throws:
InternalErrorException
-
findRoleGrantsByGroup
Collection<RoleGrant> findRoleGrantsByGroup(Group grup) throws InternalErrorException, InternalErrorException
Operation findRoleGrantsByGroup- Parameters:
grup
-- Returns:
- Throws:
InternalErrorException
-
findRolesByApplicationName
Collection<Role> findRolesByApplicationName(String codiAplicacio) throws InternalErrorException, InternalErrorException
Operation findRolesByApplicationName- Parameters:
codiAplicacio
-- Returns:
- Throws:
InternalErrorException
-
findRolesByApplicationNameUnrestricted
Collection<Role> findRolesByApplicationNameUnrestricted(String codiAplicacio) throws InternalErrorException, InternalErrorException
Operation findRolesByApplicationNameUnrestricted- Parameters:
codiAplicacio
-- Returns:
- Throws:
InternalErrorException
-
findRolesByUserName
Collection<Role> findRolesByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findRolesByUserName- Parameters:
codiUsuari
-- Returns:
- Throws:
InternalErrorException
-
findRolesByFilter
Collection<Role> findRolesByFilter(String nom, String descripcio, String defecte, String baseDeDades, String contrasenya, String codiAplicacio) throws InternalErrorException, InternalErrorException
Operation findRolesByFilter- Parameters:
nom
-descripcio
-defecte
-baseDeDades
-contrasenya
-codiAplicacio
-- Returns:
- Throws:
InternalErrorException
-
findRolesByFilter
Collection<Role> findRolesByFilter(String nom, String descripcio, String defecte, String baseDeDades, String contrasenya, String codiAplicacio, String gestionableWF) throws InternalErrorException, InternalErrorException
Operation findRolesByFilter- Parameters:
nom
-descripcio
-defecte
-baseDeDades
-contrasenya
-codiAplicacio
-gestionableWF
-- Returns:
- Throws:
InternalErrorException
-
findRolesByDomainNameAndApplicationName
Collection<Role> findRolesByDomainNameAndApplicationName(String nomDomini, String codiAplicacio) throws InternalErrorException, InternalErrorException
Operation findRolesByDomainNameAndApplicationName- Parameters:
nomDomini
-codiAplicacio
-- Returns:
- Throws:
InternalErrorException
-
findGrantedRolesToGroupByGroup
Collection<Role> findGrantedRolesToGroupByGroup(Group grup) throws InternalErrorException, InternalErrorException
Operation findGrantedRolesToGroupByGroup- Parameters:
grup
-- Returns:
- Throws:
InternalErrorException
-
findUserRolesByRoleNameAndRoleApplicationNameAndDispatcherName
Collection<RoleAccount> findUserRolesByRoleNameAndRoleApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) throws InternalErrorException, InternalErrorException
Operation findUserRolesByRoleNameAndRoleApplicationNameAndDispatcherName- Parameters:
nomRole
-codiAplicacioRol
-codiDispatcher
-- Returns:
- Throws:
InternalErrorException
-
findUserRolesByUserName
Collection<RoleAccount> findUserRolesByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findUserRolesByUserName- Parameters:
codiUsuari
-- Returns:
- Throws:
InternalErrorException
-
findUserRolesHistoryByUserName
Collection<RoleAccount> findUserRolesHistoryByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findUserRolesHistoryByUserName- Parameters:
codiUsuari
-- Returns:
- Throws:
InternalErrorException
-
findUserRolesByUserNameNoSoD
Collection<RoleAccount> findUserRolesByUserNameNoSoD(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findUserRolesByUserNameNoSoD- Parameters:
codiUsuari
-- Returns:
- Throws:
InternalErrorException
-
findUserRolesByInformationSystem
Collection<RoleAccount> findUserRolesByInformationSystem(String informationSystem) throws InternalErrorException, InternalErrorException
Operation findUserRolesByInformationSystem- Parameters:
informationSystem
-- Returns:
- Throws:
InternalErrorException
-
findUserRolesByUserNameNoRules
Collection<RoleAccount> findUserRolesByUserNameNoRules(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findUserRolesByUserNameNoRules- Parameters:
codiUsuari
-- Returns:
- Throws:
InternalErrorException
-
findUsersByRoleNameAndRoleApplicationNameAndDispatcherName
Collection<User> findUsersByRoleNameAndRoleApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) throws InternalErrorException, InternalErrorException
Operation findUsersByRoleNameAndRoleApplicationNameAndDispatcherName- Parameters:
nomRole
-codiAplicacioRol
-codiDispatcher
-- Returns:
- Throws:
InternalErrorException
-
getApplications
Collection<Application> getApplications() throws InternalErrorException, InternalErrorException
Operation getApplications- Returns:
- Throws:
InternalErrorException
-
getPendingAlerts
Collection<Object> getPendingAlerts(String codiAplicacio) throws InternalErrorException, InternalErrorException
Operation getPendingAlerts- Parameters:
codiAplicacio
-- Returns:
- Throws:
InternalErrorException
-
getRoles
Collection<Role> getRoles() throws InternalErrorException, InternalErrorException
Operation getRoles- Returns:
- Throws:
InternalErrorException
-
findApplicationByJsonQuery
List<Application> findApplicationByJsonQuery(String query) throws InternalErrorException, InternalErrorException
Operation findApplicationByJsonQuery- Parameters:
query
-- Returns:
- Throws:
InternalErrorException
-
findApplicationByText
List<Application> findApplicationByText(String text) throws InternalErrorException, InternalErrorException
Operation findApplicationByText- Parameters:
text
-- Returns:
- Throws:
InternalErrorException
-
findApplicationByTextAndFilter
List<Application> findApplicationByTextAndFilter(String text, String filter) throws InternalErrorException
Operation findApplicationByTextAndFilter- Parameters:
text
-filter
-- Returns:
- Throws:
InternalErrorException
-
findRoleByJsonQuery
List<Role> findRoleByJsonQuery(String query) throws InternalErrorException, InternalErrorException
Operation findRoleByJsonQuery- Parameters:
query
-- Returns:
- Throws:
InternalErrorException
-
findRoleByText
List<Role> findRoleByText(String text) throws InternalErrorException, InternalErrorException
Operation findRoleByText- Parameters:
text
-- Returns:
- Throws:
InternalErrorException
-
findRoleByTextAndFilter
List<Role> findRoleByTextAndFilter(String text, String filter) throws InternalErrorException
Operation findRoleByTextAndFilter- Parameters:
text
-filter
-- Returns:
- Throws:
InternalErrorException
-
approveDelete
void approveDelete(RoleAccount rolsUsuaris) throws InternalErrorException, InternalErrorException
Operation approveDelete- Parameters:
rolsUsuaris
-- Throws:
InternalErrorException
-
manageApplication
void manageApplication(ApplicationAdministration administracioAplicacio) throws InternalErrorException, InternalErrorException
Operation manageApplication- Parameters:
administracioAplicacio
-- Throws:
InternalErrorException
-
delete
void delete(Application aplicacio) throws InternalErrorException, InternalErrorException
Operation delete- Parameters:
aplicacio
-- Throws:
InternalErrorException
-
delete
void delete(Role rol) throws InternalErrorException, InternalErrorException
Operation delete- Parameters:
rol
-- Throws:
InternalErrorException
-
delete
void delete(RoleAccount rolsUsuaris) throws InternalErrorException, InternalErrorException
Operation delete- Parameters:
rolsUsuaris
-- Throws:
InternalErrorException
-
delete
void delete(RoleGrant grant) throws InternalErrorException, InternalErrorException
Operation delete- Parameters:
grant
-- Throws:
InternalErrorException
-
deleteByRuleEvaluation
void deleteByRuleEvaluation(RoleAccount rolsUsuaris) throws InternalErrorException, InternalErrorException
Operation deleteByRuleEvaluation- Parameters:
rolsUsuaris
-- Throws:
InternalErrorException
-
removeSentAlerts
void removeSentAlerts(String codiAplicacio, Date dataDelete) throws InternalErrorException, InternalErrorException
Operation removeSentAlerts- Parameters:
codiAplicacio
-dataDelete
-- Throws:
InternalErrorException
-
denyApproval
void denyApproval(RoleAccount rolsUsuaris) throws InternalErrorException, InternalErrorException
Operation denyApproval- Parameters:
rolsUsuaris
-- Throws:
InternalErrorException
-
denyDelete
void denyDelete(RoleAccount rolsUsuaris) throws InternalErrorException, InternalErrorException
Operation denyDelete- Parameters:
rolsUsuaris
-- Throws:
InternalErrorException
-
enableOrDisableAllOnDates
void enableOrDisableAllOnDates() throws InternalErrorException, InternalErrorException
Operation enableOrDisableAllOnDates Enables or disable any rolAccount based on the start and end dates- Throws:
InternalErrorException
-
revokeRolesHoldedOnGroup
void revokeRolesHoldedOnGroup(long userId, long groupId) throws InternalErrorException
Operation revokeRolesHoldedOnGroup- Parameters:
userId
-groupId
-- Throws:
InternalErrorException
-
synchronizeRole
void synchronizeRole(Role rol) throws InternalErrorException, InternalErrorException
Operation synchronizeRole Synchronize any user with- Parameters:
rol
-- Throws:
InternalErrorException
-
update
void update(Application aplicacio) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
aplicacio
-- Throws:
InternalErrorException
-
-