Class DispatcherServiceBase

  • All Implemented Interfaces:
    com.soffid.iam.service.DispatcherService
    Direct Known Subclasses:
    DispatcherServiceImpl

    public abstract class DispatcherServiceBase
    extends Object
    implements com.soffid.iam.service.DispatcherService

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

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

      • DispatcherServiceBase

        public DispatcherServiceBase()
    • Method Detail

      • setAccountAttributeEntityDao

        public void setAccountAttributeEntityDao​(AccountAttributeEntityDao accountAttributeEntityDao)
        Sets reference to accountAttributeEntityDao.
      • getAccountAttributeEntityDao

        public AccountAttributeEntityDao getAccountAttributeEntityDao()
        Gets reference to accountAttributeEntityDao.
      • setAccountEntityDao

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

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

        public void setAccountMetadataEntityDao​(AccountMetadataEntityDao accountMetadataEntityDao)
        Sets reference to accountMetadataEntityDao.
      • getAccountMetadataEntityDao

        public AccountMetadataEntityDao getAccountMetadataEntityDao()
        Gets reference to accountMetadataEntityDao.
      • 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.
      • setAgentDescriptorEntityDao

        public void setAgentDescriptorEntityDao​(AgentDescriptorEntityDao agentDescriptorEntityDao)
        Sets reference to agentDescriptorEntityDao.
      • getAgentDescriptorEntityDao

        public AgentDescriptorEntityDao getAgentDescriptorEntityDao()
        Gets reference to agentDescriptorEntityDao.
      • setApplicationService

        public void setApplicationService​(com.soffid.iam.service.ApplicationService aplicacioService)
        Sets reference to aplicacioService.
      • getApplicationService

        public com.soffid.iam.service.ApplicationService getApplicationService()
        Gets reference to aplicacioService.
      • 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.
      • setAttributeMappingEntityDao

        public void setAttributeMappingEntityDao​(AttributeMappingEntityDao attributeMappingEntityDao)
        Sets reference to attributeMappingEntityDao.
      • getAttributeMappingEntityDao

        public AttributeMappingEntityDao getAttributeMappingEntityDao()
        Gets reference to attributeMappingEntityDao.
      • setAuditService

        public void setAuditService​(com.soffid.iam.service.AuditService auditoriaService)
        Sets reference to auditoriaService.
      • getAuditService

        public com.soffid.iam.service.AuditService getAuditService()
        Gets reference to auditoriaService.
      • 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.
      • setConfigurationService

        public void setConfigurationService​(com.soffid.iam.service.ConfigurationService configuracioService)
        Sets reference to configuracioService.
      • getConfigurationService

        public com.soffid.iam.service.ConfigurationService getConfigurationService()
        Gets reference to configuracioService.
      • setAccessControlEntityDao

        public void setAccessControlEntityDao​(AccessControlEntityDao controlAccessEntityDao)
        Sets reference to controlAccessEntityDao.
      • getAccessControlEntityDao

        public AccessControlEntityDao getAccessControlEntityDao()
        Gets reference to controlAccessEntityDao.
      • setSystemEntityDao

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

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

        public void setUserDomainEntityDao​(UserDomainEntityDao dominiUsuariEntityDao)
        Sets reference to dominiUsuariEntityDao.
      • getUserDomainEntityDao

        public UserDomainEntityDao getUserDomainEntityDao()
        Gets reference to dominiUsuariEntityDao.
      • setSystemGroupEntityDao

        public void setSystemGroupEntityDao​(SystemGroupEntityDao grupDispatcherEntityDao)
        Sets reference to grupDispatcherEntityDao.
      • getSystemGroupEntityDao

        public SystemGroupEntityDao getSystemGroupEntityDao()
        Gets reference to grupDispatcherEntityDao.
      • setGroupEntityDao

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

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

        public void setHostSystemEntityDao​(HostSystemEntityDao hostSystemEntityDao)
        Sets reference to hostSystemEntityDao.
      • getHostSystemEntityDao

        public HostSystemEntityDao getHostSystemEntityDao()
        Gets reference to hostSystemEntityDao.
      • setObjectMappingEntityDao

        public void setObjectMappingEntityDao​(ObjectMappingEntityDao objectMappingEntityDao)
        Sets reference to objectMappingEntityDao.
      • getObjectMappingEntityDao

        public ObjectMappingEntityDao getObjectMappingEntityDao()
        Gets reference to objectMappingEntityDao.
      • setObjectMappingPropertyEntityDao

        public void setObjectMappingPropertyEntityDao​(ObjectMappingPropertyEntityDao objectMappingPropertyEntityDao)
        Sets reference to objectMappingPropertyEntityDao.
      • getObjectMappingPropertyEntityDao

        public ObjectMappingPropertyEntityDao getObjectMappingPropertyEntityDao()
        Gets reference to objectMappingPropertyEntityDao.
      • setObjectMappingTriggerEntityDao

        public void setObjectMappingTriggerEntityDao​(ObjectMappingTriggerEntityDao objectMappingTriggerEntityDao)
        Sets reference to objectMappingTriggerEntityDao.
      • getObjectMappingTriggerEntityDao

        public ObjectMappingTriggerEntityDao getObjectMappingTriggerEntityDao()
        Gets reference to objectMappingTriggerEntityDao.
      • setReconcileTriggerEntityDao

        public void setReconcileTriggerEntityDao​(ReconcileTriggerEntityDao reconcileTriggerEntityDao)
        Sets reference to reconcileTriggerEntityDao.
      • getReconcileTriggerEntityDao

        public ReconcileTriggerEntityDao getReconcileTriggerEntityDao()
        Gets reference to reconcileTriggerEntityDao.
      • setRoleEntityDao

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

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

        public void setScheduledTaskService​(com.soffid.iam.service.ScheduledTaskService scheduledTaskService)
        Sets reference to scheduledTaskService.
      • getScheduledTaskService

        public com.soffid.iam.service.ScheduledTaskService getScheduledTaskService()
        Gets reference to scheduledTaskService.
      • setServerCertificateEntityDao

        public void setServerCertificateEntityDao​(ServerCertificateEntityDao serverCertificateEntityDao)
        Sets reference to serverCertificateEntityDao.
      • getServerCertificateEntityDao

        public ServerCertificateEntityDao getServerCertificateEntityDao()
        Gets reference to serverCertificateEntityDao.
      • setServerEntityDao

        public void setServerEntityDao​(ServerEntityDao serverEntityDao)
        Sets reference to serverEntityDao.
      • getServerEntityDao

        public ServerEntityDao getServerEntityDao()
        Gets reference to serverEntityDao.
      • setServerRegistrationTokenEntityDao

        public void setServerRegistrationTokenEntityDao​(ServerRegistrationTokenEntityDao serverRegistrationTokenEntityDao)
        Sets reference to serverRegistrationTokenEntityDao.
      • getServerRegistrationTokenEntityDao

        public ServerRegistrationTokenEntityDao getServerRegistrationTokenEntityDao()
        Gets reference to serverRegistrationTokenEntityDao.
      • setSyncServerService

        public void setSyncServerService​(com.soffid.iam.service.SyncServerService seyconServerService)
        Sets reference to seyconServerService.
      • getSyncServerService

        public com.soffid.iam.service.SyncServerService getSyncServerService()
        Gets reference to seyconServerService.
      • setTaskEntityDao

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

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

        public void setTenantEntityDao​(TenantEntityDao tenantEntityDao)
        Sets reference to tenantEntityDao.
      • getTenantEntityDao

        public TenantEntityDao getTenantEntityDao()
        Gets reference to tenantEntityDao.
      • setMetaDataEntityDao

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

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

        public void setUserTypeSystemEntityDao​(UserTypeSystemEntityDao tipusUsuariDispatcherEntityDao)
        Sets reference to tipusUsuariDispatcherEntityDao.
      • getUserTypeSystemEntityDao

        public UserTypeSystemEntityDao getUserTypeSystemEntityDao()
        Gets reference to tipusUsuariDispatcherEntityDao.
      • setUserTypeEntityDao

        public void setUserTypeEntityDao​(UserTypeEntityDao tipusUsuariEntityDao)
        Sets reference to tipusUsuariEntityDao.
      • getUserTypeEntityDao

        public UserTypeEntityDao getUserTypeEntityDao()
        Gets reference to tipusUsuariEntityDao.
      • 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.
      • createRemoteServer

        @Transactional(rollbackFor=java.lang.Exception.class)
        public String createRemoteServer​(String name,
                                         String tenant)
                                  throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        createRemoteServer in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findActiveDirectoryDomains

        @Transactional(rollbackFor=java.lang.Exception.class)
        public Map<String,​String> findActiveDirectoryDomains()
                                                            throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findActiveDirectoryDomains in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • startVirtualSourceTransaction

        @Transactional(rollbackFor=java.lang.Exception.class)
        public String startVirtualSourceTransaction​(boolean readonly,
                                                    String server)
                                             throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        startVirtualSourceTransaction in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleStartVirtualSourceTransaction

        protected abstract String handleStartVirtualSourceTransaction​(boolean readonly,
                                                                      String server)
                                                               throws Exception
        Throws:
        Exception
      • finishVirtualSourceTransaction

        @Transactional(rollbackFor=java.lang.Exception.class)
        public void finishVirtualSourceTransaction​(String transactionId)
                                            throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        finishVirtualSourceTransaction in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFinishVirtualSourceTransaction

        protected abstract void handleFinishVirtualSourceTransaction​(String transactionId)
                                                              throws Exception
        Throws:
        Exception
      • isGroupAllowed

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public boolean isGroupAllowed​(com.soffid.iam.api.System dispatcher,
                                      String group)
                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        isGroupAllowed in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleIsGroupAllowed

        protected abstract boolean handleIsGroupAllowed​(com.soffid.iam.api.System dispatcher,
                                                        String group)
                                                 throws Exception
        Throws:
        Exception
      • isRegistrationTokenAlive

        @Transactional(rollbackFor=java.lang.Exception.class)
        public boolean isRegistrationTokenAlive​(String token)
                                         throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        isRegistrationTokenAlive in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleIsRegistrationTokenAlive

        protected abstract boolean handleIsRegistrationTokenAlive​(String token)
                                                           throws Exception
        Throws:
        Exception
      • isUserAllowed

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public boolean isUserAllowed​(com.soffid.iam.api.System dispatcher,
                                     String user)
                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        isUserAllowed in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleIsUserAllowed

        protected abstract boolean handleIsUserAllowed​(com.soffid.iam.api.System dispatcher,
                                                       String user)
                                                throws Exception
        Throws:
        Exception
      • isUserAllowed

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public boolean isUserAllowed​(com.soffid.iam.api.System dispatcher,
                                     String user,
                                     Collection<com.soffid.iam.api.RoleGrant> permissions)
                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        isUserAllowed in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleIsUserAllowed

        protected abstract boolean handleIsUserAllowed​(com.soffid.iam.api.System dispatcher,
                                                       String user,
                                                       Collection<com.soffid.iam.api.RoleGrant> permissions)
                                                throws Exception
        Throws:
        Exception
      • findSystemByTextAndFilterAsync

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.System> findSystemByTextAndFilterAsync​(String text,
                                                                                                      String query)
                                                                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findSystemByTextAndFilterAsync in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindSystemByTextAndFilterAsync

        protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.System> handleFindSystemByTextAndFilterAsync​(String text,
                                                                                                                        String query)
                                                                                                                 throws Exception
        Throws:
        Exception
      • findSystemByTextAndJsonQueryAsync

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.System> findSystemByTextAndJsonQueryAsync​(String text,
                                                                                                         String jsonQuery)
                                                                                                  throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findSystemByTextAndJsonQueryAsync in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindSystemByTextAndJsonQueryAsync

        protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.System> handleFindSystemByTextAndJsonQueryAsync​(String text,
                                                                                                                           String jsonQuery)
                                                                                                                    throws Exception
        Throws:
        Exception
      • applyConfigurationAsync

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.AsyncProcessTracker applyConfigurationAsync​(com.soffid.iam.api.System dispatcher)
                                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        applyConfigurationAsync in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleApplyConfigurationAsync

        protected abstract com.soffid.iam.api.AsyncProcessTracker handleApplyConfigurationAsync​(com.soffid.iam.api.System dispatcher)
                                                                                         throws Exception
        Throws:
        Exception
      • queryProcessStatus

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       noRollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.AsyncProcessTracker queryProcessStatus​(com.soffid.iam.api.AsyncProcessTracker process)
                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        queryProcessStatus in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleQueryProcessStatus

        protected abstract com.soffid.iam.api.AsyncProcessTracker handleQueryProcessStatus​(com.soffid.iam.api.AsyncProcessTracker process)
                                                                                    throws Exception
        Throws:
        Exception
      • findSystemByTextAndFilter

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.PagedResult<com.soffid.iam.api.System> findSystemByTextAndFilter​(String text,
                                                                                                   String query,
                                                                                                   Integer first,
                                                                                                   Integer max)
                                                                                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findSystemByTextAndFilter in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindSystemByTextAndFilter

        protected abstract com.soffid.iam.api.PagedResult<com.soffid.iam.api.System> handleFindSystemByTextAndFilter​(String text,
                                                                                                                     String query,
                                                                                                                     Integer first,
                                                                                                                     Integer max)
                                                                                                              throws Exception
        Throws:
        Exception
      • findSystemByTextAndJsonQuery

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.PagedResult<com.soffid.iam.api.System> findSystemByTextAndJsonQuery​(String text,
                                                                                                      String jsonQuery,
                                                                                                      Integer start,
                                                                                                      Integer pageSize)
                                                                                               throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findSystemByTextAndJsonQuery in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindSystemByTextAndJsonQuery

        protected abstract com.soffid.iam.api.PagedResult<com.soffid.iam.api.System> handleFindSystemByTextAndJsonQuery​(String text,
                                                                                                                        String jsonQuery,
                                                                                                                        Integer start,
                                                                                                                        Integer pageSize)
                                                                                                                 throws Exception
        Throws:
        Exception
      • create

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.ReconcileTrigger create​(com.soffid.iam.api.ReconcileTrigger rp)
                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreate

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

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

        protected abstract com.soffid.iam.api.ReconcileTrigger handleUpdate​(com.soffid.iam.api.ReconcileTrigger rp)
                                                                     throws Exception
        Throws:
        Exception
      • consumeRegistrationToken

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.ServerRegistrationToken consumeRegistrationToken​(String token)
                                                                            throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        consumeRegistrationToken in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleConsumeRegistrationToken

        protected abstract com.soffid.iam.api.ServerRegistrationToken handleConsumeRegistrationToken​(String token)
                                                                                              throws Exception
        Throws:
        Exception
      • testPropagateObject

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.sync.engine.intf.DebugTaskResults testPropagateObject​(String dispatcher,
                                                                                    com.soffid.iam.api.SoffidObjectType type,
                                                                                    String object1,
                                                                                    String object2)
                                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        testPropagateObject in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleTestPropagateObject

        protected abstract com.soffid.iam.sync.engine.intf.DebugTaskResults handleTestPropagateObject​(String dispatcher,
                                                                                                      com.soffid.iam.api.SoffidObjectType type,
                                                                                                      String object1,
                                                                                                      String object2)
                                                                                               throws Exception
        Throws:
        Exception
      • getNativeObject

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.sync.engine.intf.GetObjectResults getNativeObject​(String dispatcher,
                                                                                com.soffid.iam.api.SoffidObjectType type,
                                                                                String object1,
                                                                                String object2)
                                                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getNativeObject in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetNativeObject

        protected abstract com.soffid.iam.sync.engine.intf.GetObjectResults handleGetNativeObject​(String dispatcher,
                                                                                                  com.soffid.iam.api.SoffidObjectType type,
                                                                                                  String object1,
                                                                                                  String object2)
                                                                                           throws Exception
        Throws:
        Exception
      • getSoffidObject

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.sync.engine.intf.GetObjectResults getSoffidObject​(String dispatcher,
                                                                                com.soffid.iam.api.SoffidObjectType type,
                                                                                String object1,
                                                                                String object2)
                                                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getSoffidObject in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetSoffidObject

        protected abstract com.soffid.iam.sync.engine.intf.GetObjectResults handleGetSoffidObject​(String dispatcher,
                                                                                                  com.soffid.iam.api.SoffidObjectType type,
                                                                                                  String object1,
                                                                                                  String object2)
                                                                                           throws Exception
        Throws:
        Exception
      • reconcile

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.sync.engine.intf.GetObjectResults reconcile​(String dispatcher,
                                                                          String accountName)
                                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        reconcile in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleReconcile

        protected abstract com.soffid.iam.sync.engine.intf.GetObjectResults handleReconcile​(String dispatcher,
                                                                                            String accountName)
                                                                                     throws Exception
        Throws:
        Exception
      • create

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.AttributeMapping create​(com.soffid.iam.api.AttributeMapping mapping)
                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreate

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

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

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.AccessControl create​(com.soffid.iam.api.AccessControl controlAcces)
                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreate

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

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

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.System create​(com.soffid.iam.api.System dispatcher)
                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreate

        protected abstract com.soffid.iam.api.System handleCreate​(com.soffid.iam.api.System dispatcher)
                                                           throws Exception
        Throws:
        Exception
      • findDispatcherByName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.System findDispatcherByName​(String codi)
                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findDispatcherByName in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindDispatcherByName

        protected abstract com.soffid.iam.api.System handleFindDispatcherByName​(String codi)
                                                                         throws Exception
        Throws:
        Exception
      • findSoffidDispatcher

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.System findSoffidDispatcher()
                                                       throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findSoffidDispatcher in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindSoffidDispatcher

        protected abstract com.soffid.iam.api.System handleFindSoffidDispatcher()
                                                                         throws Exception
        Throws:
        Exception
      • update

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

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.SystemGroup create​(com.soffid.iam.api.SystemGroup grupDispatcher)
                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreate

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

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

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.ObjectMapping create​(com.soffid.iam.api.ObjectMapping om)
                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreate

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

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

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.ObjectMappingProperty create​(com.soffid.iam.api.ObjectMappingProperty omp)
                                                        throws es.caib.seycon.ng.exception.InternalErrorException,
                                                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreate

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

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

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

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.ObjectMappingTrigger create​(com.soffid.iam.api.ObjectMappingTrigger trigger)
                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreate

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

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.ObjectMappingTrigger update​(com.soffid.iam.api.ObjectMappingTrigger trigger)
                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        update in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleUpdate

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.Server create​(com.soffid.iam.api.Server server)
                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreate

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

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

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.UserTypeDispatcher create​(com.soffid.iam.api.UserTypeDispatcher tipusUsuari)
                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreate

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

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

        protected abstract com.soffid.iam.api.UserTypeDispatcher handleUpdate​(com.soffid.iam.api.UserTypeDispatcher tipusUsuari)
                                                                       throws Exception
        Throws:
        Exception
      • invokeAsync

        @Transactional(rollbackFor=java.lang.Exception.class)
        public Long invokeAsync​(String dispatcher,
                                String verb,
                                String object,
                                Map<String,​Object> attributes)
                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        invokeAsync in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • generateChangesReport

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       noRollbackFor=java.lang.Exception.class,
                       readOnly=true)
        public String generateChangesReport​(com.soffid.iam.api.System dispatcher)
                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        generateChangesReport in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGenerateChangesReport

        protected abstract String handleGenerateChangesReport​(com.soffid.iam.api.System dispatcher)
                                                       throws Exception
        Throws:
        Exception
      • preRegisterServer

        @Transactional(rollbackFor=java.lang.Exception.class)
        public String preRegisterServer​(com.soffid.iam.api.ServerRegistrationToken register)
                                 throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        preRegisterServer in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handlePreRegisterServer

        protected abstract String handlePreRegisterServer​(com.soffid.iam.api.ServerRegistrationToken register)
                                                   throws Exception
        Throws:
        Exception
      • getServerTenants

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class,
                       readOnly=true)
        public String[] getServerTenants​(com.soffid.iam.api.Server server)
                                  throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getServerTenants in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetServerTenants

        protected abstract String[] handleGetServerTenants​(com.soffid.iam.api.Server server)
                                                    throws Exception
        Throws:
        Exception
      • findAllActiveDispatchers

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.System> findAllActiveDispatchers()
                                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAllActiveDispatchers in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindAllActiveDispatchers

        protected abstract Collection<com.soffid.iam.api.System> handleFindAllActiveDispatchers()
                                                                                         throws Exception
        Throws:
        Exception
      • findAllServers

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.Server> findAllServers()
                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAllServers in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAttributeMappingsByObject

        @Transactional(rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.AttributeMapping> findAttributeMappingsByObject​(Long objectId)
                                                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAttributeMappingsByObject in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindAttributeMappingsByObject

        protected abstract Collection<com.soffid.iam.api.AttributeMapping> handleFindAttributeMappingsByObject​(Long objectId)
                                                                                                        throws Exception
        Throws:
        Exception
      • findAccessControlByDispatcherName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.AccessControl> findAccessControlByDispatcherName​(String codiAgent)
                                                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAccessControlByDispatcherName in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindAccessControlByDispatcherName

        protected abstract Collection<com.soffid.iam.api.AccessControl> handleFindAccessControlByDispatcherName​(String codiAgent)
                                                                                                         throws Exception
        Throws:
        Exception
      • findDispatchersByFilter

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.System> findDispatchersByFilter​(String codi,
                                                                             String nomCla,
                                                                             String url,
                                                                             String basRol,
                                                                             String segur,
                                                                             Boolean actiu)
                                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findDispatchersByFilter in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findObjectMappingPropertiesByObject

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

        protected abstract Collection<com.soffid.iam.api.ObjectMappingProperty> handleFindObjectMappingPropertiesByObject​(Long objectId)
                                                                                                                   throws Exception
        Throws:
        Exception
      • findObjectMappingTriggersByObject

        @Transactional(rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.ObjectMappingTrigger> findObjectMappingTriggersByObject​(Long objectId)
                                                                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findObjectMappingTriggersByObject in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindObjectMappingTriggersByObject

        protected abstract Collection<com.soffid.iam.api.ObjectMappingTrigger> handleFindObjectMappingTriggersByObject​(Long objectId)
                                                                                                                throws Exception
        Throws:
        Exception
      • findObjectMappingsByDispatcher

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

        protected abstract Collection<com.soffid.iam.api.ObjectMapping> handleFindObjectMappingsByDispatcher​(Long dispatcherId)
                                                                                                      throws Exception
        Throws:
        Exception
      • findReconcileTriggersByDispatcher

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

        protected abstract Collection<com.soffid.iam.api.ReconcileTrigger> handleFindReconcileTriggersByDispatcher​(Long dispatcherId)
                                                                                                            throws Exception
        Throws:
        Exception
      • findTenantServers

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.Server> findTenantServers()
                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findTenantServers in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindTenantServers

        protected abstract Collection<com.soffid.iam.api.Server> handleFindTenantServers()
                                                                                  throws Exception
        Throws:
        Exception
      • getAccessControl

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.AccessControl> getAccessControl​(com.soffid.iam.api.System agent)
                                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getAccessControl in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetAccessControl

        protected abstract Collection<com.soffid.iam.api.AccessControl> handleGetAccessControl​(com.soffid.iam.api.System agent)
                                                                                        throws Exception
        Throws:
        Exception
      • getDispatcherGroups

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.SystemGroup> getDispatcherGroups​(com.soffid.iam.api.System agent)
                                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getDispatcherGroups in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetDispatcherGroups

        protected abstract Collection<com.soffid.iam.api.SystemGroup> handleGetDispatcherGroups​(com.soffid.iam.api.System agent)
                                                                                         throws Exception
        Throws:
        Exception
      • getDispatcherUserTypes

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.UserTypeDispatcher> getDispatcherUserTypes​(com.soffid.iam.api.System agent)
                                                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getDispatcherUserTypes in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetDispatcherUserTypes

        protected abstract Collection<com.soffid.iam.api.UserTypeDispatcher> handleGetDispatcherUserTypes​(com.soffid.iam.api.System agent)
                                                                                                   throws Exception
        Throws:
        Exception
      • invoke

        @Transactional(rollbackFor=java.lang.Exception.class)
        public Collection<Map<String,​Object>> invoke​(String dispatcher,
                                                           String verb,
                                                           String object,
                                                           Map<String,​Object> attributes)
                                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        invoke in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findValidCertificates

        @Transactional(rollbackFor=java.lang.Exception.class)
        public List<X509Certificate> findValidCertificates()
                                                    throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findValidCertificates in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • testObjectMapping

        @Transactional(rollbackFor=java.lang.Exception.class)
        public Map<String,​Object> testObjectMapping​(Map<String,​String> sentences,
                                                          String dispatcher,
                                                          com.soffid.iam.api.SoffidObjectType type,
                                                          String object1,
                                                          String object2)
                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        testObjectMapping in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • addCertificate

        @Transactional(rollbackFor=java.lang.Exception.class)
        public void addCertificate​(com.soffid.iam.api.Server server,
                                   X509Certificate cert)
                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        addCertificate in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleAddCertificate

        protected abstract void handleAddCertificate​(com.soffid.iam.api.Server server,
                                                     X509Certificate cert)
                                              throws Exception
        Throws:
        Exception
      • applyConfiguration

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void applyConfiguration​(com.soffid.iam.api.System dispatcher)
                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        applyConfiguration in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleApplyConfiguration

        protected abstract void handleApplyConfiguration​(com.soffid.iam.api.System dispatcher)
                                                  throws Exception
        Throws:
        Exception
      • checkConnectivity

        @Transactional(rollbackFor=java.lang.Exception.class)
        public void checkConnectivity​(String dispatcher)
                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        checkConnectivity in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCheckConnectivity

        protected abstract void handleCheckConnectivity​(String dispatcher)
                                                 throws Exception
        Throws:
        Exception
      • delete

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void delete​(com.soffid.iam.api.ReconcileTrigger rp)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDelete

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void delete​(com.soffid.iam.api.AttributeMapping mapping)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDelete

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void delete​(com.soffid.iam.api.AccessControl controlAcces)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDelete

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void delete​(com.soffid.iam.api.System dispatcher)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDelete

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void delete​(com.soffid.iam.api.SystemGroup grupDispatcher)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDelete

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void delete​(com.soffid.iam.api.ObjectMapping om)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDelete

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void delete​(com.soffid.iam.api.ObjectMappingProperty omp)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDelete

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

        @Transactional(rollbackFor=java.lang.Exception.class)
        public void delete​(com.soffid.iam.api.ObjectMappingTrigger tirger)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDelete

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void delete​(com.soffid.iam.api.Server server)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDelete

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void delete​(com.soffid.iam.api.UserTypeDispatcher tipusUsuari)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDelete

        protected abstract void handleDelete​(com.soffid.iam.api.UserTypeDispatcher tipusUsuari)
                                      throws Exception
        Throws:
        Exception
      • propagateDispatcherGroups

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

        protected abstract void handlePropagateDispatcherGroups​(String codiAgent)
                                                         throws Exception
        Throws:
        Exception
      • propagateDispatcherRoles

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

        protected abstract void handlePropagateDispatcherRoles​(String codiAgent)
                                                        throws Exception
        Throws:
        Exception
      • porpagateUsersDispatcher

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

        protected abstract void handlePorpagateUsersDispatcher​(String codiAgent)
                                                        throws Exception
        Throws:
        Exception
      • renameAccounts

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void renameAccounts​(com.soffid.iam.api.System dispatcher)
                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        renameAccounts in interface com.soffid.iam.service.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleRenameAccounts

        protected abstract void handleRenameAccounts​(com.soffid.iam.api.System dispatcher)
                                              throws Exception
        Throws:
        Exception
      • setDefaultMappingsByDispatcher

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

        protected abstract void handleSetDefaultMappingsByDispatcher​(Long dispatcherId)
                                                              throws Exception
        Throws:
        Exception
      • getPrincipal

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