Class AplicacioServiceBase

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

    public abstract class AplicacioServiceBase
    extends Object
    implements es.caib.seycon.ng.servei.AplicacioService

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

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

      • AplicacioServiceBase

        public AplicacioServiceBase()
    • Method Detail

      • setApplicationService

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

        public com.soffid.iam.service.ApplicationService getApplicationService()
        Gets reference to applicationService.
      • findRoleNames

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

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

        protected abstract com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Aplicacio> handleFindApplicationByJsonQueryAsync​(String query)
                                                                                                                         throws Exception
        Throws:
        Exception
      • findApplicationByTextAndFilterAsync

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

        protected abstract com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Aplicacio> handleFindApplicationByTextAndFilterAsync​(String text,
                                                                                                                                    String filter)
                                                                                                                             throws Exception
        Throws:
        Exception
      • findApplicationByTextAsync

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

        protected abstract com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Aplicacio> handleFindApplicationByTextAsync​(String text)
                                                                                                                    throws Exception
        Throws:
        Exception
      • findDomainValueByTextAsync

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.ValorDomini> findDomainValueByTextAsync​(es.caib.seycon.ng.comu.Domini domain,
                                                                                                           String text)
                                                                                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findDomainValueByTextAsync in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindDomainValueByTextAsync

        protected abstract com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.ValorDomini> handleFindDomainValueByTextAsync​(es.caib.seycon.ng.comu.Domini domain,
                                                                                                                             String text)
                                                                                                                      throws Exception
        Throws:
        Exception
      • findRedundantRoles

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.RolAccount> findRedundantRoles​(String query)
                                                                                           throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRedundantRoles in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRedundantRoles

        protected abstract com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.RolAccount> handleFindRedundantRoles​(String query)
                                                                                                             throws Exception
        Throws:
        Exception
      • findRoleByJsonQueryAsync

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

        protected abstract com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Rol> handleFindRoleByJsonQueryAsync​(String query)
                                                                                                            throws Exception
        Throws:
        Exception
      • findRoleByTextAndFilterAsync

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

        protected abstract com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Rol> handleFindRoleByTextAndFilterAsync​(String text,
                                                                                                                       String filter)
                                                                                                                throws Exception
        Throws:
        Exception
      • findRoleByTextAsync

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

        protected abstract com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.Rol> handleFindRoleByTextAsync​(String text)
                                                                                                       throws Exception
        Throws:
        Exception
      • removeRedundantRoles

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.AsyncProcessTracker removeRedundantRoles​(String query)
                                                                    throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        removeRedundantRoles in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleRemoveRedundantRoles

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Aplicacio> findApplicationByJsonQuery​(String query,
                                                                                                           Integer startIndex,
                                                                                                           Integer count)
                                                                                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationByJsonQuery in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationByJsonQuery

        protected abstract com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Aplicacio> handleFindApplicationByJsonQuery​(String query,
                                                                                                                             Integer startIndex,
                                                                                                                             Integer count)
                                                                                                                      throws Exception
        Throws:
        Exception
      • findApplicationByTextAndFilter

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Aplicacio> findApplicationByTextAndFilter​(String text,
                                                                                                               String filter,
                                                                                                               Integer first,
                                                                                                               Integer pageSize)
                                                                                                        throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationByTextAndFilter in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationByTextAndFilter

        protected abstract com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Aplicacio> handleFindApplicationByTextAndFilter​(String text,
                                                                                                                                 String filter,
                                                                                                                                 Integer first,
                                                                                                                                 Integer pageSize)
                                                                                                                          throws Exception
        Throws:
        Exception
      • findRoleAccountByJsonQuery

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.RolAccount> findRoleAccountByJsonQuery​(String query,
                                                                                                            Integer startIndex,
                                                                                                            Integer count)
                                                                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleAccountByJsonQuery in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleAccountByJsonQuery

        protected abstract com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.RolAccount> handleFindRoleAccountByJsonQuery​(String query,
                                                                                                                              Integer startIndex,
                                                                                                                              Integer count)
                                                                                                                       throws Exception
        Throws:
        Exception
      • findRoleByJsonQuery

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Rol> findRoleByJsonQuery​(String query,
                                                                                              Integer startIndex,
                                                                                              Integer count)
                                                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleByJsonQuery in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleByJsonQuery

        protected abstract com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Rol> handleFindRoleByJsonQuery​(String query,
                                                                                                                Integer startIndex,
                                                                                                                Integer count)
                                                                                                         throws Exception
        Throws:
        Exception
      • findRoleByTextAndFilter

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Rol> findRoleByTextAndFilter​(String text,
                                                                                                  String filter,
                                                                                                  Integer first,
                                                                                                  Integer pageSize)
                                                                                           throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleByTextAndFilter in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleByTextAndFilter

        protected abstract com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Rol> handleFindRoleByTextAndFilter​(String text,
                                                                                                                    String filter,
                                                                                                                    Integer first,
                                                                                                                    Integer pageSize)
                                                                                                             throws Exception
        Throws:
        Exception
      • create

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

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

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

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

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

        protected abstract es.caib.seycon.ng.comu.Aplicacio handleCreate​(es.caib.seycon.ng.comu.Aplicacio aplicacio)
                                                                  throws Exception
        Throws:
        Exception
      • findAplicacioByCodiAplicacio

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Aplicacio findAplicacioByCodiAplicacio​(String codiAplicacio)
                                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAplicacioByCodiAplicacio in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindAplicacioByCodiAplicacio

        protected abstract es.caib.seycon.ng.comu.Aplicacio handleFindAplicacioByCodiAplicacio​(String codiAplicacio)
                                                                                        throws Exception
        Throws:
        Exception
      • findAplicacioByCodiAplicacioSenseRestriccions

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Aplicacio findAplicacioByCodiAplicacioSenseRestriccions​(String codiAplicacio)
                                                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAplicacioByCodiAplicacioSenseRestriccions in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindAplicacioByCodiAplicacioSenseRestriccions

        protected abstract es.caib.seycon.ng.comu.Aplicacio handleFindAplicacioByCodiAplicacioSenseRestriccions​(String codiAplicacio)
                                                                                                         throws Exception
        Throws:
        Exception
      • approveRoleDefinition

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Rol approveRoleDefinition​(es.caib.seycon.ng.comu.Rol rol)
                                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        approveRoleDefinition in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleApproveRoleDefinition

        protected abstract es.caib.seycon.ng.comu.Rol handleApproveRoleDefinition​(es.caib.seycon.ng.comu.Rol rol)
                                                                           throws Exception
        Throws:
        Exception
      • create

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

        protected abstract es.caib.seycon.ng.comu.Rol handleCreate​(es.caib.seycon.ng.comu.Rol rol)
                                                            throws Exception
        Throws:
        Exception
      • create2

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Rol create2​(es.caib.seycon.ng.comu.Rol rol)
                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create2 in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleCreate2

        protected abstract es.caib.seycon.ng.comu.Rol handleCreate2​(es.caib.seycon.ng.comu.Rol rol)
                                                             throws Exception
        Throws:
        Exception
      • denyRoleDefinition

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Rol denyRoleDefinition​(es.caib.seycon.ng.comu.Rol rol)
                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        denyRoleDefinition in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDenyRoleDefinition

        protected abstract es.caib.seycon.ng.comu.Rol handleDenyRoleDefinition​(es.caib.seycon.ng.comu.Rol rol)
                                                                        throws Exception
        Throws:
        Exception
      • findRolById

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Rol findRolById​(Long rolId)
                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolById in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRolById

        protected abstract es.caib.seycon.ng.comu.Rol handleFindRolById​(Long rolId)
                                                                 throws Exception
        Throws:
        Exception
      • findRolByNomRolAndCodiAplicacioAndCodiDispatcher

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Rol findRolByNomRolAndCodiAplicacioAndCodiDispatcher​(String nomRol,
                                                                                           String codiAplicacio,
                                                                                           String codiDispatcher)
                                                                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolByNomRolAndCodiAplicacioAndCodiDispatcher in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRolByNomRolAndCodiAplicacioAndCodiDispatcher

        protected abstract es.caib.seycon.ng.comu.Rol handleFindRolByNomRolAndCodiAplicacioAndCodiDispatcher​(String nomRol,
                                                                                                             String codiAplicacio,
                                                                                                             String codiDispatcher)
                                                                                                      throws Exception
        Throws:
        Exception
      • findRoleByNameAndSystem

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Rol findRoleByNameAndSystem​(String name,
                                                                  String system)
                                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleByNameAndSystem in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleByNameAndSystem

        protected abstract es.caib.seycon.ng.comu.Rol handleFindRoleByNameAndSystem​(String name,
                                                                                    String system)
                                                                             throws Exception
        Throws:
        Exception
      • findRoleByShortName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       noRollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Rol findRoleByShortName​(String name)
                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleByShortName in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleByShortName

        protected abstract es.caib.seycon.ng.comu.Rol handleFindRoleByShortName​(String name)
                                                                         throws Exception
        Throws:
        Exception
      • update

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

        protected abstract es.caib.seycon.ng.comu.Rol handleUpdate​(es.caib.seycon.ng.comu.Rol rol)
                                                            throws Exception
        Throws:
        Exception
      • update2

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Rol update2​(es.caib.seycon.ng.comu.Rol rol)
                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        update2 in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleUpdate2

        protected abstract es.caib.seycon.ng.comu.Rol handleUpdate2​(es.caib.seycon.ng.comu.Rol rol)
                                                             throws Exception
        Throws:
        Exception
      • create

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

        protected abstract es.caib.seycon.ng.comu.RolAccount handleCreate​(es.caib.seycon.ng.comu.RolAccount rolsUsuaris)
                                                                   throws Exception
        Throws:
        Exception
      • enableOrDisableOnDates

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.RolAccount enableOrDisableOnDates​(es.caib.seycon.ng.comu.RolAccount rolsUsuaris)
                                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        enableOrDisableOnDates in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleEnableOrDisableOnDates

        protected abstract es.caib.seycon.ng.comu.RolAccount handleEnableOrDisableOnDates​(es.caib.seycon.ng.comu.RolAccount rolsUsuaris)
                                                                                   throws Exception
        Throws:
        Exception
      • findRoleAccountById

        @Transactional(rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.RolAccount findRoleAccountById​(long id)
                                                              throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleAccountById in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleAccountById

        protected abstract es.caib.seycon.ng.comu.RolAccount handleFindRoleAccountById​(long id)
                                                                                throws Exception
        Throws:
        Exception
      • update

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

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

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

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

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

        protected abstract es.caib.seycon.ng.comu.RolGrant handleUpdate​(es.caib.seycon.ng.comu.RolGrant grant)
                                                                 throws Exception
        Throws:
        Exception
      • generateChangesReport

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

        protected abstract String handleGenerateChangesReport​(es.caib.seycon.ng.comu.Rol rol)
                                                       throws Exception
        Throws:
        Exception
      • generateChangesReport

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       noRollbackFor=java.lang.Exception.class,
                       readOnly=true)
        public String generateChangesReport​(es.caib.seycon.ng.comu.Rol rol,
                                            List<es.caib.seycon.ng.comu.RolAccount> grantsToAdd,
                                            List<es.caib.seycon.ng.comu.RolAccount> grantsToRemove)
                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        generateChangesReport in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGenerateChangesReport

        protected abstract String handleGenerateChangesReport​(es.caib.seycon.ng.comu.Rol rol,
                                                              List<es.caib.seycon.ng.comu.RolAccount> grantsToAdd,
                                                              List<es.caib.seycon.ng.comu.RolAccount> grantsToRemove)
                                                       throws Exception
        Throws:
        Exception
      • findACLsXarxesRolByNomRolAndCodiAplicacioRolAndCodiDispatcher

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.NetworkAuthorization> findACLsXarxesRolByNomRolAndCodiAplicacioRolAndCodiDispatcher​(String nomRole,
                                                                                                                                     String codiAplicacioRol,
                                                                                                                                     String codiDispatcher)
                                                                                                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findACLsXarxesRolByNomRolAndCodiAplicacioRolAndCodiDispatcher in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindACLsXarxesRolByNomRolAndCodiAplicacioRolAndCodiDispatcher

        protected abstract Collection<es.caib.seycon.ng.comu.NetworkAuthorization> handleFindACLsXarxesRolByNomRolAndCodiAplicacioRolAndCodiDispatcher​(String nomRole,
                                                                                                                                                       String codiAplicacioRol,
                                                                                                                                                       String codiDispatcher)
                                                                                                                                                throws Exception
        Throws:
        Exception
      • findAdministracioAplicacioByCodiAplicacio

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.AdministracioAplicacio> findAdministracioAplicacioByCodiAplicacio​(String codiAplicacio)
                                                                                                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAdministracioAplicacioByCodiAplicacio in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindAdministracioAplicacioByCodiAplicacio

        protected abstract Collection<es.caib.seycon.ng.comu.AdministracioAplicacio> handleFindAdministracioAplicacioByCodiAplicacio​(String codiAplicacio)
                                                                                                                              throws Exception
        Throws:
        Exception
      • findAplicacioByCriteri

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Aplicacio> findAplicacioByCriteri​(String codi,
                                                                                   String nom,
                                                                                   String directoriFonts,
                                                                                   String responsable,
                                                                                   String directoriExecutable,
                                                                                   String bd,
                                                                                   String rol,
                                                                                   String gestionableWF)
                                                                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAplicacioByCriteri in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAplicacioByCriteriSenseRestriccions

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Aplicacio> findAplicacioByCriteriSenseRestriccions​(String codi,
                                                                                                    String nom,
                                                                                                    String directoriFonts,
                                                                                                    String responsable,
                                                                                                    String directoriExecutable,
                                                                                                    String bd,
                                                                                                    String rol,
                                                                                                    String gestionableWF)
                                                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAplicacioByCriteriSenseRestriccions in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationChildren

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Aplicacio> findApplicationChildren​(String applicationName)
                                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationChildren in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationChildren

        protected abstract Collection<es.caib.seycon.ng.comu.Aplicacio> handleFindApplicationChildren​(String applicationName)
                                                                                               throws Exception
        Throws:
        Exception
      • findApplicationManagementRoles

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

        protected abstract Collection<es.caib.seycon.ng.comu.Rol> handleFindApplicationManagementRoles()
                                                                                                throws Exception
        Throws:
        Exception
      • findApplicationManagers

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolAccount> findApplicationManagers​(String informationSystem,
                                                                                     String roleName)
                                                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationManagers in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationManagers

        protected abstract Collection<es.caib.seycon.ng.comu.RolAccount> handleFindApplicationManagers​(String informationSystem,
                                                                                                       String roleName)
                                                                                                throws Exception
        Throws:
        Exception
      • findAutoritzacionsRolByNomRolAndCodiAplicacioRolAndCodiDispatcher

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.AutoritzacioRol> findAutoritzacionsRolByNomRolAndCodiAplicacioRolAndCodiDispatcher​(String nomRole,
                                                                                                                                    String codiAplicacioRol,
                                                                                                                                    String codiDispatcher)
                                                                                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAutoritzacionsRolByNomRolAndCodiAplicacioRolAndCodiDispatcher in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindAutoritzacionsRolByNomRolAndCodiAplicacioRolAndCodiDispatcher

        protected abstract Collection<es.caib.seycon.ng.comu.AutoritzacioRol> handleFindAutoritzacionsRolByNomRolAndCodiAplicacioRolAndCodiDispatcher​(String nomRole,
                                                                                                                                                      String codiAplicacioRol,
                                                                                                                                                      String codiDispatcher)
                                                                                                                                               throws Exception
        Throws:
        Exception
      • findDomainValueByText

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.ValorDomini> findDomainValueByText​(es.caib.seycon.ng.comu.Domini domain,
                                                                                    String text)
                                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findDomainValueByText in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindDomainValueByText

        protected abstract Collection<es.caib.seycon.ng.comu.ValorDomini> handleFindDomainValueByText​(es.caib.seycon.ng.comu.Domini domain,
                                                                                                      String text)
                                                                                               throws Exception
        Throws:
        Exception
      • findEffectiveRolGrantByAccount

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolGrant> findEffectiveRolGrantByAccount​(long accountId)
                                                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findEffectiveRolGrantByAccount in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindEffectiveRolGrantByAccount

        protected abstract Collection<es.caib.seycon.ng.comu.RolGrant> handleFindEffectiveRolGrantByAccount​(long accountId)
                                                                                                     throws Exception
        Throws:
        Exception
      • findEffectiveRolGrantByUser

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolGrant> findEffectiveRolGrantByUser​(long userId)
                                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findEffectiveRolGrantByUser in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindEffectiveRolGrantByUser

        protected abstract Collection<es.caib.seycon.ng.comu.RolGrant> handleFindEffectiveRolGrantByUser​(long userId)
                                                                                                  throws Exception
        Throws:
        Exception
      • findEffectiveRolGrantByUserAndHolderGroup

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolGrant> findEffectiveRolGrantByUserAndHolderGroup​(long userId,
                                                                                                     long groupId)
                                                                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findEffectiveRolGrantByUserAndHolderGroup in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindEffectiveRolGrantByUserAndHolderGroup

        protected abstract Collection<es.caib.seycon.ng.comu.RolGrant> handleFindEffectiveRolGrantByUserAndHolderGroup​(long userId,
                                                                                                                       long groupId)
                                                                                                                throws Exception
        Throws:
        Exception
      • findEffectiveRolGrantsByRolId

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolGrant> findEffectiveRolGrantsByRolId​(Long rolId)
                                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findEffectiveRolGrantsByRolId in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindEffectiveRolGrantsByRolId

        protected abstract Collection<es.caib.seycon.ng.comu.RolGrant> handleFindEffectiveRolGrantsByRolId​(Long rolId)
                                                                                                    throws Exception
        Throws:
        Exception
      • findEffectiveUserRolesByInformationSystem

        @Transactional(rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolAccount> findEffectiveUserRolesByInformationSystem​(String informationSystem)
                                                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findEffectiveUserRolesByInformationSystem in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindEffectiveUserRolesByInformationSystem

        protected abstract Collection<es.caib.seycon.ng.comu.RolAccount> handleFindEffectiveUserRolesByInformationSystem​(String informationSystem)
                                                                                                                  throws Exception
        Throws:
        Exception
      • findGroupManagementRoles

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

        protected abstract Collection<es.caib.seycon.ng.comu.Rol> handleFindGroupManagementRoles()
                                                                                          throws Exception
        Throws:
        Exception
      • findGroupManagers

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolAccount> findGroupManagers​(String group,
                                                                               String roleName)
                                                                        throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findGroupManagers in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findGrupsPosseidorsdelRolByRol

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Grup> findGrupsPosseidorsdelRolByRol​(es.caib.seycon.ng.comu.Rol rol)
                                                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findGrupsPosseidorsdelRolByRol in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindGrupsPosseidorsdelRolByRol

        protected abstract Collection<es.caib.seycon.ng.comu.Grup> handleFindGrupsPosseidorsdelRolByRol​(es.caib.seycon.ng.comu.Rol rol)
                                                                                                 throws Exception
        Throws:
        Exception
      • findInformacioTextualJerarquiaRolsByRolAplicacioAndDispatcher

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.ContenidorRol> findInformacioTextualJerarquiaRolsByRolAplicacioAndDispatcher​(String nomRole,
                                                                                                                              String codiAplicacioRol,
                                                                                                                              String codiDispatcher)
                                                                                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findInformacioTextualJerarquiaRolsByRolAplicacioAndDispatcher in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindInformacioTextualJerarquiaRolsByRolAplicacioAndDispatcher

        protected abstract Collection<es.caib.seycon.ng.comu.ContenidorRol> handleFindInformacioTextualJerarquiaRolsByRolAplicacioAndDispatcher​(String nomRole,
                                                                                                                                                String codiAplicacioRol,
                                                                                                                                                String codiDispatcher)
                                                                                                                                         throws Exception
        Throws:
        Exception
      • findInformacioTextualJerarquiaRolsUsuariByCodiUsuari

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.ContenidorRol> findInformacioTextualJerarquiaRolsUsuariByCodiUsuari​(String codiUsuari)
                                                                                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findInformacioTextualJerarquiaRolsUsuariByCodiUsuari in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindInformacioTextualJerarquiaRolsUsuariByCodiUsuari

        protected abstract Collection<es.caib.seycon.ng.comu.ContenidorRol> handleFindInformacioTextualJerarquiaRolsUsuariByCodiUsuari​(String codiUsuari)
                                                                                                                                throws Exception
        Throws:
        Exception
      • findInformacioTextualJerarquiaRolsUsuariByCodiUsuari

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.ContenidorRol> findInformacioTextualJerarquiaRolsUsuariByCodiUsuari​(String codiUsuari,
                                                                                                                     String filtraResultats)
                                                                                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findInformacioTextualJerarquiaRolsUsuariByCodiUsuari in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindInformacioTextualJerarquiaRolsUsuariByCodiUsuari

        protected abstract Collection<es.caib.seycon.ng.comu.ContenidorRol> handleFindInformacioTextualJerarquiaRolsUsuariByCodiUsuari​(String codiUsuari,
                                                                                                                                       String filtraResultats)
                                                                                                                                throws Exception
        Throws:
        Exception
      • findPuntsEntradaRolByNomRolAndCodiAplicacioRolAndCodiDispatcher

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.AutoritzacioPuntEntrada> findPuntsEntradaRolByNomRolAndCodiAplicacioRolAndCodiDispatcher​(String nomRole,
                                                                                                                                          String codiAplicacioRol,
                                                                                                                                          String codiDispatcher)
                                                                                                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findPuntsEntradaRolByNomRolAndCodiAplicacioRolAndCodiDispatcher in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindPuntsEntradaRolByNomRolAndCodiAplicacioRolAndCodiDispatcher

        protected abstract Collection<es.caib.seycon.ng.comu.AutoritzacioPuntEntrada> handleFindPuntsEntradaRolByNomRolAndCodiAplicacioRolAndCodiDispatcher​(String nomRole,
                                                                                                                                                            String codiAplicacioRol,
                                                                                                                                                            String codiDispatcher)
                                                                                                                                                     throws Exception
        Throws:
        Exception
      • findRolAccountByAccount

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolAccount> findRolAccountByAccount​(long accountId)
                                                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolAccountByAccount in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRolAccountByAccount

        protected abstract Collection<es.caib.seycon.ng.comu.RolAccount> handleFindRolAccountByAccount​(long accountId)
                                                                                                throws Exception
        Throws:
        Exception
      • findRolGrantByAccount

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolGrant> findRolGrantByAccount​(Long accountId)
                                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolGrantByAccount in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRolGrantByAccount

        protected abstract Collection<es.caib.seycon.ng.comu.RolGrant> handleFindRolGrantByAccount​(Long accountId)
                                                                                            throws Exception
        Throws:
        Exception
      • findRolGrantByRol

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolGrant> findRolGrantByRol​(Long rolId,
                                                                             Long numRegistres)
                                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolGrantByRol in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRolGrantByRol

        protected abstract Collection<es.caib.seycon.ng.comu.RolGrant> handleFindRolGrantByRol​(Long rolId,
                                                                                               Long numRegistres)
                                                                                        throws Exception
        Throws:
        Exception
      • findRoleAccountByAccountNoRule

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolAccount> findRoleAccountByAccountNoRule​(long accountId)
                                                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleAccountByAccountNoRule in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleAccountByAccountNoRule

        protected abstract Collection<es.caib.seycon.ng.comu.RolAccount> handleFindRoleAccountByAccountNoRule​(long accountId)
                                                                                                       throws Exception
        Throws:
        Exception
      • findRoleGrantHierarchyByAccount

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolGrantHierarchy> findRoleGrantHierarchyByAccount​(long accountId)
                                                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleGrantHierarchyByAccount in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleGrantHierarchyByAccount

        protected abstract Collection<es.caib.seycon.ng.comu.RolGrantHierarchy> handleFindRoleGrantHierarchyByAccount​(long accountId)
                                                                                                               throws Exception
        Throws:
        Exception
      • findRoleGrantHierarchyByUser

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolGrantHierarchy> findRoleGrantHierarchyByUser​(long userId)
                                                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleGrantHierarchyByUser in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleGrantHierarchyByUser

        protected abstract Collection<es.caib.seycon.ng.comu.RolGrantHierarchy> handleFindRoleGrantHierarchyByUser​(long userId)
                                                                                                            throws Exception
        Throws:
        Exception
      • findRoleGrantsByGroup

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolGrant> findRoleGrantsByGroup​(es.caib.seycon.ng.comu.Grup grup)
                                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleGrantsByGroup in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleGrantsByGroup

        protected abstract Collection<es.caib.seycon.ng.comu.RolGrant> handleFindRoleGrantsByGroup​(es.caib.seycon.ng.comu.Grup grup)
                                                                                            throws Exception
        Throws:
        Exception
      • findRolsByCodiAplicacio

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Rol> findRolsByCodiAplicacio​(String codiAplicacio)
                                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolsByCodiAplicacio in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRolsByCodiAplicacio

        protected abstract Collection<es.caib.seycon.ng.comu.Rol> handleFindRolsByCodiAplicacio​(String codiAplicacio)
                                                                                         throws Exception
        Throws:
        Exception
      • findRolsByCodiAplicacioSenseRestriccions

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Rol> findRolsByCodiAplicacioSenseRestriccions​(String codiAplicacio)
                                                                                        throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolsByCodiAplicacioSenseRestriccions in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRolsByCodiAplicacioSenseRestriccions

        protected abstract Collection<es.caib.seycon.ng.comu.Rol> handleFindRolsByCodiAplicacioSenseRestriccions​(String codiAplicacio)
                                                                                                          throws Exception
        Throws:
        Exception
      • findRolsByCodiUsuari

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Rol> findRolsByCodiUsuari​(String codiUsuari)
                                                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolsByCodiUsuari in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRolsByCodiUsuari

        protected abstract Collection<es.caib.seycon.ng.comu.Rol> handleFindRolsByCodiUsuari​(String codiUsuari)
                                                                                      throws Exception
        Throws:
        Exception
      • findRolsByFiltre

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Rol> findRolsByFiltre​(String nom,
                                                                       String descripcio,
                                                                       String defecte,
                                                                       String baseDeDades,
                                                                       String contrasenya,
                                                                       String codiAplicacio)
                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolsByFiltre in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRolsByFiltre

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Rol> findRolsByFiltre​(String nom,
                                                                       String descripcio,
                                                                       String defecte,
                                                                       String baseDeDades,
                                                                       String contrasenya,
                                                                       String codiAplicacio,
                                                                       String gestionableWF)
                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolsByFiltre in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRolsByNomDominiAndCodiAplicacio

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Rol> findRolsByNomDominiAndCodiAplicacio​(String nomDomini,
                                                                                          String codiAplicacio)
                                                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolsByNomDominiAndCodiAplicacio in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRolsByNomDominiAndCodiAplicacio

        protected abstract Collection<es.caib.seycon.ng.comu.Rol> handleFindRolsByNomDominiAndCodiAplicacio​(String nomDomini,
                                                                                                            String codiAplicacio)
                                                                                                     throws Exception
        Throws:
        Exception
      • findRolsOtorgatsalGrupByGrup

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Rol> findRolsOtorgatsalGrupByGrup​(es.caib.seycon.ng.comu.Grup grup)
                                                                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolsOtorgatsalGrupByGrup in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRolsOtorgatsalGrupByGrup

        protected abstract Collection<es.caib.seycon.ng.comu.Rol> handleFindRolsOtorgatsalGrupByGrup​(es.caib.seycon.ng.comu.Grup grup)
                                                                                              throws Exception
        Throws:
        Exception
      • findRolsUsuariByNomRolAndCodiAplicacioRolAndCodiDispatcher

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolAccount> findRolsUsuariByNomRolAndCodiAplicacioRolAndCodiDispatcher​(String nomRole,
                                                                                                                        String codiAplicacioRol,
                                                                                                                        String codiDispatcher)
                                                                                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolsUsuariByNomRolAndCodiAplicacioRolAndCodiDispatcher in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRolsUsuariByNomRolAndCodiAplicacioRolAndCodiDispatcher

        protected abstract Collection<es.caib.seycon.ng.comu.RolAccount> handleFindRolsUsuariByNomRolAndCodiAplicacioRolAndCodiDispatcher​(String nomRole,
                                                                                                                                          String codiAplicacioRol,
                                                                                                                                          String codiDispatcher)
                                                                                                                                   throws Exception
        Throws:
        Exception
      • findRolsUsuarisByCodiUsuari

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolAccount> findRolsUsuarisByCodiUsuari​(String codiUsuari)
                                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolsUsuarisByCodiUsuari in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRolsUsuarisByCodiUsuari

        protected abstract Collection<es.caib.seycon.ng.comu.RolAccount> handleFindRolsUsuarisByCodiUsuari​(String codiUsuari)
                                                                                                    throws Exception
        Throws:
        Exception
      • findRolsUsuarisByCodiUsuariHistoric

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolAccount> findRolsUsuarisByCodiUsuariHistoric​(String codiUsuari)
                                                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolsUsuarisByCodiUsuariHistoric in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRolsUsuarisByCodiUsuariHistoric

        protected abstract Collection<es.caib.seycon.ng.comu.RolAccount> handleFindRolsUsuarisByCodiUsuariHistoric​(String codiUsuari)
                                                                                                            throws Exception
        Throws:
        Exception
      • findRolsUsuarisByCodiUsuariNoSoD

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolAccount> findRolsUsuarisByCodiUsuariNoSoD​(String codiUsuari)
                                                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolsUsuarisByCodiUsuariNoSoD in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRolsUsuarisByCodiUsuariNoSoD

        protected abstract Collection<es.caib.seycon.ng.comu.RolAccount> handleFindRolsUsuarisByCodiUsuariNoSoD​(String codiUsuari)
                                                                                                         throws Exception
        Throws:
        Exception
      • findRolsUsuarisByInformationSystem

        @Transactional(rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolAccount> findRolsUsuarisByInformationSystem​(String informationSystem)
                                                                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRolsUsuarisByInformationSystem in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRolsUsuarisByInformationSystem

        protected abstract Collection<es.caib.seycon.ng.comu.RolAccount> handleFindRolsUsuarisByInformationSystem​(String informationSystem)
                                                                                                           throws Exception
        Throws:
        Exception
      • findUserRolesByUserNameNoRules

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolAccount> findUserRolesByUserNameNoRules​(String codiUsuari)
                                                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findUserRolesByUserNameNoRules in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindUserRolesByUserNameNoRules

        protected abstract Collection<es.caib.seycon.ng.comu.RolAccount> handleFindUserRolesByUserNameNoRules​(String codiUsuari)
                                                                                                       throws Exception
        Throws:
        Exception
      • findUsuarisByNomRolAndCodiAplicacioRolAndCodiDispatcher

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Usuari> findUsuarisByNomRolAndCodiAplicacioRolAndCodiDispatcher​(String nomRole,
                                                                                                                 String codiAplicacioRol,
                                                                                                                 String codiDispatcher)
                                                                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findUsuarisByNomRolAndCodiAplicacioRolAndCodiDispatcher in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindUsuarisByNomRolAndCodiAplicacioRolAndCodiDispatcher

        protected abstract Collection<es.caib.seycon.ng.comu.Usuari> handleFindUsuarisByNomRolAndCodiAplicacioRolAndCodiDispatcher​(String nomRole,
                                                                                                                                   String codiAplicacioRol,
                                                                                                                                   String codiDispatcher)
                                                                                                                            throws Exception
        Throws:
        Exception
      • getAplicacions

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

        protected abstract Collection<es.caib.seycon.ng.comu.Aplicacio> handleGetAplicacions()
                                                                                      throws Exception
        Throws:
        Exception
      • getNotificacionsPendents

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<Object> getNotificacionsPendents​(String codiAplicacio)
                                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getNotificacionsPendents in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getRols

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Aplicacio> findApplicationByJsonQuery​(String query)
                                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationByJsonQuery in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationByJsonQuery

        protected abstract List<es.caib.seycon.ng.comu.Aplicacio> handleFindApplicationByJsonQuery​(String query)
                                                                                            throws Exception
        Throws:
        Exception
      • findApplicationByText

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Aplicacio> findApplicationByText​(String text)
                                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationByText in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationByText

        protected abstract List<es.caib.seycon.ng.comu.Aplicacio> handleFindApplicationByText​(String text)
                                                                                       throws Exception
        Throws:
        Exception
      • findApplicationByTextAndFilter

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Aplicacio> findApplicationByTextAndFilter​(String text,
                                                                                     String filter)
                                                                              throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationByTextAndFilter in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindApplicationByTextAndFilter

        protected abstract List<es.caib.seycon.ng.comu.Aplicacio> handleFindApplicationByTextAndFilter​(String text,
                                                                                                       String filter)
                                                                                                throws Exception
        Throws:
        Exception
      • findRoleByJsonQuery

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Rol> findRoleByJsonQuery​(String query)
                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleByJsonQuery in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleByJsonQuery

        protected abstract List<es.caib.seycon.ng.comu.Rol> handleFindRoleByJsonQuery​(String query)
                                                                               throws Exception
        Throws:
        Exception
      • findRoleByText

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Rol> findRoleByText​(String text)
                                                        throws es.caib.seycon.ng.exception.InternalErrorException,
                                                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleByText in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleByText

        protected abstract List<es.caib.seycon.ng.comu.Rol> handleFindRoleByText​(String text)
                                                                          throws Exception
        Throws:
        Exception
      • findRoleByTextAndFilter

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Rol> findRoleByTextAndFilter​(String text,
                                                                        String filter)
                                                                 throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRoleByTextAndFilter in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindRoleByTextAndFilter

        protected abstract List<es.caib.seycon.ng.comu.Rol> handleFindRoleByTextAndFilter​(String text,
                                                                                          String filter)
                                                                                   throws Exception
        Throws:
        Exception
      • approveDelete

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void approveDelete​(es.caib.seycon.ng.comu.RolAccount rolsUsuaris)
                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        approveDelete in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleApproveDelete

        protected abstract void handleApproveDelete​(es.caib.seycon.ng.comu.RolAccount rolsUsuaris)
                                             throws Exception
        Throws:
        Exception
      • delete

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

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

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

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

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

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

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

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

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

        protected abstract void handleDelete​(es.caib.seycon.ng.comu.RolGrant grant)
                                      throws Exception
        Throws:
        Exception
      • deleteByRuleEvaluation

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void deleteByRuleEvaluation​(es.caib.seycon.ng.comu.RolAccount rolsUsuaris)
                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        deleteByRuleEvaluation in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDeleteByRuleEvaluation

        protected abstract void handleDeleteByRuleEvaluation​(es.caib.seycon.ng.comu.RolAccount rolsUsuaris)
                                                      throws Exception
        Throws:
        Exception
      • deleteNotificacionsEnviades

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void deleteNotificacionsEnviades​(String codiAplicacio,
                                                Date dataDelete)
                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        deleteNotificacionsEnviades in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDeleteNotificacionsEnviades

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void denyApproval​(es.caib.seycon.ng.comu.RolAccount rolsUsuaris)
                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        denyApproval in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDenyApproval

        protected abstract void handleDenyApproval​(es.caib.seycon.ng.comu.RolAccount rolsUsuaris)
                                            throws Exception
        Throws:
        Exception
      • denyDelete

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void denyDelete​(es.caib.seycon.ng.comu.RolAccount rolsUsuaris)
                        throws es.caib.seycon.ng.exception.InternalErrorException,
                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        denyDelete in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleDenyDelete

        protected abstract void handleDenyDelete​(es.caib.seycon.ng.comu.RolAccount rolsUsuaris)
                                          throws Exception
        Throws:
        Exception
      • enableOrDisableAllOnDates

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

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

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

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       noRollbackFor=java.lang.Exception.class)
        public void synchronizeRole​(es.caib.seycon.ng.comu.Rol rol)
                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        synchronizeRole in interface es.caib.seycon.ng.servei.AplicacioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleSynchronizeRole

        protected abstract void handleSynchronizeRole​(es.caib.seycon.ng.comu.Rol rol)
                                               throws Exception
        Throws:
        Exception
      • update

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

        protected abstract void handleUpdate​(es.caib.seycon.ng.comu.Aplicacio aplicacio)
                                      throws Exception
        Throws:
        Exception
      • getPrincipal

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