Class GrupServiceBaseProxy

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

    public class GrupServiceBaseProxy
    extends Object
    implements es.caib.seycon.ng.servei.GrupService

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

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

      • GrupServiceBaseProxy

        public GrupServiceBaseProxy()
    • Method Detail

      • setGroupService

        public void setGroupService​(com.soffid.iam.service.GroupService groupService)
        Sets reference to groupService.
      • getGroupService

        public com.soffid.iam.service.GroupService getGroupService()
        Gets reference to groupService.
      • findGroupByJsonQueryAsync

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

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

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

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

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

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

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

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

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

        @Transactional(rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Grup createHistoric​(es.caib.seycon.ng.comu.Grup grup)
                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        createHistoric in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findGroupByGroupNameAndDate

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Grup findGroupByGroupNameAndDate​(String codi,
                                                                       Date date)
                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findGroupByGroupNameAndDate in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findGrupByCodiGrup

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Grup findGrupById​(Long grupId)
                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findGrupById in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findGrupPrimariByCodiUsuari

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Grup findGrupPrimariByCodiUsuari​(String codiUsuari)
                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findGrupPrimariByCodiUsuari in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getSuperGrup

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Grup getSuperGrup​(String codiGrup)
                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getSuperGrup in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • update

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Maquina getServidorOfimatic​(es.caib.seycon.ng.comu.Grup grup)
                                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getServidorOfimatic in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • create

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.UsuariGrup findUsuariGrupByCodiUsuariAndCodiGrup​(String codiUsuari,
                                                                                       String codiGrup)
                                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findUsuariGrupByCodiUsuariAndCodiGrup in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • update

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       readOnly=true)
        public Collection<String> findGroupNames()
                                          throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findGroupNames in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findGrupsByCodiUsuari

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Grup> findGrupsByFiltre​(String codi,
                                                                         String pare,
                                                                         String unitatOfimatica,
                                                                         String descripcio,
                                                                         String tipus,
                                                                         String obsolet)
                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findGrupsByFiltre in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findGrupsByFiltre

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Grup> findGrupsByFiltre​(String codi,
                                                                         String pare,
                                                                         String unitatOfimatica,
                                                                         String descripcio,
                                                                         String tipus,
                                                                         String obsolet,
                                                                         String servidorOfimatic,
                                                                         String seccioPressupostaria)
                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findGrupsByFiltre in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findGrupsByTipusGrup

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Grup> findGrupsByTipusGrup​(String tipus)
                                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findGrupsByTipusGrup in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findGrupsFromRolsByCodiUsuari

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

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

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

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Grup> findSubGrupsByCodiGrup​(String codi)
                                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findSubGrupsByCodiGrup in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findSubGrupsByCodiGrupAndDate

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Grup> findSubGrupsByCodiGrupAndDate​(String codi,
                                                                                     Date date)
                                                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findSubGrupsByCodiGrupAndDate in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findUserGroupHistoryByUserName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.UsuariGrup> findUserGroupHistoryByUserName​(String userName)
                                                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findUserGroupHistoryByUserName in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findUsuariGrupsByCodiUsuari

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

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.UsuariGrup> findUsuarisPertanyenAlGrupByCodiGrup​(String codiGrup,
                                                                                                  Date date)
                                                                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findUsuarisPertanyenAlGrupByCodiGrup in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getConselleriesAmbDireccionsGenerals

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

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Grup> getLlistaDePares​(String codiGrup)
                                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getLlistaDePares in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getRolsFromGrup

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.RolsGrup> getRolsFromGrup​(String codiGrup)
                                                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getRolsFromGrup in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getRolsFromGrupYParesGrup

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

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

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

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void addGrupToUsuari​(String codiUsuari,
                                    String codiGrup)
                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        addGrupToUsuari in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • delete

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

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

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void removeGrupFromUsuari​(String codiUsuari,
                                         String codiGrup)
                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        removeGrupFromUsuari in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • setSuperGrup

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void setSuperGrup​(String codiSubGrup,
                                 String codiSuperGrup)
                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        setSuperGrup in interface es.caib.seycon.ng.servei.GrupService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getPrincipal

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