Class ApplicationServiceBase

  • All Implemented Interfaces:
    com.soffid.iam.service.ApplicationService
    Direct Known Subclasses:
    ApplicationServiceImpl

    public abstract class ApplicationServiceBase
    extends Object
    implements com.soffid.iam.service.ApplicationService

    Spring Service base class for com.soffid.iam.service.ApplicationService, provides access to all services and entities referenced by this service.

    see com.soffid.iam.service.ApplicationService
    • Constructor Detail

      • ApplicationServiceBase

        public ApplicationServiceBase()
    • Method Detail

      • setAccountEntityDao

        public void setAccountEntityDao​(AccountEntityDao accountEntityDao)
        Sets reference to accountEntityDao.
      • getAccountEntityDao

        public AccountEntityDao getAccountEntityDao()
        Gets reference to accountEntityDao.
      • setAccountService

        public void setAccountService​(com.soffid.iam.service.AccountService accountService)
        Sets reference to accountService.
      • getAccountService

        public com.soffid.iam.service.AccountService getAccountService()
        Gets reference to accountService.
      • setInformationSystemEntityDao

        public void setInformationSystemEntityDao​(InformationSystemEntityDao aplicacioEntityDao)
        Sets reference to aplicacioEntityDao.
      • getInformationSystemEntityDao

        public InformationSystemEntityDao getInformationSystemEntityDao()
        Gets reference to aplicacioEntityDao.
      • setApplicationAttributeEntityDao

        public void setApplicationAttributeEntityDao​(ApplicationAttributeEntityDao applicationAttributeEntityDao)
        Sets reference to applicationAttributeEntityDao.
      • getApplicationAttributeEntityDao

        public ApplicationAttributeEntityDao getApplicationAttributeEntityDao()
        Gets reference to applicationAttributeEntityDao.
      • setAsyncRunnerService

        public void setAsyncRunnerService​(com.soffid.iam.service.AsyncRunnerService asyncRunnerService)
        Sets reference to asyncRunnerService.
      • getAsyncRunnerService

        public com.soffid.iam.service.AsyncRunnerService getAsyncRunnerService()
        Gets reference to asyncRunnerService.
      • setAttributeValidationService

        public void setAttributeValidationService​(AttributeValidationService attributeValidationService)
        Sets reference to attributeValidationService.
      • getAttributeValidationService

        public AttributeValidationService getAttributeValidationService()
        Gets reference to attributeValidationService.
      • setEntryPointRoleEntityDao

        public void setEntryPointRoleEntityDao​(EntryPointRoleEntityDao autoritzacioPUERolEntityDao)
        Sets reference to autoritzacioPUERolEntityDao.
      • getEntryPointRoleEntityDao

        public EntryPointRoleEntityDao getEntryPointRoleEntityDao()
        Gets reference to autoritzacioPUERolEntityDao.
      • setAuthorizationEntityDao

        public void setAuthorizationEntityDao​(AuthorizationEntityDao autoritzacioRolEntityDao)
        Sets reference to autoritzacioRolEntityDao.
      • getAuthorizationEntityDao

        public AuthorizationEntityDao getAuthorizationEntityDao()
        Gets reference to autoritzacioRolEntityDao.
      • setAuthorizationService

        public void setAuthorizationService​(com.soffid.iam.service.AuthorizationService autoritzacioService)
        Sets reference to autoritzacioService.
      • getAuthorizationService

        public com.soffid.iam.service.AuthorizationService getAuthorizationService()
        Gets reference to autoritzacioService.
      • setBpmEngine

        public void setBpmEngine​(com.soffid.iam.bpm.service.BpmEngine bpmEngine)
        Sets reference to bpmEngine.
      • getBpmEngine

        public com.soffid.iam.bpm.service.BpmEngine getBpmEngine()
        Gets reference to bpmEngine.
      • setSystemEntityDao

        public void setSystemEntityDao​(SystemEntityDao dispatcherEntityDao)
        Sets reference to dispatcherEntityDao.
      • getSystemEntityDao

        public SystemEntityDao getSystemEntityDao()
        Gets reference to dispatcherEntityDao.
      • setEntitlementDelegationService

        public void setEntitlementDelegationService​(com.soffid.iam.service.EntitlementDelegationService entitlementDelegationService)
        Sets reference to entitlementDelegationService.
      • getEntitlementDelegationService

        public com.soffid.iam.service.EntitlementDelegationService getEntitlementDelegationService()
        Gets reference to entitlementDelegationService.
      • setGroupEntityDao

        public void setGroupEntityDao​(GroupEntityDao grupEntityDao)
        Sets reference to grupEntityDao.
      • getGroupEntityDao

        public GroupEntityDao getGroupEntityDao()
        Gets reference to grupEntityDao.
      • setGroupService

        public void setGroupService​(com.soffid.iam.service.GroupService grupService)
        Sets reference to grupService.
      • getGroupService

        public com.soffid.iam.service.GroupService getGroupService()
        Gets reference to grupService.
      • setIssueEntityDao

        public void setIssueEntityDao​(IssueEntityDao issueEntityDao)
        Sets reference to issueEntityDao.
      • getIssueEntityDao

        public IssueEntityDao getIssueEntityDao()
        Gets reference to issueEntityDao.
      • setIssueService

        public void setIssueService​(com.soffid.iam.service.IssueService issueService)
        Sets reference to issueService.
      • getIssueService

        public com.soffid.iam.service.IssueService getIssueService()
        Gets reference to issueService.
      • setNoticeEntityDao

        public void setNoticeEntityDao​(NoticeEntityDao notificacioEntityDao)
        Sets reference to notificacioEntityDao.
      • getNoticeEntityDao

        public NoticeEntityDao getNoticeEntityDao()
        Gets reference to notificacioEntityDao.
      • setRoleAccountEntityDao

        public void setRoleAccountEntityDao​(RoleAccountEntityDao rolAccountEntityDao)
        Sets reference to rolAccountEntityDao.
      • getRoleAccountEntityDao

        public RoleAccountEntityDao getRoleAccountEntityDao()
        Gets reference to rolAccountEntityDao.
      • setRoleDependencyEntityDao

        public void setRoleDependencyEntityDao​(RoleDependencyEntityDao rolAssociacioRolEntityDao)
        Sets reference to rolAssociacioRolEntityDao.
      • getRoleDependencyEntityDao

        public RoleDependencyEntityDao getRoleDependencyEntityDao()
        Gets reference to rolAssociacioRolEntityDao.
      • setRoleEntityDao

        public void setRoleEntityDao​(RoleEntityDao rolEntityDao)
        Sets reference to rolEntityDao.
      • getRoleEntityDao

        public RoleEntityDao getRoleEntityDao()
        Gets reference to rolEntityDao.
      • setRoleAttributeEntityDao

        public void setRoleAttributeEntityDao​(RoleAttributeEntityDao roleAttributeEntityDao)
        Sets reference to roleAttributeEntityDao.
      • getRoleAttributeEntityDao

        public RoleAttributeEntityDao getRoleAttributeEntityDao()
        Gets reference to roleAttributeEntityDao.
      • setRoleGroupEntityDao

        public void setRoleGroupEntityDao​(RoleGroupEntityDao rolsGrupEntityDao)
        Sets reference to rolsGrupEntityDao.
      • getRoleGroupEntityDao

        public RoleGroupEntityDao getRoleGroupEntityDao()
        Gets reference to rolsGrupEntityDao.
      • setRuleEvaluatorService

        public void setRuleEvaluatorService​(RuleEvaluatorService ruleEvaluatorService)
        Sets reference to ruleEvaluatorService.
      • getRuleEvaluatorService

        public RuleEvaluatorService getRuleEvaluatorService()
        Gets reference to ruleEvaluatorService.
      • setSoDRuleService

        public void setSoDRuleService​(com.soffid.iam.service.SoDRuleService soDRuleService)
        Sets reference to soDRuleService.
      • getSoDRuleService

        public com.soffid.iam.service.SoDRuleService getSoDRuleService()
        Gets reference to soDRuleService.
      • setTaskEntityDao

        public void setTaskEntityDao​(TaskEntityDao tasqueEntityDao)
        Sets reference to tasqueEntityDao.
      • getTaskEntityDao

        public TaskEntityDao getTaskEntityDao()
        Gets reference to tasqueEntityDao.
      • setMetaDataEntityDao

        public void setMetaDataEntityDao​(MetaDataEntityDao tipusDadaEntityDao)
        Sets reference to tipusDadaEntityDao.
      • getMetaDataEntityDao

        public MetaDataEntityDao getMetaDataEntityDao()
        Gets reference to tipusDadaEntityDao.
      • setUserAccountEntityDao

        public void setUserAccountEntityDao​(UserAccountEntityDao userAccountEntityDao)
        Sets reference to userAccountEntityDao.
      • getUserAccountEntityDao

        public UserAccountEntityDao getUserAccountEntityDao()
        Gets reference to userAccountEntityDao.
      • setUserEntityDao

        public void setUserEntityDao​(UserEntityDao usuariEntityDao)
        Sets reference to usuariEntityDao.
      • getUserEntityDao

        public UserEntityDao getUserEntityDao()
        Gets reference to usuariEntityDao.
      • setUserService

        public void setUserService​(com.soffid.iam.service.UserService usuariService)
        Sets reference to usuariService.
      • getUserService

        public com.soffid.iam.service.UserService getUserService()
        Gets reference to usuariService.
      • setDomainValueEntityDao

        public void setDomainValueEntityDao​(DomainValueEntityDao valorDominiAplicacioEntityDao)
        Sets reference to valorDominiAplicacioEntityDao.
      • getDomainValueEntityDao

        public DomainValueEntityDao getDomainValueEntityDao()
        Gets reference to valorDominiAplicacioEntityDao.
      • setNetworkAuthorizationEntityDao

        public void setNetworkAuthorizationEntityDao​(NetworkAuthorizationEntityDao xarxaACEntityDao)
        Sets reference to xarxaACEntityDao.
      • findRoleNames

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       readOnly=true)
        public Collection<String> findRoleNames​(String systemName)
                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                Exception
        Specified by:
        findRoleNames in interface com.soffid.iam.service.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        Exception
      • findApplicationByJsonQueryAsync

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationByJsonQueryAsync

        protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.Application> handleFindApplicationByJsonQueryAsync​(String query)
                                                                                                                       throws Exception
        Throws:
        Exception
      • findApplicationByTextAndFilterAsync

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationByTextAndFilterAsync

        protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.Application> handleFindApplicationByTextAndFilterAsync​(String text,
                                                                                                                                  String filter)
                                                                                                                           throws Exception
        Throws:
        Exception
      • findApplicationByTextAsync

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationByTextAsync

        protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.Application> handleFindApplicationByTextAsync​(String text)
                                                                                                                  throws Exception
        Throws:
        Exception
      • findDomainValueByTextAsync

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindDomainValueByTextAsync

        protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.DomainValue> handleFindDomainValueByTextAsync​(com.soffid.iam.api.Domain domain,
                                                                                                                         String text)
                                                                                                                  throws Exception
        Throws:
        Exception
      • findRedundantRoles

        @Transactional(rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRedundantRoles

        protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.RoleAccount> handleFindRedundantRoles​(String query)
                                                                                                          throws Exception
        Throws:
        Exception
      • findRoleByJsonQueryAsync

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleByJsonQueryAsync

        protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.Role> handleFindRoleByJsonQueryAsync​(String query)
                                                                                                         throws Exception
        Throws:
        Exception
      • findRoleByTextAndFilterAsync

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleByTextAndFilterAsync

        protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.Role> handleFindRoleByTextAndFilterAsync​(String text,
                                                                                                                    String filter)
                                                                                                             throws Exception
        Throws:
        Exception
      • findRoleByTextAsync

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleByTextAsync

        protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.Role> handleFindRoleByTextAsync​(String text)
                                                                                                    throws Exception
        Throws:
        Exception
      • removeRedundantRoles

        @Transactional(rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleRemoveRedundantRoles

        protected abstract com.soffid.iam.api.AsyncProcessTracker handleRemoveRedundantRoles​(String query)
                                                                                      throws Exception
        Throws:
        Exception
      • findApplicationByJsonQuery

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationByJsonQuery

        protected abstract com.soffid.iam.api.PagedResult<com.soffid.iam.api.Application> handleFindApplicationByJsonQuery​(String query,
                                                                                                                           Integer startIndex,
                                                                                                                           Integer count)
                                                                                                                    throws Exception
        Throws:
        Exception
      • findApplicationByTextAndFilter

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationByTextAndFilter

        protected abstract com.soffid.iam.api.PagedResult<com.soffid.iam.api.Application> handleFindApplicationByTextAndFilter​(String text,
                                                                                                                               String filter,
                                                                                                                               Integer first,
                                                                                                                               Integer pageSize)
                                                                                                                        throws Exception
        Throws:
        Exception
      • findRoleAccountByJsonQuery

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleAccountByJsonQuery

        protected abstract com.soffid.iam.api.PagedResult<com.soffid.iam.api.RoleAccount> handleFindRoleAccountByJsonQuery​(String query,
                                                                                                                           Integer startIndex,
                                                                                                                           Integer count)
                                                                                                                    throws Exception
        Throws:
        Exception
      • findRoleByJsonQuery

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleByJsonQuery

        protected abstract com.soffid.iam.api.PagedResult<com.soffid.iam.api.Role> handleFindRoleByJsonQuery​(String query,
                                                                                                             Integer startIndex,
                                                                                                             Integer count)
                                                                                                      throws Exception
        Throws:
        Exception
      • findRoleByTextAndFilter

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleByTextAndFilter

        protected abstract com.soffid.iam.api.PagedResult<com.soffid.iam.api.Role> handleFindRoleByTextAndFilter​(String text,
                                                                                                                 String filter,
                                                                                                                 Integer first,
                                                                                                                 Integer pageSize)
                                                                                                          throws Exception
        Throws:
        Exception
      • create

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreate

        protected abstract com.soffid.iam.api.ApplicationAdministration handleCreate​(com.soffid.iam.api.ApplicationAdministration administracioAplicacio)
                                                                              throws Exception
        Throws:
        Exception
      • update

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleUpdate

        protected abstract com.soffid.iam.api.ApplicationAdministration handleUpdate​(com.soffid.iam.api.ApplicationAdministration administracioAplicacio)
                                                                              throws Exception
        Throws:
        Exception
      • create

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreate

        protected abstract com.soffid.iam.api.Application handleCreate​(com.soffid.iam.api.Application aplicacio)
                                                                throws Exception
        Throws:
        Exception
      • findApplicationByApplicationName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationByApplicationName

        protected abstract com.soffid.iam.api.Application handleFindApplicationByApplicationName​(String codiAplicacio)
                                                                                          throws Exception
        Throws:
        Exception
      • findApplicationByApplicationNameUnrestricted

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationByApplicationNameUnrestricted

        protected abstract com.soffid.iam.api.Application handleFindApplicationByApplicationNameUnrestricted​(String codiAplicacio)
                                                                                                      throws Exception
        Throws:
        Exception
      • approveRoleDefinition

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleApproveRoleDefinition

        protected abstract com.soffid.iam.api.Role handleApproveRoleDefinition​(com.soffid.iam.api.Role rol)
                                                                        throws Exception
        Throws:
        Exception
      • create

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreate

        protected abstract com.soffid.iam.api.Role handleCreate​(com.soffid.iam.api.Role rol)
                                                         throws Exception
        Throws:
        Exception
      • create2

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreate2

        protected abstract com.soffid.iam.api.Role handleCreate2​(com.soffid.iam.api.Role rol)
                                                          throws Exception
        Throws:
        Exception
      • denyRoleDefinition

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDenyRoleDefinition

        protected abstract com.soffid.iam.api.Role handleDenyRoleDefinition​(com.soffid.iam.api.Role rol)
                                                                     throws Exception
        Throws:
        Exception
      • findRoleById

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleById

        protected abstract com.soffid.iam.api.Role handleFindRoleById​(Long rolId)
                                                               throws Exception
        Throws:
        Exception
      • findRoleByRoleNameAndApplicationNameAndDispatcherName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleByRoleNameAndApplicationNameAndDispatcherName

        protected abstract com.soffid.iam.api.Role handleFindRoleByRoleNameAndApplicationNameAndDispatcherName​(String nomRol,
                                                                                                               String codiAplicacio,
                                                                                                               String codiDispatcher)
                                                                                                        throws Exception
        Throws:
        Exception
      • findRoleByNameAndSystem

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleByNameAndSystem

        protected abstract com.soffid.iam.api.Role handleFindRoleByNameAndSystem​(String name,
                                                                                 String system)
                                                                          throws Exception
        Throws:
        Exception
      • findRoleByShortName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       noRollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleByShortName

        protected abstract com.soffid.iam.api.Role handleFindRoleByShortName​(String name)
                                                                      throws Exception
        Throws:
        Exception
      • update

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleUpdate

        protected abstract com.soffid.iam.api.Role handleUpdate​(com.soffid.iam.api.Role rol)
                                                         throws Exception
        Throws:
        Exception
      • update2

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleUpdate2

        protected abstract com.soffid.iam.api.Role handleUpdate2​(com.soffid.iam.api.Role rol)
                                                          throws Exception
        Throws:
        Exception
      • create

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreate

        protected abstract com.soffid.iam.api.RoleAccount handleCreate​(com.soffid.iam.api.RoleAccount rolsUsuaris)
                                                                throws Exception
        Throws:
        Exception
      • enableOrDisableOnDates

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.RoleAccount enableOrDisableOnDates​(com.soffid.iam.api.RoleAccount rolsUsuaris)
                                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        enableOrDisableOnDates in interface com.soffid.iam.service.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleEnableOrDisableOnDates

        protected abstract com.soffid.iam.api.RoleAccount handleEnableOrDisableOnDates​(com.soffid.iam.api.RoleAccount rolsUsuaris)
                                                                                throws Exception
        Throws:
        Exception
      • findRoleAccountById

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.RoleAccount findRoleAccountById​(long id)
                                                           throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleAccountById in interface com.soffid.iam.service.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleAccountById

        protected abstract com.soffid.iam.api.RoleAccount handleFindRoleAccountById​(long id)
                                                                             throws Exception
        Throws:
        Exception
      • update

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.RoleAccount update​(com.soffid.iam.api.RoleAccount rolsUsuaris)
                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        update in interface com.soffid.iam.service.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleUpdate

        protected abstract com.soffid.iam.api.RoleAccount handleUpdate​(com.soffid.iam.api.RoleAccount rolsUsuaris)
                                                                throws Exception
        Throws:
        Exception
      • create

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreate

        protected abstract com.soffid.iam.api.RoleGrant handleCreate​(com.soffid.iam.api.RoleGrant grant)
                                                              throws Exception
        Throws:
        Exception
      • update

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleUpdate

        protected abstract com.soffid.iam.api.RoleGrant handleUpdate​(com.soffid.iam.api.RoleGrant grant)
                                                              throws Exception
        Throws:
        Exception
      • generateChangesReport

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       noRollbackFor=java.lang.Exception.class,
                       readOnly=true)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGenerateChangesReport

        protected abstract String handleGenerateChangesReport​(com.soffid.iam.api.Role rol)
                                                       throws Exception
        Throws:
        Exception
      • generateChangesReport

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       noRollbackFor=java.lang.Exception.class,
                       readOnly=true)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGenerateChangesReport

        protected abstract String handleGenerateChangesReport​(com.soffid.iam.api.Role rol,
                                                              List<com.soffid.iam.api.RoleAccount> grantsToAdd,
                                                              List<com.soffid.iam.api.RoleAccount> grantsToRemove)
                                                       throws Exception
        Throws:
        Exception
      • findNetworkACLRolesByRoleNameAndApplicationNameAndDispatcherName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindNetworkACLRolesByRoleNameAndApplicationNameAndDispatcherName

        protected abstract Collection<com.soffid.iam.api.NetworkAuthorization> handleFindNetworkACLRolesByRoleNameAndApplicationNameAndDispatcherName​(String nomRole,
                                                                                                                                                      String codiAplicacioRol,
                                                                                                                                                      String codiDispatcher)
                                                                                                                                               throws Exception
        Throws:
        Exception
      • findApplicationManageByApplicationName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationManageByApplicationName

        protected abstract Collection<com.soffid.iam.api.ApplicationAdministration> handleFindApplicationManageByApplicationName​(String codiAplicacio)
                                                                                                                          throws Exception
        Throws:
        Exception
      • findApplicationByCriteria

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationByCriteriaUnrestricted

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.Application> findApplicationByCriteriaUnrestricted​(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:
        findApplicationByCriteriaUnrestricted in interface com.soffid.iam.service.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationChildren

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationChildren

        protected abstract Collection<com.soffid.iam.api.Application> handleFindApplicationChildren​(String applicationName)
                                                                                             throws Exception
        Throws:
        Exception
      • findApplicationManagementRoles

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationManagementRoles

        protected abstract Collection<com.soffid.iam.api.Role> handleFindApplicationManagementRoles()
                                                                                             throws Exception
        Throws:
        Exception
      • findApplicationManagers

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationManagers

        protected abstract Collection<com.soffid.iam.api.RoleAccount> handleFindApplicationManagers​(String informationSystem,
                                                                                                    String roleName)
                                                                                             throws Exception
        Throws:
        Exception
      • findRoleAuthorizationsByRoleNameAndApplicationNameAndDispatcherName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleAuthorizationsByRoleNameAndApplicationNameAndDispatcherName

        protected abstract Collection<com.soffid.iam.api.AuthorizationRole> handleFindRoleAuthorizationsByRoleNameAndApplicationNameAndDispatcherName​(String nomRole,
                                                                                                                                                      String codiAplicacioRol,
                                                                                                                                                      String codiDispatcher)
                                                                                                                                               throws Exception
        Throws:
        Exception
      • findDomainValueByText

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindDomainValueByText

        protected abstract Collection<com.soffid.iam.api.DomainValue> handleFindDomainValueByText​(com.soffid.iam.api.Domain domain,
                                                                                                  String text)
                                                                                           throws Exception
        Throws:
        Exception
      • findEffectiveRoleGrantByAccount

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindEffectiveRoleGrantByAccount

        protected abstract Collection<com.soffid.iam.api.RoleGrant> handleFindEffectiveRoleGrantByAccount​(long accountId)
                                                                                                   throws Exception
        Throws:
        Exception
      • findEffectiveRoleGrantByUser

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindEffectiveRoleGrantByUser

        protected abstract Collection<com.soffid.iam.api.RoleGrant> handleFindEffectiveRoleGrantByUser​(long userId)
                                                                                                throws Exception
        Throws:
        Exception
      • findEffectiveRoleGrantByUserAndHolderGroup

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindEffectiveRoleGrantByUserAndHolderGroup

        protected abstract Collection<com.soffid.iam.api.RoleGrant> handleFindEffectiveRoleGrantByUserAndHolderGroup​(long userId,
                                                                                                                     long groupId)
                                                                                                              throws Exception
        Throws:
        Exception
      • findEffectiveRoleGrantsByRoleId

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.RoleGrant> findEffectiveRoleGrantsByRoleId​(Long rolId)
                                                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findEffectiveRoleGrantsByRoleId in interface com.soffid.iam.service.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindEffectiveRoleGrantsByRoleId

        protected abstract Collection<com.soffid.iam.api.RoleGrant> handleFindEffectiveRoleGrantsByRoleId​(Long rolId)
                                                                                                   throws Exception
        Throws:
        Exception
      • findEffectiveUserRolesByInformationSystem

        @Transactional(rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindEffectiveUserRolesByInformationSystem

        protected abstract Collection<com.soffid.iam.api.RoleAccount> handleFindEffectiveUserRolesByInformationSystem​(String informationSystem)
                                                                                                               throws Exception
        Throws:
        Exception
      • findGroupManagementRoles

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindGroupManagementRoles

        protected abstract Collection<com.soffid.iam.api.Role> handleFindGroupManagementRoles()
                                                                                       throws Exception
        Throws:
        Exception
      • findGroupManagers

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRoleHoldersGroupsByRole

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleHoldersGroupsByRole

        protected abstract Collection<com.soffid.iam.api.Group> handleFindRoleHoldersGroupsByRole​(com.soffid.iam.api.Role rol)
                                                                                           throws Exception
        Throws:
        Exception
      • findTextualInformationAndRolesHierachyByApplicationRoleAndDispatcher

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindTextualInformationAndRolesHierachyByApplicationRoleAndDispatcher

        protected abstract Collection<com.soffid.iam.api.ContainerRole> handleFindTextualInformationAndRolesHierachyByApplicationRoleAndDispatcher​(String nomRole,
                                                                                                                                                   String codiAplicacioRol,
                                                                                                                                                   String codiDispatcher)
                                                                                                                                            throws Exception
        Throws:
        Exception
      • findTextualInformationAndUserRolesHierachyByUserName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindTextualInformationAndUserRolesHierachyByUserName

        protected abstract Collection<com.soffid.iam.api.ContainerRole> handleFindTextualInformationAndUserRolesHierachyByUserName​(String codiUsuari)
                                                                                                                            throws Exception
        Throws:
        Exception
      • findTextualInformationAndUserRolesHierachyByUserName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindTextualInformationAndUserRolesHierachyByUserName

        protected abstract Collection<com.soffid.iam.api.ContainerRole> handleFindTextualInformationAndUserRolesHierachyByUserName​(String codiUsuari,
                                                                                                                                   String filtraResultats)
                                                                                                                            throws Exception
        Throws:
        Exception
      • findApplicationAccessTreeRolesByRoleNameAndRoleApplicationNameAndDispatcherName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationAccessTreeRolesByRoleNameAndRoleApplicationNameAndDispatcherName

        protected abstract Collection<com.soffid.iam.api.AccessTreeAuthorization> handleFindApplicationAccessTreeRolesByRoleNameAndRoleApplicationNameAndDispatcherName​(String nomRole,
                                                                                                                                                                        String codiAplicacioRol,
                                                                                                                                                                        String codiDispatcher)
                                                                                                                                                                 throws Exception
        Throws:
        Exception
      • findRoleAccountByAccount

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleAccountByAccount

        protected abstract Collection<com.soffid.iam.api.RoleAccount> handleFindRoleAccountByAccount​(long accountId)
                                                                                              throws Exception
        Throws:
        Exception
      • findRoleGrantByAccount

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleGrantByAccount

        protected abstract Collection<com.soffid.iam.api.RoleGrant> handleFindRoleGrantByAccount​(Long accountId)
                                                                                          throws Exception
        Throws:
        Exception
      • findRoleGrantByRole

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleGrantByRole

        protected abstract Collection<com.soffid.iam.api.RoleGrant> handleFindRoleGrantByRole​(Long rolId,
                                                                                              Long numRegistres)
                                                                                       throws Exception
        Throws:
        Exception
      • findRoleAccountByAccountNoRule

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleAccountByAccountNoRule

        protected abstract Collection<com.soffid.iam.api.RoleAccount> handleFindRoleAccountByAccountNoRule​(long accountId)
                                                                                                    throws Exception
        Throws:
        Exception
      • findRoleGrantHierarchyByAccount

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleGrantHierarchyByAccount

        protected abstract Collection<com.soffid.iam.api.RoleGrantHierarchy> handleFindRoleGrantHierarchyByAccount​(long accountId)
                                                                                                            throws Exception
        Throws:
        Exception
      • findRoleGrantHierarchyByUser

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleGrantHierarchyByUser

        protected abstract Collection<com.soffid.iam.api.RoleGrantHierarchy> handleFindRoleGrantHierarchyByUser​(long userId)
                                                                                                         throws Exception
        Throws:
        Exception
      • findRoleGrantsByGroup

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleGrantsByGroup

        protected abstract Collection<com.soffid.iam.api.RoleGrant> handleFindRoleGrantsByGroup​(com.soffid.iam.api.Group grup)
                                                                                         throws Exception
        Throws:
        Exception
      • findRolesByApplicationName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRolesByApplicationName

        protected abstract Collection<com.soffid.iam.api.Role> handleFindRolesByApplicationName​(String codiAplicacio)
                                                                                         throws Exception
        Throws:
        Exception
      • findRolesByApplicationNameUnrestricted

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRolesByApplicationNameUnrestricted

        protected abstract Collection<com.soffid.iam.api.Role> handleFindRolesByApplicationNameUnrestricted​(String codiAplicacio)
                                                                                                     throws Exception
        Throws:
        Exception
      • findRolesByUserName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRolesByFilter

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRolesByFilter

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRolesByDomainNameAndApplicationName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRolesByDomainNameAndApplicationName

        protected abstract Collection<com.soffid.iam.api.Role> handleFindRolesByDomainNameAndApplicationName​(String nomDomini,
                                                                                                             String codiAplicacio)
                                                                                                      throws Exception
        Throws:
        Exception
      • findGrantedRolesToGroupByGroup

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindGrantedRolesToGroupByGroup

        protected abstract Collection<com.soffid.iam.api.Role> handleFindGrantedRolesToGroupByGroup​(com.soffid.iam.api.Group grup)
                                                                                             throws Exception
        Throws:
        Exception
      • findUserRolesByRoleNameAndRoleApplicationNameAndDispatcherName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindUserRolesByRoleNameAndRoleApplicationNameAndDispatcherName

        protected abstract Collection<com.soffid.iam.api.RoleAccount> handleFindUserRolesByRoleNameAndRoleApplicationNameAndDispatcherName​(String nomRole,
                                                                                                                                           String codiAplicacioRol,
                                                                                                                                           String codiDispatcher)
                                                                                                                                    throws Exception
        Throws:
        Exception
      • findUserRolesByUserName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindUserRolesByUserName

        protected abstract Collection<com.soffid.iam.api.RoleAccount> handleFindUserRolesByUserName​(String codiUsuari)
                                                                                             throws Exception
        Throws:
        Exception
      • findUserRolesHistoryByUserName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindUserRolesHistoryByUserName

        protected abstract Collection<com.soffid.iam.api.RoleAccount> handleFindUserRolesHistoryByUserName​(String codiUsuari)
                                                                                                    throws Exception
        Throws:
        Exception
      • findUserRolesByUserNameNoSoD

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindUserRolesByUserNameNoSoD

        protected abstract Collection<com.soffid.iam.api.RoleAccount> handleFindUserRolesByUserNameNoSoD​(String codiUsuari)
                                                                                                  throws Exception
        Throws:
        Exception
      • findUserRolesByInformationSystem

        @Transactional(rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindUserRolesByInformationSystem

        protected abstract Collection<com.soffid.iam.api.RoleAccount> handleFindUserRolesByInformationSystem​(String informationSystem)
                                                                                                      throws Exception
        Throws:
        Exception
      • findUserRolesByUserNameNoRules

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindUserRolesByUserNameNoRules

        protected abstract Collection<com.soffid.iam.api.RoleAccount> handleFindUserRolesByUserNameNoRules​(String codiUsuari)
                                                                                                    throws Exception
        Throws:
        Exception
      • findUsersByRoleNameAndRoleApplicationNameAndDispatcherName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindUsersByRoleNameAndRoleApplicationNameAndDispatcherName

        protected abstract Collection<com.soffid.iam.api.User> handleFindUsersByRoleNameAndRoleApplicationNameAndDispatcherName​(String nomRole,
                                                                                                                                String codiAplicacioRol,
                                                                                                                                String codiDispatcher)
                                                                                                                         throws Exception
        Throws:
        Exception
      • getApplications

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetApplications

        protected abstract Collection<com.soffid.iam.api.Application> handleGetApplications()
                                                                                     throws Exception
        Throws:
        Exception
      • getPendingAlerts

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<Object> getPendingAlerts​(String codiAplicacio)
                                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getPendingAlerts in interface com.soffid.iam.service.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getRoles

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationByJsonQuery

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationByJsonQuery

        protected abstract List<com.soffid.iam.api.Application> handleFindApplicationByJsonQuery​(String query)
                                                                                          throws Exception
        Throws:
        Exception
      • findApplicationByText

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationByText

        protected abstract List<com.soffid.iam.api.Application> handleFindApplicationByText​(String text)
                                                                                     throws Exception
        Throws:
        Exception
      • findApplicationByTextAndFilter

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationByTextAndFilter

        protected abstract List<com.soffid.iam.api.Application> handleFindApplicationByTextAndFilter​(String text,
                                                                                                     String filter)
                                                                                              throws Exception
        Throws:
        Exception
      • findRoleByJsonQuery

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleByJsonQuery

        protected abstract List<com.soffid.iam.api.Role> handleFindRoleByJsonQuery​(String query)
                                                                            throws Exception
        Throws:
        Exception
      • findRoleByText

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleByText

        protected abstract List<com.soffid.iam.api.Role> handleFindRoleByText​(String text)
                                                                       throws Exception
        Throws:
        Exception
      • findRoleByTextAndFilter

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleByTextAndFilter

        protected abstract List<com.soffid.iam.api.Role> handleFindRoleByTextAndFilter​(String text,
                                                                                       String filter)
                                                                                throws Exception
        Throws:
        Exception
      • approveDelete

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void approveDelete​(com.soffid.iam.api.RoleAccount rolsUsuaris)
                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        approveDelete in interface com.soffid.iam.service.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleApproveDelete

        protected abstract void handleApproveDelete​(com.soffid.iam.api.RoleAccount rolsUsuaris)
                                             throws Exception
        Throws:
        Exception
      • manageApplication

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleManageApplication

        protected abstract void handleManageApplication​(com.soffid.iam.api.ApplicationAdministration administracioAplicacio)
                                                 throws Exception
        Throws:
        Exception
      • delete

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDelete

        protected abstract void handleDelete​(com.soffid.iam.api.Application aplicacio)
                                      throws Exception
        Throws:
        Exception
      • delete

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDelete

        protected abstract void handleDelete​(com.soffid.iam.api.Role rol)
                                      throws Exception
        Throws:
        Exception
      • delete

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDelete

        protected abstract void handleDelete​(com.soffid.iam.api.RoleAccount rolsUsuaris)
                                      throws Exception
        Throws:
        Exception
      • delete

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDelete

        protected abstract void handleDelete​(com.soffid.iam.api.RoleGrant grant)
                                      throws Exception
        Throws:
        Exception
      • deleteByRuleEvaluation

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void deleteByRuleEvaluation​(com.soffid.iam.api.RoleAccount rolsUsuaris)
                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        deleteByRuleEvaluation in interface com.soffid.iam.service.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDeleteByRuleEvaluation

        protected abstract void handleDeleteByRuleEvaluation​(com.soffid.iam.api.RoleAccount rolsUsuaris)
                                                      throws Exception
        Throws:
        Exception
      • removeSentAlerts

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void removeSentAlerts​(String codiAplicacio,
                                     Date dataDelete)
                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        removeSentAlerts in interface com.soffid.iam.service.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleRemoveSentAlerts

        protected abstract void handleRemoveSentAlerts​(String codiAplicacio,
                                                       Date dataDelete)
                                                throws Exception
        Throws:
        Exception
      • denyApproval

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void denyApproval​(com.soffid.iam.api.RoleAccount rolsUsuaris)
                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        denyApproval in interface com.soffid.iam.service.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDenyApproval

        protected abstract void handleDenyApproval​(com.soffid.iam.api.RoleAccount rolsUsuaris)
                                            throws Exception
        Throws:
        Exception
      • denyDelete

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void denyDelete​(com.soffid.iam.api.RoleAccount rolsUsuaris)
                        throws es.caib.seycon.ng.exception.InternalErrorException,
                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        denyDelete in interface com.soffid.iam.service.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDenyDelete

        protected abstract void handleDenyDelete​(com.soffid.iam.api.RoleAccount rolsUsuaris)
                                          throws Exception
        Throws:
        Exception
      • enableOrDisableAllOnDates

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void enableOrDisableAllOnDates()
                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        enableOrDisableAllOnDates in interface com.soffid.iam.service.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleEnableOrDisableAllOnDates

        protected abstract void handleEnableOrDisableAllOnDates()
                                                         throws Exception
        Throws:
        Exception
      • revokeRolesHoldedOnGroup

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void revokeRolesHoldedOnGroup​(long userId,
                                             long groupId)
                                      throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        revokeRolesHoldedOnGroup in interface com.soffid.iam.service.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleRevokeRolesHoldedOnGroup

        protected abstract void handleRevokeRolesHoldedOnGroup​(long userId,
                                                               long groupId)
                                                        throws Exception
        Throws:
        Exception
      • synchronizeRole

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       noRollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleSynchronizeRole

        protected abstract void handleSynchronizeRole​(com.soffid.iam.api.Role rol)
                                               throws Exception
        Throws:
        Exception
      • update

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.ApplicationService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleUpdate

        protected abstract void handleUpdate​(com.soffid.iam.api.Application aplicacio)
                                      throws Exception
        Throws:
        Exception
      • getPrincipal

        protected Principal getPrincipal()
        Gets the current principal if one has been set, otherwise returns null.
        Returns:
        the current principal