Class DispatcherServiceBaseProxy

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

    public class DispatcherServiceBaseProxy
    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

      • DispatcherServiceBaseProxy

        public DispatcherServiceBaseProxy()
    • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • getPrincipal

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