Class ApplicationServiceBean

  • All Implemented Interfaces:
    com.soffid.iam.service.ejb.ApplicationService, Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean, org.springframework.ejb.support.SmartSessionBean

    public class ApplicationServiceBean
    extends org.springframework.ejb.support.AbstractStatelessSessionBean
    implements com.soffid.iam.service.ejb.ApplicationService
    See Also:
    com.soffid.iam.service.ApplicationService,, es.caib.seycon.ng.servei.AplicacioService,, Serialized Form
    • Constructor Detail

      • ApplicationServiceBean

        public ApplicationServiceBean()
    • Method Detail

      • findApplicationByJsonQueryAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.Application> findApplicationByJsonQueryAsync​(String query)
                                                                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationByJsonQueryAsync in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationByTextAndFilterAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.Application> findApplicationByTextAndFilterAsync​(String text,
                                                                                                                String filter)
                                                                                                         throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationByTextAndFilterAsync in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationByTextAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.Application> findApplicationByTextAsync​(String text)
                                                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationByTextAsync in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findDomainValueByTextAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.DomainValue> findDomainValueByTextAsync​(com.soffid.iam.api.Domain domain,
                                                                                                       String text)
                                                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findDomainValueByTextAsync in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRedundantRoles

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.RoleAccount> findRedundantRoles​(String query)
                                                                                        throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRedundantRoles in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleByJsonQueryAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.Role> findRoleByJsonQueryAsync​(String query)
                                                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleByJsonQueryAsync in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleByTextAndFilterAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.Role> findRoleByTextAndFilterAsync​(String text,
                                                                                                  String filter)
                                                                                           throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleByTextAndFilterAsync in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleByTextAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.Role> findRoleByTextAsync​(String text)
                                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleByTextAsync in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • removeRedundantRoles

        @PermitAll
        public com.soffid.iam.api.AsyncProcessTracker removeRedundantRoles​(String query)
                                                                    throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        removeRedundantRoles in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationByJsonQuery

        @PermitAll
        public com.soffid.iam.api.PagedResult<com.soffid.iam.api.Application> findApplicationByJsonQuery​(String query,
                                                                                                         Integer startIndex,
                                                                                                         Integer count)
                                                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationByJsonQuery in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationByTextAndFilter

        @PermitAll
        public com.soffid.iam.api.PagedResult<com.soffid.iam.api.Application> findApplicationByTextAndFilter​(String text,
                                                                                                             String filter,
                                                                                                             Integer first,
                                                                                                             Integer pageSize)
                                                                                                      throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationByTextAndFilter in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleAccountByJsonQuery

        @PermitAll
        public com.soffid.iam.api.PagedResult<com.soffid.iam.api.RoleAccount> findRoleAccountByJsonQuery​(String query,
                                                                                                         Integer startIndex,
                                                                                                         Integer count)
                                                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleAccountByJsonQuery in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleByJsonQuery

        @PermitAll
        public com.soffid.iam.api.PagedResult<com.soffid.iam.api.Role> findRoleByJsonQuery​(String query,
                                                                                           Integer startIndex,
                                                                                           Integer count)
                                                                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleByJsonQuery in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleByTextAndFilter

        @PermitAll
        public com.soffid.iam.api.PagedResult<com.soffid.iam.api.Role> findRoleByTextAndFilter​(String text,
                                                                                               String filter,
                                                                                               Integer first,
                                                                                               Integer pageSize)
                                                                                        throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleByTextAndFilter in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • create

        @PermitAll
        public com.soffid.iam.api.ApplicationAdministration create​(com.soffid.iam.api.ApplicationAdministration administracioAplicacio)
                                                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • update

        @PermitAll
        public com.soffid.iam.api.ApplicationAdministration update​(com.soffid.iam.api.ApplicationAdministration administracioAplicacio)
                                                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        update in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • create

        @PermitAll
        public com.soffid.iam.api.Application create​(com.soffid.iam.api.Application aplicacio)
                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationByApplicationName

        @PermitAll
        public com.soffid.iam.api.Application findApplicationByApplicationName​(String codiAplicacio)
                                                                        throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationByApplicationName in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationByApplicationNameUnrestricted

        @PermitAll
        public com.soffid.iam.api.Application findApplicationByApplicationNameUnrestricted​(String codiAplicacio)
                                                                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationByApplicationNameUnrestricted in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • approveRoleDefinition

        @PermitAll
        public com.soffid.iam.api.Role approveRoleDefinition​(com.soffid.iam.api.Role rol)
                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        approveRoleDefinition in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • create

        @PermitAll
        public com.soffid.iam.api.Role create​(com.soffid.iam.api.Role rol)
                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • create2

        @PermitAll
        public com.soffid.iam.api.Role create2​(com.soffid.iam.api.Role rol)
                                        throws es.caib.seycon.ng.exception.InternalErrorException,
                                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create2 in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • denyRoleDefinition

        @PermitAll
        public com.soffid.iam.api.Role denyRoleDefinition​(com.soffid.iam.api.Role rol)
                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        denyRoleDefinition in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleById

        @PermitAll
        public com.soffid.iam.api.Role findRoleById​(Long rolId)
                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleById in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleByRoleNameAndApplicationNameAndDispatcherName

        @PermitAll
        public com.soffid.iam.api.Role findRoleByRoleNameAndApplicationNameAndDispatcherName​(String nomRol,
                                                                                             String codiAplicacio,
                                                                                             String codiDispatcher)
                                                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleByRoleNameAndApplicationNameAndDispatcherName in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleByNameAndSystem

        @PermitAll
        public com.soffid.iam.api.Role findRoleByNameAndSystem​(String name,
                                                               String system)
                                                        throws es.caib.seycon.ng.exception.InternalErrorException,
                                                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleByNameAndSystem in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleByShortName

        @PermitAll
        public com.soffid.iam.api.Role findRoleByShortName​(String name)
                                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleByShortName in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • update

        @PermitAll
        public com.soffid.iam.api.Role update​(com.soffid.iam.api.Role rol)
                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        update in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • update2

        @PermitAll
        public com.soffid.iam.api.Role update2​(com.soffid.iam.api.Role rol)
                                        throws es.caib.seycon.ng.exception.InternalErrorException,
                                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        update2 in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • create

        @PermitAll
        public com.soffid.iam.api.RoleAccount create​(com.soffid.iam.api.RoleAccount rolsUsuaris)
                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • create

        @PermitAll
        public com.soffid.iam.api.RoleGrant create​(com.soffid.iam.api.RoleGrant grant)
                                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • update

        @PermitAll
        public com.soffid.iam.api.RoleGrant update​(com.soffid.iam.api.RoleGrant grant)
                                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        update in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • generateChangesReport

        @PermitAll
        public String generateChangesReport​(com.soffid.iam.api.Role rol)
                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        generateChangesReport in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • generateChangesReport

        @PermitAll
        public String generateChangesReport​(com.soffid.iam.api.Role rol,
                                            List<com.soffid.iam.api.RoleAccount> grantsToAdd,
                                            List<com.soffid.iam.api.RoleAccount> grantsToRemove)
                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        generateChangesReport in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findNetworkACLRolesByRoleNameAndApplicationNameAndDispatcherName

        @PermitAll
        public Collection<com.soffid.iam.api.NetworkAuthorization> findNetworkACLRolesByRoleNameAndApplicationNameAndDispatcherName​(String nomRole,
                                                                                                                                    String codiAplicacioRol,
                                                                                                                                    String codiDispatcher)
                                                                                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findNetworkACLRolesByRoleNameAndApplicationNameAndDispatcherName in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationManageByApplicationName

        @PermitAll
        public Collection<com.soffid.iam.api.ApplicationAdministration> findApplicationManageByApplicationName​(String codiAplicacio)
                                                                                                        throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationManageByApplicationName in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationByCriteria

        @PermitAll
        public Collection<com.soffid.iam.api.Application> findApplicationByCriteria​(String codi,
                                                                                    String nom,
                                                                                    String directoriFonts,
                                                                                    String responsable,
                                                                                    String directoriExecutable,
                                                                                    String bd,
                                                                                    String rol,
                                                                                    String gestionableWF)
                                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationByCriteria in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationChildren

        @PermitAll
        public Collection<com.soffid.iam.api.Application> findApplicationChildren​(String applicationName)
                                                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationChildren in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationManagementRoles

        @PermitAll
        public Collection<com.soffid.iam.api.Role> findApplicationManagementRoles()
                                                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationManagementRoles in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationManagers

        @PermitAll
        public Collection<com.soffid.iam.api.RoleAccount> findApplicationManagers​(String informationSystem,
                                                                                  String roleName)
                                                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationManagers in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleAuthorizationsByRoleNameAndApplicationNameAndDispatcherName

        @PermitAll
        public Collection<com.soffid.iam.api.AuthorizationRole> findRoleAuthorizationsByRoleNameAndApplicationNameAndDispatcherName​(String nomRole,
                                                                                                                                    String codiAplicacioRol,
                                                                                                                                    String codiDispatcher)
                                                                                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleAuthorizationsByRoleNameAndApplicationNameAndDispatcherName in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findDomainValueByText

        @PermitAll
        public Collection<com.soffid.iam.api.DomainValue> findDomainValueByText​(com.soffid.iam.api.Domain domain,
                                                                                String text)
                                                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findDomainValueByText in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findEffectiveRoleGrantByAccount

        @PermitAll
        public Collection<com.soffid.iam.api.RoleGrant> findEffectiveRoleGrantByAccount​(long accountId)
                                                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findEffectiveRoleGrantByAccount in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findEffectiveRoleGrantByUser

        @PermitAll
        public Collection<com.soffid.iam.api.RoleGrant> findEffectiveRoleGrantByUser​(long userId)
                                                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findEffectiveRoleGrantByUser in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findEffectiveRoleGrantByUserAndHolderGroup

        @PermitAll
        public Collection<com.soffid.iam.api.RoleGrant> findEffectiveRoleGrantByUserAndHolderGroup​(long userId,
                                                                                                   long groupId)
                                                                                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findEffectiveRoleGrantByUserAndHolderGroup in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findEffectiveUserRolesByInformationSystem

        @PermitAll
        public Collection<com.soffid.iam.api.RoleAccount> findEffectiveUserRolesByInformationSystem​(String informationSystem)
                                                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findEffectiveUserRolesByInformationSystem in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findGroupManagementRoles

        @PermitAll
        public Collection<com.soffid.iam.api.Role> findGroupManagementRoles()
                                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findGroupManagementRoles in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findGroupManagers

        @PermitAll
        public Collection<com.soffid.iam.api.RoleAccount> findGroupManagers​(String group,
                                                                            String roleName)
                                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findGroupManagers in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleHoldersGroupsByRole

        @PermitAll
        public Collection<com.soffid.iam.api.Group> findRoleHoldersGroupsByRole​(com.soffid.iam.api.Role rol)
                                                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleHoldersGroupsByRole in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findTextualInformationAndRolesHierachyByApplicationRoleAndDispatcher

        @PermitAll
        public Collection<com.soffid.iam.api.ContainerRole> findTextualInformationAndRolesHierachyByApplicationRoleAndDispatcher​(String nomRole,
                                                                                                                                 String codiAplicacioRol,
                                                                                                                                 String codiDispatcher)
                                                                                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findTextualInformationAndRolesHierachyByApplicationRoleAndDispatcher in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findTextualInformationAndUserRolesHierachyByUserName

        @PermitAll
        public Collection<com.soffid.iam.api.ContainerRole> findTextualInformationAndUserRolesHierachyByUserName​(String codiUsuari)
                                                                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findTextualInformationAndUserRolesHierachyByUserName in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findTextualInformationAndUserRolesHierachyByUserName

        @PermitAll
        public Collection<com.soffid.iam.api.ContainerRole> findTextualInformationAndUserRolesHierachyByUserName​(String codiUsuari,
                                                                                                                 String filtraResultats)
                                                                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findTextualInformationAndUserRolesHierachyByUserName in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationAccessTreeRolesByRoleNameAndRoleApplicationNameAndDispatcherName

        @PermitAll
        public Collection<com.soffid.iam.api.AccessTreeAuthorization> findApplicationAccessTreeRolesByRoleNameAndRoleApplicationNameAndDispatcherName​(String nomRole,
                                                                                                                                                      String codiAplicacioRol,
                                                                                                                                                      String codiDispatcher)
                                                                                                                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationAccessTreeRolesByRoleNameAndRoleApplicationNameAndDispatcherName in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleAccountByAccount

        @PermitAll
        public Collection<com.soffid.iam.api.RoleAccount> findRoleAccountByAccount​(long accountId)
                                                                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleAccountByAccount in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleGrantByAccount

        @PermitAll
        public Collection<com.soffid.iam.api.RoleGrant> findRoleGrantByAccount​(Long accountId)
                                                                        throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleGrantByAccount in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleGrantByRole

        @PermitAll
        public Collection<com.soffid.iam.api.RoleGrant> findRoleGrantByRole​(Long rolId,
                                                                            Long numRegistres)
                                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleGrantByRole in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleAccountByAccountNoRule

        @PermitAll
        public Collection<com.soffid.iam.api.RoleAccount> findRoleAccountByAccountNoRule​(long accountId)
                                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleAccountByAccountNoRule in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleGrantHierarchyByAccount

        @PermitAll
        public Collection<com.soffid.iam.api.RoleGrantHierarchy> findRoleGrantHierarchyByAccount​(long accountId)
                                                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleGrantHierarchyByAccount in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleGrantHierarchyByUser

        @PermitAll
        public Collection<com.soffid.iam.api.RoleGrantHierarchy> findRoleGrantHierarchyByUser​(long userId)
                                                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleGrantHierarchyByUser in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleGrantsByGroup

        @PermitAll
        public Collection<com.soffid.iam.api.RoleGrant> findRoleGrantsByGroup​(com.soffid.iam.api.Group grup)
                                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleGrantsByGroup in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRolesByApplicationName

        @PermitAll
        public Collection<com.soffid.iam.api.Role> findRolesByApplicationName​(String codiAplicacio)
                                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolesByApplicationName in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRolesByApplicationNameUnrestricted

        @PermitAll
        public Collection<com.soffid.iam.api.Role> findRolesByApplicationNameUnrestricted​(String codiAplicacio)
                                                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolesByApplicationNameUnrestricted in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRolesByUserName

        @PermitAll
        public Collection<com.soffid.iam.api.Role> findRolesByUserName​(String codiUsuari)
                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolesByUserName in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRolesByFilter

        @PermitAll
        public Collection<com.soffid.iam.api.Role> findRolesByFilter​(String nom,
                                                                     String descripcio,
                                                                     String defecte,
                                                                     String baseDeDades,
                                                                     String contrasenya,
                                                                     String codiAplicacio)
                                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolesByFilter in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRolesByFilter

        @PermitAll
        public Collection<com.soffid.iam.api.Role> findRolesByFilter​(String nom,
                                                                     String descripcio,
                                                                     String defecte,
                                                                     String baseDeDades,
                                                                     String contrasenya,
                                                                     String codiAplicacio,
                                                                     String gestionableWF)
                                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolesByFilter in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRolesByDomainNameAndApplicationName

        @PermitAll
        public Collection<com.soffid.iam.api.Role> findRolesByDomainNameAndApplicationName​(String nomDomini,
                                                                                           String codiAplicacio)
                                                                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolesByDomainNameAndApplicationName in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findGrantedRolesToGroupByGroup

        @PermitAll
        public Collection<com.soffid.iam.api.Role> findGrantedRolesToGroupByGroup​(com.soffid.iam.api.Group grup)
                                                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findGrantedRolesToGroupByGroup in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findUserRolesByRoleNameAndRoleApplicationNameAndDispatcherName

        @PermitAll
        public Collection<com.soffid.iam.api.RoleAccount> findUserRolesByRoleNameAndRoleApplicationNameAndDispatcherName​(String nomRole,
                                                                                                                         String codiAplicacioRol,
                                                                                                                         String codiDispatcher)
                                                                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findUserRolesByRoleNameAndRoleApplicationNameAndDispatcherName in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findUserRolesByUserName

        @PermitAll
        public Collection<com.soffid.iam.api.RoleAccount> findUserRolesByUserName​(String codiUsuari)
                                                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findUserRolesByUserName in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findUserRolesHistoryByUserName

        @PermitAll
        public Collection<com.soffid.iam.api.RoleAccount> findUserRolesHistoryByUserName​(String codiUsuari)
                                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findUserRolesHistoryByUserName in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findUserRolesByUserNameNoSoD

        @PermitAll
        public Collection<com.soffid.iam.api.RoleAccount> findUserRolesByUserNameNoSoD​(String codiUsuari)
                                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findUserRolesByUserNameNoSoD in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findUserRolesByInformationSystem

        @PermitAll
        public Collection<com.soffid.iam.api.RoleAccount> findUserRolesByInformationSystem​(String informationSystem)
                                                                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findUserRolesByInformationSystem in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findUserRolesByUserNameNoRules

        @PermitAll
        public Collection<com.soffid.iam.api.RoleAccount> findUserRolesByUserNameNoRules​(String codiUsuari)
                                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findUserRolesByUserNameNoRules in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findUsersByRoleNameAndRoleApplicationNameAndDispatcherName

        @PermitAll
        public Collection<com.soffid.iam.api.User> findUsersByRoleNameAndRoleApplicationNameAndDispatcherName​(String nomRole,
                                                                                                              String codiAplicacioRol,
                                                                                                              String codiDispatcher)
                                                                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findUsersByRoleNameAndRoleApplicationNameAndDispatcherName in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getApplications

        @PermitAll
        public Collection<com.soffid.iam.api.Application> getApplications()
                                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getApplications in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getRoles

        @PermitAll
        public Collection<com.soffid.iam.api.Role> getRoles()
                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getRoles in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationByJsonQuery

        @PermitAll
        public List<com.soffid.iam.api.Application> findApplicationByJsonQuery​(String query)
                                                                        throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationByJsonQuery in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationByText

        @PermitAll
        public List<com.soffid.iam.api.Application> findApplicationByText​(String text)
                                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationByText in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationByTextAndFilter

        @PermitAll
        public List<com.soffid.iam.api.Application> findApplicationByTextAndFilter​(String text,
                                                                                   String filter)
                                                                            throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationByTextAndFilter in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleByJsonQuery

        @PermitAll
        public List<com.soffid.iam.api.Role> findRoleByJsonQuery​(String query)
                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleByJsonQuery in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleByText

        @PermitAll
        public List<com.soffid.iam.api.Role> findRoleByText​(String text)
                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleByText in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleByTextAndFilter

        @PermitAll
        public List<com.soffid.iam.api.Role> findRoleByTextAndFilter​(String text,
                                                                     String filter)
                                                              throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleByTextAndFilter in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • manageApplication

        @PermitAll
        public void manageApplication​(com.soffid.iam.api.ApplicationAdministration administracioAplicacio)
                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        manageApplication in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • delete

        @PermitAll
        public void delete​(com.soffid.iam.api.Application aplicacio)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • delete

        @PermitAll
        public void delete​(com.soffid.iam.api.Role rol)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • delete

        @PermitAll
        public void delete​(com.soffid.iam.api.RoleAccount rolsUsuaris)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • delete

        @PermitAll
        public void delete​(com.soffid.iam.api.RoleGrant grant)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • synchronizeRole

        @PermitAll
        public void synchronizeRole​(com.soffid.iam.api.Role rol)
                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        synchronizeRole in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • update

        @PermitAll
        public void update​(com.soffid.iam.api.Application aplicacio)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        update in interface com.soffid.iam.service.ejb.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • ejbCreate

        @PostConstruct
        public void ejbCreate()
                       throws javax.ejb.CreateException
        Initizlizes been
        Overrides:
        ejbCreate in class org.springframework.ejb.support.AbstractStatelessSessionBean
        Throws:
        javax.ejb.CreateException
        See Also:
        AbstractStatelessSessionBean.onEjbCreate()
      • onEjbCreate

        protected void onEjbCreate()
        Specified by:
        onEjbCreate in class org.springframework.ejb.support.AbstractStatelessSessionBean
      • setSessionContext

        public void setSessionContext​(javax.ejb.SessionContext sessionContext)
        Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.
        Specified by:
        setSessionContext in interface javax.ejb.SessionBean
        See Also:
        SessionBean.setSessionContext(javax.ejb.SessionContext)
      • getSessionContext

        public final javax.ejb.SessionContext getSessionContext()
        Specified by:
        getSessionContext in interface org.springframework.ejb.support.SmartSessionBean
      • setBeanFactoryLocator

        public void setBeanFactoryLocator​(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
      • setBeanFactoryLocatorKey

        public void setBeanFactoryLocatorKey​(String arg0)
      • getBeanFactory

        protected org.springframework.beans.factory.BeanFactory getBeanFactory()
      • ejbRemove

        public void ejbRemove()
      • onEjbRemove

        protected void onEjbRemove()