Class DispatcherServiceBase

  • All Implemented Interfaces:
    es.caib.seycon.ng.servei.DispatcherService

    public abstract class DispatcherServiceBase
    extends Object
    implements es.caib.seycon.ng.servei.DispatcherService

    Spring Service base class for es.caib.seycon.ng.servei.DispatcherService, provides access to all services and entities referenced by this service.

    see es.caib.seycon.ng.servei.DispatcherService
    • Constructor Detail

      • DispatcherServiceBase

        public DispatcherServiceBase()
    • Method Detail

      • setDispatcherService

        public void setDispatcherService​(com.soffid.iam.service.DispatcherService dispatcherService)
        Sets reference to dispatcherService.
      • getDispatcherService

        public com.soffid.iam.service.DispatcherService getDispatcherService()
        Gets reference to dispatcherService.
      • 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 es.caib.seycon.ng.servei.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 es.caib.seycon.ng.servei.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 es.caib.seycon.ng.servei.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 es.caib.seycon.ng.servei.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​(es.caib.seycon.ng.comu.Dispatcher dispatcher,
                                      String group)
                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        isGroupAllowed in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleIsGroupAllowed

        protected abstract boolean handleIsGroupAllowed​(es.caib.seycon.ng.comu.Dispatcher 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 es.caib.seycon.ng.servei.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​(es.caib.seycon.ng.comu.Dispatcher dispatcher,
                                     String user)
                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        isUserAllowed in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleIsUserAllowed

        protected abstract boolean handleIsUserAllowed​(es.caib.seycon.ng.comu.Dispatcher dispatcher,
                                                       String user)
                                                throws Exception
        Throws:
        Exception
      • isUserAllowed

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public boolean isUserAllowed​(es.caib.seycon.ng.comu.Dispatcher dispatcher,
                                     String user,
                                     Collection<es.caib.seycon.ng.comu.RolGrant> permissions)
                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        isUserAllowed in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleIsUserAllowed

        protected abstract boolean handleIsUserAllowed​(es.caib.seycon.ng.comu.Dispatcher dispatcher,
                                                       String user,
                                                       Collection<es.caib.seycon.ng.comu.RolGrant> permissions)
                                                throws Exception
        Throws:
        Exception
      • findSystemByTextAndFilterAsync

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

        protected abstract com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Dispatcher> handleFindSystemByTextAndFilterAsync​(String text,
                                                                                                                                String query)
                                                                                                                         throws Exception
        Throws:
        Exception
      • findSystemByTextAndJsonQueryAsync

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

        protected abstract com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Dispatcher> 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​(es.caib.seycon.ng.comu.Dispatcher dispatcher)
                                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        applyConfigurationAsync in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleApplyConfigurationAsync

        protected abstract com.soffid.iam.api.AsyncProcessTracker handleApplyConfigurationAsync​(es.caib.seycon.ng.comu.Dispatcher 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 es.caib.seycon.ng.servei.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<es.caib.seycon.ng.comu.Dispatcher> 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 es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindSystemByTextAndFilter

        protected abstract com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Dispatcher> 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<es.caib.seycon.ng.comu.Dispatcher> findSystemByTextAndJsonQuery​(String text,
                                                                                                              String jsonQuery,
                                                                                                              Integer start,
                                                                                                              Integer pageSize)
                                                                                                       throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findSystemByTextAndJsonQuery in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindSystemByTextAndJsonQuery

        protected abstract com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Dispatcher> 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 es.caib.seycon.ng.servei.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 es.caib.seycon.ng.servei.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 es.caib.seycon.ng.servei.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,
                                                                                    es.caib.seycon.ng.comu.SoffidObjectType type,
                                                                                    String object1,
                                                                                    String object2)
                                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        testPropagateObject in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleTestPropagateObject

        protected abstract com.soffid.iam.sync.engine.intf.DebugTaskResults handleTestPropagateObject​(String dispatcher,
                                                                                                      es.caib.seycon.ng.comu.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,
                                                                                es.caib.seycon.ng.comu.SoffidObjectType type,
                                                                                String object1,
                                                                                String object2)
                                                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getNativeObject in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetNativeObject

        protected abstract com.soffid.iam.sync.engine.intf.GetObjectResults handleGetNativeObject​(String dispatcher,
                                                                                                  es.caib.seycon.ng.comu.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,
                                                                                es.caib.seycon.ng.comu.SoffidObjectType type,
                                                                                String object1,
                                                                                String object2)
                                                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getSoffidObject in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetSoffidObject

        protected abstract com.soffid.iam.sync.engine.intf.GetObjectResults handleGetSoffidObject​(String dispatcher,
                                                                                                  es.caib.seycon.ng.comu.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 es.caib.seycon.ng.servei.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 es.caib.seycon.ng.comu.AttributeMapping create​(es.caib.seycon.ng.comu.AttributeMapping mapping)
                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreate

        protected abstract es.caib.seycon.ng.comu.AttributeMapping handleCreate​(es.caib.seycon.ng.comu.AttributeMapping mapping)
                                                                         throws Exception
        Throws:
        Exception
      • update

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

        protected abstract es.caib.seycon.ng.comu.AttributeMapping handleUpdate​(es.caib.seycon.ng.comu.AttributeMapping mapping)
                                                                         throws Exception
        Throws:
        Exception
      • create

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

        protected abstract es.caib.seycon.ng.comu.ControlAcces handleCreate​(es.caib.seycon.ng.comu.ControlAcces controlAcces)
                                                                     throws Exception
        Throws:
        Exception
      • update

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

        protected abstract es.caib.seycon.ng.comu.ControlAcces handleUpdate​(es.caib.seycon.ng.comu.ControlAcces controlAcces)
                                                                     throws Exception
        Throws:
        Exception
      • create

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

        protected abstract es.caib.seycon.ng.comu.Dispatcher handleCreate​(es.caib.seycon.ng.comu.Dispatcher dispatcher)
                                                                   throws Exception
        Throws:
        Exception
      • findDispatcherByCodi

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Dispatcher findDispatcherByCodi​(String codi)
                                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findDispatcherByCodi in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindDispatcherByCodi

        protected abstract es.caib.seycon.ng.comu.Dispatcher handleFindDispatcherByCodi​(String codi)
                                                                                 throws Exception
        Throws:
        Exception
      • findSoffidDispatcher

        @Transactional(rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Dispatcher findSoffidDispatcher()
                                                               throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findSoffidDispatcher in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindSoffidDispatcher

        protected abstract es.caib.seycon.ng.comu.Dispatcher handleFindSoffidDispatcher()
                                                                                 throws Exception
        Throws:
        Exception
      • update

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

        protected abstract es.caib.seycon.ng.comu.Dispatcher handleUpdate​(es.caib.seycon.ng.comu.Dispatcher dispatcher)
                                                                   throws Exception
        Throws:
        Exception
      • create

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

        protected abstract es.caib.seycon.ng.comu.GrupDispatcher handleCreate​(es.caib.seycon.ng.comu.GrupDispatcher grupDispatcher)
                                                                       throws Exception
        Throws:
        Exception
      • update

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

        protected abstract es.caib.seycon.ng.comu.GrupDispatcher handleUpdate​(es.caib.seycon.ng.comu.GrupDispatcher grupDispatcher)
                                                                       throws Exception
        Throws:
        Exception
      • create

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

        protected abstract es.caib.seycon.ng.comu.ObjectMapping handleCreate​(es.caib.seycon.ng.comu.ObjectMapping om)
                                                                      throws Exception
        Throws:
        Exception
      • update

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

        protected abstract es.caib.seycon.ng.comu.ObjectMapping handleUpdate​(es.caib.seycon.ng.comu.ObjectMapping om)
                                                                      throws Exception
        Throws:
        Exception
      • create

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

        protected abstract es.caib.seycon.ng.comu.ObjectMappingProperty handleCreate​(es.caib.seycon.ng.comu.ObjectMappingProperty omp)
                                                                              throws Exception
        Throws:
        Exception
      • update

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

        protected abstract es.caib.seycon.ng.comu.ObjectMappingProperty handleUpdate​(es.caib.seycon.ng.comu.ObjectMappingProperty om)
                                                                              throws Exception
        Throws:
        Exception
      • create

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

        protected abstract es.caib.seycon.ng.comu.ObjectMappingTrigger handleCreate​(es.caib.seycon.ng.comu.ObjectMappingTrigger trigger)
                                                                             throws Exception
        Throws:
        Exception
      • update

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

        protected abstract es.caib.seycon.ng.comu.ObjectMappingTrigger handleUpdate​(es.caib.seycon.ng.comu.ObjectMappingTrigger trigger)
                                                                             throws Exception
        Throws:
        Exception
      • create

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

        protected abstract es.caib.seycon.ng.comu.Server handleCreate​(es.caib.seycon.ng.comu.Server server)
                                                               throws Exception
        Throws:
        Exception
      • update

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

        protected abstract es.caib.seycon.ng.comu.Server handleUpdate​(es.caib.seycon.ng.comu.Server server)
                                                               throws Exception
        Throws:
        Exception
      • create

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

        protected abstract es.caib.seycon.ng.comu.TipusUsuariDispatcher handleCreate​(es.caib.seycon.ng.comu.TipusUsuariDispatcher tipusUsuari)
                                                                              throws Exception
        Throws:
        Exception
      • update

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

        protected abstract es.caib.seycon.ng.comu.TipusUsuariDispatcher handleUpdate​(es.caib.seycon.ng.comu.TipusUsuariDispatcher 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 es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • generateChangesReport

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

        protected abstract String handleGenerateChangesReport​(es.caib.seycon.ng.comu.Dispatcher 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 es.caib.seycon.ng.servei.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​(es.caib.seycon.ng.comu.Server server)
                                  throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getServerTenants in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetServerTenants

        protected abstract String[] handleGetServerTenants​(es.caib.seycon.ng.comu.Server server)
                                                    throws Exception
        Throws:
        Exception
      • findAllActiveDispatchers

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

        protected abstract Collection<es.caib.seycon.ng.comu.Dispatcher> handleFindAllActiveDispatchers()
                                                                                                 throws Exception
        Throws:
        Exception
      • findAllServers

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

        protected abstract Collection<es.caib.seycon.ng.comu.Server> handleFindAllServers()
                                                                                   throws Exception
        Throws:
        Exception
      • findAttributeMappingsByObject

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

        protected abstract Collection<es.caib.seycon.ng.comu.AttributeMapping> handleFindAttributeMappingsByObject​(Long objectId)
                                                                                                            throws Exception
        Throws:
        Exception
      • findControlAccesByCodiAgent

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.ControlAcces> findControlAccesByCodiAgent​(String codiAgent)
                                                                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findControlAccesByCodiAgent in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindControlAccesByCodiAgent

        protected abstract Collection<es.caib.seycon.ng.comu.ControlAcces> handleFindControlAccesByCodiAgent​(String codiAgent)
                                                                                                      throws Exception
        Throws:
        Exception
      • findDispatchersByFiltre

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Dispatcher> findDispatchersByFiltre​(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:
        findDispatchersByFiltre in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findObjectMappingPropertiesByObject

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

        protected abstract Collection<es.caib.seycon.ng.comu.ObjectMappingProperty> handleFindObjectMappingPropertiesByObject​(Long objectId)
                                                                                                                       throws Exception
        Throws:
        Exception
      • findObjectMappingTriggersByObject

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

        protected abstract Collection<es.caib.seycon.ng.comu.ObjectMappingTrigger> handleFindObjectMappingTriggersByObject​(Long objectId)
                                                                                                                    throws Exception
        Throws:
        Exception
      • findObjectMappingsByDispatcher

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

        protected abstract Collection<es.caib.seycon.ng.comu.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 es.caib.seycon.ng.servei.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<es.caib.seycon.ng.comu.Server> findTenantServers()
                                                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findTenantServers in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindTenantServers

        protected abstract Collection<es.caib.seycon.ng.comu.Server> handleFindTenantServers()
                                                                                      throws Exception
        Throws:
        Exception
      • getControlAcces

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.ControlAcces> getControlAcces​(es.caib.seycon.ng.comu.Dispatcher agent)
                                                                        throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getControlAcces in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetControlAcces

        protected abstract Collection<es.caib.seycon.ng.comu.ControlAcces> handleGetControlAcces​(es.caib.seycon.ng.comu.Dispatcher agent)
                                                                                          throws Exception
        Throws:
        Exception
      • getGrupsDispatcher

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.GrupDispatcher> getGrupsDispatcher​(es.caib.seycon.ng.comu.Dispatcher agent)
                                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getGrupsDispatcher in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetGrupsDispatcher

        protected abstract Collection<es.caib.seycon.ng.comu.GrupDispatcher> handleGetGrupsDispatcher​(es.caib.seycon.ng.comu.Dispatcher agent)
                                                                                               throws Exception
        Throws:
        Exception
      • getTipusUsuariDispatcher

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.TipusUsuariDispatcher> getTipusUsuariDispatcher​(es.caib.seycon.ng.comu.Dispatcher agent)
                                                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getTipusUsuariDispatcher in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetTipusUsuariDispatcher

        protected abstract Collection<es.caib.seycon.ng.comu.TipusUsuariDispatcher> handleGetTipusUsuariDispatcher​(es.caib.seycon.ng.comu.Dispatcher 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 es.caib.seycon.ng.servei.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 es.caib.seycon.ng.servei.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,
                                                          es.caib.seycon.ng.comu.SoffidObjectType type,
                                                          String object1,
                                                          String object2)
                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        testObjectMapping in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • addCertificate

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

        protected abstract void handleAddCertificate​(es.caib.seycon.ng.comu.Server server,
                                                     X509Certificate cert)
                                              throws Exception
        Throws:
        Exception
      • applyConfiguration

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

        protected abstract void handleApplyConfiguration​(es.caib.seycon.ng.comu.Dispatcher 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 es.caib.seycon.ng.servei.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 es.caib.seycon.ng.servei.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​(es.caib.seycon.ng.comu.AttributeMapping mapping)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDelete

        protected abstract void handleDelete​(es.caib.seycon.ng.comu.AttributeMapping mapping)
                                      throws Exception
        Throws:
        Exception
      • delete

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

        protected abstract void handleDelete​(es.caib.seycon.ng.comu.ControlAcces controlAcces)
                                      throws Exception
        Throws:
        Exception
      • delete

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

        protected abstract void handleDelete​(es.caib.seycon.ng.comu.Dispatcher dispatcher)
                                      throws Exception
        Throws:
        Exception
      • delete

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

        protected abstract void handleDelete​(es.caib.seycon.ng.comu.GrupDispatcher grupDispatcher)
                                      throws Exception
        Throws:
        Exception
      • delete

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

        protected abstract void handleDelete​(es.caib.seycon.ng.comu.ObjectMapping om)
                                      throws Exception
        Throws:
        Exception
      • delete

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

        protected abstract void handleDelete​(es.caib.seycon.ng.comu.ObjectMappingProperty omp)
                                      throws Exception
        Throws:
        Exception
      • delete

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

        protected abstract void handleDelete​(es.caib.seycon.ng.comu.ObjectMappingTrigger tirger)
                                      throws Exception
        Throws:
        Exception
      • delete

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

        protected abstract void handleDelete​(es.caib.seycon.ng.comu.Server server)
                                      throws Exception
        Throws:
        Exception
      • delete

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

        protected abstract void handleDelete​(es.caib.seycon.ng.comu.TipusUsuariDispatcher 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 es.caib.seycon.ng.servei.DispatcherService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handlePropagateDispatcherGroups

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

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

        protected abstract void handlePropagateRolsDispatcher​(String codiAgent)
                                                       throws Exception
        Throws:
        Exception
      • propagateUsuarisDispatcher

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

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

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

        protected abstract void handleRenameAccounts​(es.caib.seycon.ng.comu.Dispatcher 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 es.caib.seycon.ng.servei.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