Class XarxaServiceBaseProxy

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

    public class XarxaServiceBaseProxy
    extends Object
    implements es.caib.seycon.ng.servei.XarxaService

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

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

      • XarxaServiceBaseProxy

        public XarxaServiceBaseProxy()
    • Method Detail

      • setNetworkService

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

        public com.soffid.iam.service.NetworkService getNetworkService()
        Gets reference to networkService.
      • canLogin

        @Transactional(rollbackFor=java.lang.Exception.class)
        public boolean canLogin​(String user,
                                String host)
                         throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        canLogin in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findHostByTextAndJsonQueryAsync

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

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

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Maquina> findHostByTextAndJsonQuery​(String text,
                                                                                                         String jsonQuery,
                                                                                                         Integer start,
                                                                                                         Integer pageSize)
                                                                                                  throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findHostByTextAndJsonQuery in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findNetworkByTextAndJsonQuery

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.PagedResult<es.caib.seycon.ng.comu.Xarxa> findNetworkByTextAndJsonQuery​(String text,
                                                                                                          String jsonQuery,
                                                                                                          Integer start,
                                                                                                          Integer pageSize)
                                                                                                   throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findNetworkByTextAndJsonQuery in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • create

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

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.AutoritzacioAccesHostComAdministrador revocarAccesHostComAdministrador​(es.caib.seycon.ng.comu.AutoritzacioAccesHostComAdministrador autoritzacioAccesComAdministrador)
                                                                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        revocarAccesHostComAdministrador in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findIdentitatByCodi

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

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Maquina findMaquinaById​(Long idMaquina)
                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findMaquinaById in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findMaquinaByIp

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Maquina findMaquinaByIp​(String ip)
                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findMaquinaByIp in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findMaquinaByNom

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Maquina findMaquinaByNom​(String nom)
                                                        throws es.caib.seycon.ng.exception.InternalErrorException,
                                                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findMaquinaByNom in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findMaquinaBySerialNumber

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Maquina findMaquinaBySerialNumber​(String serialNumber)
                                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findMaquinaBySerialNumber in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • registerDynamicIP

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackForClassName="java.lang.Exception",
                       noRollbackForClassName={"es.caib.seycon.ng.exception.UnknownNetworkException","es.caib.seycon.ng.exception.UnknownHostException"})
        public es.caib.seycon.ng.comu.Maquina registerDynamicIP​(String nomMaquina,
                                                                String ip,
                                                                String serialNumber)
                                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                es.caib.seycon.ng.exception.InternalErrorException,
                                                                es.caib.seycon.ng.exception.UnknownHostException,
                                                                es.caib.seycon.ng.exception.UnknownNetworkException
        Specified by:
        registerDynamicIP in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.seycon.ng.exception.UnknownHostException
        es.caib.seycon.ng.exception.UnknownNetworkException
      • create

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

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

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

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.OsType findOSTypeById​(Long osId)
                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findOSTypeById in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findOSTypeByName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.OsType findOSTypeByName​(String osName)
                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findOSTypeByName in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • create

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

        @Transactional(rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Xarxa findNetworkByIpAddress​(String ipAdress)
                                                            throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findNetworkByIpAddress in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findXarxaByCodi

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Boolean esXarxaAdministrada​(String codiXarxa)
                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        esXarxaAdministrada in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • hasAnyACLXarxes

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Boolean hasAnyACLXarxes​(String codiUsuari)
                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        hasAnyACLXarxes in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • launchVNC

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Boolean launchVNC​(Long sessioId)
                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        launchVNC in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • teAccesAXarxa

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Boolean teAccesAXarxa​(String codiUsuari,
                                     String codiXarxa)
                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        teAccesAXarxa in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • teXarxaAdministrada

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Long findNivellAccesByNomMaquinaAndCodiXarxa​(String nomMaquina,
                                                            String codiXarxa)
                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findNivellAccesByNomMaquinaAndCodiXarxa in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getIPsBuides

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Long getIPsBuides​(String codiXarxa)
                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getIPsBuides in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getIPsOcupades

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Long getIPsOcupades​(String codiXarxa)
                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getIPsOcupades in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getPrimeraIPLliure

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public String getPrimeraIPLliure​(String codiXarxa)
                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getPrimeraIPLliure in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getTasques

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public String[] getTasques​(String nomMaquina)
                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getTasques in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getUsuariAndContrasenyaAdministradorHost

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public String[] getUsuariAndContrasenyaAdministradorHost​(String nomMaquina)
                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getUsuariAndContrasenyaAdministradorHost in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findALLNetworkAuthorizationsByCodiUsuari

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.NetworkAuthorization> findALLNetworkAuthorizationsByCodiUsuari​(String codiUsuari)
                                                                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findALLNetworkAuthorizationsByCodiUsuari in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAliasByNomMaquina

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.AliasMaquina> findAliasByNomMaquina​(String nomMaquina)
                                                                        throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAliasByNomMaquina in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAllOSType

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.OsType> findAllOSType()
                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAllOSType in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAutoritzacionsAccesMaquinaComAdministradorByHostAndDataPeticio

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.AutoritzacioAccesHostComAdministrador> findAutoritzacionsAccesMaquinaComAdministradorByHostAndDataPeticio​(String nomHost,
                                                                                                                                                     String dataPeticio,
                                                                                                                                                     String dataCaducitat)
                                                                                                                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAutoritzacionsAccesMaquinaComAdministradorByHostAndDataPeticio in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findHostsByNetwork_Discovery

        @Transactional(rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Maquina> findHostsByNetwork_Discovery​(es.caib.seycon.ng.comu.Xarxa parent,
                                                                                 String text)
                                                                          throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findHostsByNetwork_Discovery in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findIdentitatsByCodi

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Identitat> findIdentitatsByCodi​(String codi)
                                                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findIdentitatsByCodi in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findMaquinaByFiltre

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Maquina> findMaquinaByFiltre​(String nom,
                                                                        String sistemaOperatiu,
                                                                        String adreca,
                                                                        String dhcp,
                                                                        String correu,
                                                                        String ofimatica,
                                                                        String alias,
                                                                        String mac,
                                                                        String descripcio,
                                                                        String xarxa,
                                                                        String usuari,
                                                                        Boolean restringeixCerca)
                                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findMaquinaByFiltre in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findMaquinaByFiltreSenseRestriccions

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Maquina> findMaquinaByFiltreSenseRestriccions​(String nom,
                                                                                         String sistemaOperatiu,
                                                                                         String adreca,
                                                                                         String dhcp,
                                                                                         String correu,
                                                                                         String ofimatica,
                                                                                         String alias,
                                                                                         String mac,
                                                                                         String descripcio,
                                                                                         String xarxa,
                                                                                         String usuari,
                                                                                         Boolean restringeixCerca)
                                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findMaquinaByFiltreSenseRestriccions in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findMaquinaOfirmaticaUsuariByFiltre

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Maquina> findMaquinaOfirmaticaUsuariByFiltre​(String nom,
                                                                                        String sistemaOperatiu,
                                                                                        String adreca,
                                                                                        String dhcp,
                                                                                        String correu,
                                                                                        String ofimatica,
                                                                                        String alias,
                                                                                        String mac,
                                                                                        String descripcio,
                                                                                        String xarxa,
                                                                                        String usuari,
                                                                                        Boolean restringeixCerca,
                                                                                        String servidorImpressores)
                                                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findMaquinaOfirmaticaUsuariByFiltre in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findMaquinesByXarxa

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Maquina> findMaquinesByXarxa​(es.caib.seycon.ng.comu.Xarxa xarxa)
                                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findMaquinesByXarxa in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findNetworkAuthorizationsByCodiGrup

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.NetworkAuthorization> findNetworkAuthorizationsByCodiUsuari​(String codiUsuari)
                                                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findNetworkAuthorizationsByCodiUsuari in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findNetworkAuthorizationsByNomRol

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.NetworkAuthorization> findNetworkAuthorizationsByNomRol​(String nomRol)
                                                                                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findNetworkAuthorizationsByNomRol in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findNetworkByText_Discovery

        @Transactional(rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Xarxa> findNetworkByText_Discovery​(String text)
                                                                       throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findNetworkByText_Discovery in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findSessionsByNomMaquina

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Sessio> findSessionsByNomMaquina​(String codiMaquina)
                                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findSessionsByNomMaquina in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findXarxaByFiltre

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Xarxa> findXarxaByFiltre​(String codi,
                                                                    String adreca,
                                                                    String descripcio,
                                                                    String mascara,
                                                                    String normalitzada,
                                                                    String dhcp,
                                                                    String maquina)
                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findXarxaByFiltre in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getACL

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.NetworkAuthorization> getACL​(es.caib.seycon.ng.comu.Xarxa xarxa)
                                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getACL in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getMaquines

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Maquina> getMaquines()
                                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getMaquines in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getServidorsCorreu

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Maquina> getServidorsCorreu()
                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getServidorsCorreu in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getServidorsHome

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Maquina> getServidorsHome()
                                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getServidorsHome in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getServidorsPerfil

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Maquina> getServidorsPerfil()
                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getServidorsPerfil in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getXarxes

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<es.caib.seycon.ng.comu.Xarxa> getXarxes()
                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getXarxes in interface es.caib.seycon.ng.servei.XarxaService
        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.AliasMaquina aliasMaquina)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface es.caib.seycon.ng.servei.XarxaService
        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.Maquina maquina)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface es.caib.seycon.ng.servei.XarxaService
        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.NetworkAuthorization accessList)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface es.caib.seycon.ng.servei.XarxaService
        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.OsType osType)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface es.caib.seycon.ng.servei.XarxaService
        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.Xarxa xarxa)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • setContrasenyaAdministrador

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void setContrasenyaAdministrador​(String nomMaquina,
                                                String adminUser,
                                                String adminPass)
                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        setContrasenyaAdministrador in interface es.caib.seycon.ng.servei.XarxaService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • update

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

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

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void update​(es.caib.seycon.ng.comu.Xarxa xarxa)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        update in interface es.caib.seycon.ng.servei.XarxaService
        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