Class EntryPointServiceBase

  • All Implemented Interfaces:
    com.soffid.iam.service.EntryPointService
    Direct Known Subclasses:
    EntryPointServiceImpl

    public abstract class EntryPointServiceBase
    extends Object
    implements com.soffid.iam.service.EntryPointService

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

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

      • EntryPointServiceBase

        public EntryPointServiceBase()
    • Method Detail

      • setAccountEntityDao

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

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

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

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

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

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

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

        public com.soffid.iam.service.ApplicationService getApplicationService()
        Gets reference to aplicacioService.
      • setEntryPointTreeEntityDao

        public void setEntryPointTreeEntityDao​(EntryPointTreeEntityDao arbrePuntEntradaEntityDao)
        Sets reference to arbrePuntEntradaEntityDao.
      • getEntryPointTreeEntityDao

        public EntryPointTreeEntityDao getEntryPointTreeEntityDao()
        Gets reference to arbrePuntEntradaEntityDao.
      • setAsyncRunnerService

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

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

        public void setAuditEntityDao​(AuditEntityDao auditoriaEntityDao)
        Sets reference to auditoriaEntityDao.
      • getAuditEntityDao

        public AuditEntityDao getAuditEntityDao()
        Gets reference to auditoriaEntityDao.
      • setEntryPointGroupEntityDao

        public void setEntryPointGroupEntityDao​(EntryPointGroupEntityDao autoritzacioPUEGrupEntityDao)
        Sets reference to autoritzacioPUEGrupEntityDao.
      • getEntryPointGroupEntityDao

        public EntryPointGroupEntityDao getEntryPointGroupEntityDao()
        Gets reference to autoritzacioPUEGrupEntityDao.
      • setEntryPointRoleEntityDao

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

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

        public void setEntryPointUserEntityDao​(EntryPointUserEntityDao autoritzacioPUEUsuariEntityDao)
        Sets reference to autoritzacioPUEUsuariEntityDao.
      • getEntryPointUserEntityDao

        public EntryPointUserEntityDao getEntryPointUserEntityDao()
        Gets reference to autoritzacioPUEUsuariEntityDao.
      • 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.
      • setEntryPointAccountEntityDao

        public void setEntryPointAccountEntityDao​(EntryPointAccountEntityDao entryPointAccountEntityDao)
        Sets reference to entryPointAccountEntityDao.
      • getEntryPointAccountEntityDao

        public EntryPointAccountEntityDao getEntryPointAccountEntityDao()
        Gets reference to entryPointAccountEntityDao.
      • setEntryPointExecutableEntityDao

        public void setEntryPointExecutableEntityDao​(EntryPointExecutableEntityDao execucioPuntEntradaEntityDao)
        Sets reference to execucioPuntEntradaEntityDao.
      • getEntryPointExecutableEntityDao

        public EntryPointExecutableEntityDao getEntryPointExecutableEntityDao()
        Gets reference to execucioPuntEntradaEntityDao.
      • setGroupEntityDao

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

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

        public void setHostEntryPointEntityDao​(HostEntryPointEntityDao hostEntryPointEntityDao)
        Sets reference to hostEntryPointEntityDao.
      • getHostEntryPointEntityDao

        public HostEntryPointEntityDao getHostEntryPointEntityDao()
        Gets reference to hostEntryPointEntityDao.
      • setEntryPointIconEntityDao

        public void setEntryPointIconEntityDao​(EntryPointIconEntityDao iconaEntityDao)
        Sets reference to iconaEntityDao.
      • getEntryPointIconEntityDao

        public EntryPointIconEntityDao getEntryPointIconEntityDao()
        Gets reference to iconaEntityDao.
      • setEntryPointEntityDao

        public void setEntryPointEntityDao​(EntryPointEntityDao puntEntradaEntityDao)
        Sets reference to puntEntradaEntityDao.
      • getEntryPointEntityDao

        public EntryPointEntityDao getEntryPointEntityDao()
        Gets reference to puntEntradaEntityDao.
      • setRoleEntityDao

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

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

        public void setEntryPointExecutionTypeEntityDao​(EntryPointExecutionTypeEntityDao tipusExecucioPuntEntradaEntityDao)
        Sets reference to tipusExecucioPuntEntradaEntityDao.
      • getEntryPointExecutionTypeEntityDao

        public EntryPointExecutionTypeEntityDao getEntryPointExecutionTypeEntityDao()
        Gets reference to tipusExecucioPuntEntradaEntityDao.
      • setUserEntityDao

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

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

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

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

        public void setNetworkService​(com.soffid.iam.service.NetworkService xarxaService)
        Sets reference to xarxaService.
      • getNetworkService

        public com.soffid.iam.service.NetworkService getNetworkService()
        Gets reference to xarxaService.
      • canAdmin

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public boolean canAdmin​(com.soffid.iam.api.AccessTree puntEntrada)
                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        canAdmin in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCanAdmin

        protected abstract boolean handleCanAdmin​(com.soffid.iam.api.AccessTree puntEntrada)
                                           throws Exception
        Throws:
        Exception
      • canExecute

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public boolean canExecute​(com.soffid.iam.api.AccessTree puntEntrada)
                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        canExecute in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCanExecute

        protected abstract boolean handleCanExecute​(com.soffid.iam.api.AccessTree puntEntrada)
                                             throws Exception
        Throws:
        Exception
      • canQuery

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public boolean canQuery​(com.soffid.iam.api.AccessTree puntEntrada)
                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        canQuery in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCanQuery

        protected abstract boolean handleCanQuery​(com.soffid.iam.api.AccessTree puntEntrada)
                                           throws Exception
        Throws:
        Exception
      • canView

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public boolean canView​(com.soffid.iam.api.AccessTree puntEntrada)
                        throws es.caib.seycon.ng.exception.InternalErrorException,
                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        canView in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCanView

        protected abstract boolean handleCanView​(com.soffid.iam.api.AccessTree puntEntrada)
                                          throws Exception
        Throws:
        Exception
      • copyApplicationAccessLink

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public boolean copyApplicationAccessLink​(com.soffid.iam.api.AccessTree puntEntradaCopiar,
                                                 com.soffid.iam.api.AccessTree puntEntradaMenuDesti)
                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        copyApplicationAccessLink in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCopyApplicationAccessLink

        protected abstract boolean handleCopyApplicationAccessLink​(com.soffid.iam.api.AccessTree puntEntradaCopiar,
                                                                   com.soffid.iam.api.AccessTree puntEntradaMenuDesti)
                                                            throws Exception
        Throws:
        Exception
      • copyApplicationAccess

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public boolean copyApplicationAccess​(com.soffid.iam.api.AccessTree puntEntradaCopiar,
                                             com.soffid.iam.api.AccessTree puntEntradaMenuDesti)
                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        copyApplicationAccess in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCopyApplicationAccess

        protected abstract boolean handleCopyApplicationAccess​(com.soffid.iam.api.AccessTree puntEntradaCopiar,
                                                               com.soffid.iam.api.AccessTree puntEntradaMenuDesti)
                                                        throws Exception
        Throws:
        Exception
      • isAuthorized

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public boolean isAuthorized​(com.soffid.iam.api.AccessTree puntEntrada,
                                    String nivell)
                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        isAuthorized in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleIsAuthorized

        protected abstract boolean handleIsAuthorized​(com.soffid.iam.api.AccessTree puntEntrada,
                                                      String nivell)
                                               throws Exception
        Throws:
        Exception
      • isAuthorized

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public boolean isAuthorized​(String codiUsuari,
                                    Long idPuntEntrada,
                                    String nivell)
                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        isAuthorized in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • applicationAccessTreeHasAnyACL

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public boolean applicationAccessTreeHasAnyACL​(String codiUsuari)
                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        applicationAccessTreeHasAnyACL in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleApplicationAccessTreeHasAnyACL

        protected abstract boolean handleApplicationAccessTreeHasAnyACL​(String codiUsuari)
                                                                 throws Exception
        Throws:
        Exception
      • moveApplicationAccessTreeMenu

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public boolean moveApplicationAccessTreeMenu​(com.soffid.iam.api.AccessTree puntEntradaMoure,
                                                     com.soffid.iam.api.AccessTree puntEntradaMenuDesti)
                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        moveApplicationAccessTreeMenu in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleMoveApplicationAccessTreeMenu

        protected abstract boolean handleMoveApplicationAccessTreeMenu​(com.soffid.iam.api.AccessTree puntEntradaMoure,
                                                                       com.soffid.iam.api.AccessTree puntEntradaMenuDesti)
                                                                throws Exception
        Throws:
        Exception
      • reorderApplicationAccess

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public boolean reorderApplicationAccess​(com.soffid.iam.api.AccessTree puntEntradaOrdenar,
                                                com.soffid.iam.api.AccessTree puntEntradaSeguent)
                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        reorderApplicationAccess in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleReorderApplicationAccess

        protected abstract boolean handleReorderApplicationAccess​(com.soffid.iam.api.AccessTree puntEntradaOrdenar,
                                                                  com.soffid.iam.api.AccessTree puntEntradaSeguent)
                                                           throws Exception
        Throws:
        Exception
      • findAccessTreeByTextAndJsonQueryAsync

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

        protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.AccessTree> handleFindAccessTreeByTextAndJsonQueryAsync​(String text,
                                                                                                                                   String jsonQuery)
                                                                                                                            throws Exception
        Throws:
        Exception
      • createAuthorization

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.AccessTreeAuthorization createAuthorization​(com.soffid.iam.api.AccessTree puntEntrada,
                                                                              com.soffid.iam.api.AccessTreeAuthorization autoritzacio)
                                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        createAuthorization in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreateAuthorization

        protected abstract com.soffid.iam.api.AccessTreeAuthorization handleCreateAuthorization​(com.soffid.iam.api.AccessTree puntEntrada,
                                                                                                com.soffid.iam.api.AccessTreeAuthorization autoritzacio)
                                                                                         throws Exception
        Throws:
        Exception
      • createExecution

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.AccessTreeExecution createExecution​(com.soffid.iam.api.AccessTree puntEntrada,
                                                                      com.soffid.iam.api.AccessTreeExecution execucio)
                                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        createExecution in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreateExecution

        protected abstract com.soffid.iam.api.AccessTreeExecution handleCreateExecution​(com.soffid.iam.api.AccessTree puntEntrada,
                                                                                        com.soffid.iam.api.AccessTreeExecution execucio)
                                                                                 throws Exception
        Throws:
        Exception
      • updateExecution

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.AccessTreeExecution updateExecution​(com.soffid.iam.api.AccessTree puntEntrada,
                                                                      com.soffid.iam.api.AccessTreeExecution execucio)
                                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        updateExecution in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleUpdateExecution

        protected abstract com.soffid.iam.api.AccessTreeExecution handleUpdateExecution​(com.soffid.iam.api.AccessTree puntEntrada,
                                                                                        com.soffid.iam.api.AccessTreeExecution execucio)
                                                                                 throws Exception
        Throws:
        Exception
      • create

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

        protected abstract com.soffid.iam.api.AccessTree handleCreate​(com.soffid.iam.api.AccessTree puntEntrada)
                                                               throws Exception
        Throws:
        Exception
      • findApplicationAccessById

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.AccessTree findApplicationAccessById​(long id)
                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationAccessById in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationAccessById

        protected abstract com.soffid.iam.api.AccessTree handleFindApplicationAccessById​(long id)
                                                                                  throws Exception
        Throws:
        Exception
      • findRoot

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.AccessTree findRoot()
                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoot in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoot

        protected abstract com.soffid.iam.api.AccessTree handleFindRoot()
                                                                 throws Exception
        Throws:
        Exception
      • update

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

        protected abstract com.soffid.iam.api.AccessTree handleUpdate​(com.soffid.iam.api.AccessTree puntEntrada)
                                                               throws Exception
        Throws:
        Exception
      • getScopeForAddress

        @Transactional(rollbackFor=java.lang.Exception.class)
        public String getScopeForAddress​(String address)
                                  throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getScopeForAddress in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • validateXMLApplicationAccess

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public String validateXMLApplicationAccess​(com.soffid.iam.api.AccessTree puntEntrada)
                                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        validateXMLApplicationAccess in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleValidateXMLApplicationAccess

        protected abstract String handleValidateXMLApplicationAccess​(com.soffid.iam.api.AccessTree puntEntrada)
                                                              throws Exception
        Throws:
        Exception
      • findChildren

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.AccessTree> findChildren​(com.soffid.iam.api.AccessTree puntEntrada)
                                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findChildren in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindChildren

        protected abstract Collection<com.soffid.iam.api.AccessTree> handleFindChildren​(com.soffid.iam.api.AccessTree puntEntrada)
                                                                                 throws Exception
        Throws:
        Exception
      • findMenuChildren

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.AccessTree> findMenuChildren​(com.soffid.iam.api.AccessTree puntEntrada)
                                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findMenuChildren in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindMenuChildren

        protected abstract Collection<com.soffid.iam.api.AccessTree> handleFindMenuChildren​(com.soffid.iam.api.AccessTree puntEntrada)
                                                                                     throws Exception
        Throws:
        Exception
      • findApplicationAccessByFilter

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.AccessTree> findApplicationAccessByFilter​(String nomPUE,
                                                                                       String codiPUE,
                                                                                       String codiAplicacio,
                                                                                       String codiRol,
                                                                                       String codiGrup,
                                                                                       String codiUsuari)
                                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationAccessByFilter in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getAllApplications

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.Application> getAllApplications​(Boolean aplicacioBuida)
                                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getAllApplications in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetAllApplications

        protected abstract Collection<com.soffid.iam.api.Application> handleGetAllApplications​(Boolean aplicacioBuida)
                                                                                        throws Exception
        Throws:
        Exception
      • getAllMimeTypeExecution

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

        protected abstract Collection<com.soffid.iam.api.AccessTreeExecutionType> handleGetAllMimeTypeExecution()
                                                                                                         throws Exception
        Throws:
        Exception
      • getReverseApplicationAccessTree

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

        protected abstract Collection<String> handleGetReverseApplicationAccessTree​(com.soffid.iam.api.AccessTree puntEntrada)
                                                                             throws Exception
        Throws:
        Exception
      • getAuthorizationsApplicationAcessTree

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.AccessTreeAuthorization> getAuthorizationsApplicationAcessTree​(com.soffid.iam.api.AccessTree puntEntrada)
                                                                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getAuthorizationsApplicationAcessTree in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetAuthorizationsApplicationAcessTree

        protected abstract Collection<com.soffid.iam.api.AccessTreeAuthorization> handleGetAuthorizationsApplicationAcessTree​(com.soffid.iam.api.AccessTree puntEntrada)
                                                                                                                       throws Exception
        Throws:
        Exception
      • getExecutions

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<com.soffid.iam.api.AccessTreeExecution> getExecutions​(com.soffid.iam.api.AccessTree puntEntrada)
                                                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getExecutions in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetExecutions

        protected abstract Collection<com.soffid.iam.api.AccessTreeExecution> handleGetExecutions​(com.soffid.iam.api.AccessTree puntEntrada)
                                                                                           throws Exception
        Throws:
        Exception
      • findAccessTreeByTextAndJsonQuery

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

        protected abstract List<com.soffid.iam.api.AccessTree> handleFindAccessTreeByTextAndJsonQuery​(String text,
                                                                                                      String jsonQuery,
                                                                                                      Integer start,
                                                                                                      Integer pageSize)
                                                                                               throws Exception
        Throws:
        Exception
      • delete

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

        protected abstract void handleDelete​(com.soffid.iam.api.AccessTree puntEntrada)
                                      throws Exception
        Throws:
        Exception
      • deleteAuthorization

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void deleteAuthorization​(com.soffid.iam.api.AccessTree puntEntrada,
                                        com.soffid.iam.api.AccessTreeAuthorization autoritzacio)
                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        deleteAuthorization in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDeleteAuthorization

        protected abstract void handleDeleteAuthorization​(com.soffid.iam.api.AccessTree puntEntrada,
                                                          com.soffid.iam.api.AccessTreeAuthorization autoritzacio)
                                                   throws Exception
        Throws:
        Exception
      • deleteExecution

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void deleteExecution​(com.soffid.iam.api.AccessTree puntEntrada,
                                    com.soffid.iam.api.AccessTreeExecution execucio)
                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        deleteExecution in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDeleteExecution

        protected abstract void handleDeleteExecution​(com.soffid.iam.api.AccessTree puntEntrada,
                                                      com.soffid.iam.api.AccessTreeExecution execucio)
                                               throws Exception
        Throws:
        Exception
      • sortChildren

        @Transactional(rollbackFor=java.lang.Exception.class)
        public void sortChildren​(long entryPointId)
                          throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        sortChildren in interface com.soffid.iam.service.EntryPointService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleSortChildren

        protected abstract void handleSortChildren​(long entryPointId)
                                            throws Exception
        Throws:
        Exception
      • getPrincipal

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