Class NetworkServiceBase

  • All Implemented Interfaces:
    com.soffid.iam.service.NetworkService
    Direct Known Subclasses:
    NetworkServiceImpl

    public abstract class NetworkServiceBase
    extends Object
    implements com.soffid.iam.service.NetworkService

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

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

      • NetworkServiceBase

        public NetworkServiceBase()
    • Method Detail

      • setHostAliasEntityDao

        public void setHostAliasEntityDao​(HostAliasEntityDao aliasMaquinaEntityDao)
        Sets reference to aliasMaquinaEntityDao.
      • getHostAliasEntityDao

        public HostAliasEntityDao getHostAliasEntityDao()
        Gets reference to aliasMaquinaEntityDao.
      • setApplicationService

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

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

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

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

        public void setAttributeValidationService​(AttributeValidationService attributeValidationService)
        Sets reference to attributeValidationService.
      • getAttributeValidationService

        public AttributeValidationService getAttributeValidationService()
        Gets reference to attributeValidationService.
      • setAuditEntityDao

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

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

        public void setHostAdminEntityDao​(HostAdminEntityDao autoritzacioAccesHostComAdministradorEntityDao)
        Sets reference to autoritzacioAccesHostComAdministradorEntityDao.
      • getHostAdminEntityDao

        public HostAdminEntityDao getHostAdminEntityDao()
        Gets reference to autoritzacioAccesHostComAdministradorEntityDao.
      • setSystemEntityDao

        public void setSystemEntityDao​(SystemEntityDao dispatcherEntityDao)
        Sets reference to dispatcherEntityDao.
      • getSystemEntityDao

        public SystemEntityDao getSystemEntityDao()
        Gets reference to dispatcherEntityDao.
      • setDispatcherService

        public void setDispatcherService​(com.soffid.iam.service.DispatcherService dispatcherService)
        Sets reference to dispatcherService.
      • getDispatcherService

        public com.soffid.iam.service.DispatcherService getDispatcherService()
        Gets reference to dispatcherService.
      • setGroupEntityDao

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

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

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

        public com.soffid.iam.service.GroupService getGroupService()
        Gets reference to grupService.
      • setHostAttributeEntityDao

        public void setHostAttributeEntityDao​(HostAttributeEntityDao hostAttributeEntityDao)
        Sets reference to hostAttributeEntityDao.
      • getHostAttributeEntityDao

        public HostAttributeEntityDao getHostAttributeEntityDao()
        Gets reference to hostAttributeEntityDao.
      • setHostEntryPointEntityDao

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

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

        public void setHostSystemEntityDao​(HostSystemEntityDao hostSystemEntityDao)
        Sets reference to hostSystemEntityDao.
      • getHostSystemEntityDao

        public HostSystemEntityDao getHostSystemEntityDao()
        Gets reference to hostSystemEntityDao.
      • setPrinterService

        public void setPrinterService​(com.soffid.iam.service.PrinterService impressoraService)
        Sets reference to impressoraService.
      • getPrinterService

        public com.soffid.iam.service.PrinterService getPrinterService()
        Gets reference to impressoraService.
      • setHostEntityDao

        public void setHostEntityDao​(HostEntityDao maquinaEntityDao)
        Sets reference to maquinaEntityDao.
      • getHostEntityDao

        public HostEntityDao getHostEntityDao()
        Gets reference to maquinaEntityDao.
      • setNetworkDiscoverRangeEntityDao

        public void setNetworkDiscoverRangeEntityDao​(NetworkDiscoverRangeEntityDao networkDiscoverRangeEntityDao)
        Sets reference to networkDiscoverRangeEntityDao.
      • getNetworkDiscoverRangeEntityDao

        public NetworkDiscoverRangeEntityDao getNetworkDiscoverRangeEntityDao()
        Gets reference to networkDiscoverRangeEntityDao.
      • setOsTypeEntityDao

        public void setOsTypeEntityDao​(OsTypeEntityDao osTypeEntityDao)
        Sets reference to osTypeEntityDao.
      • getOsTypeEntityDao

        public OsTypeEntityDao getOsTypeEntityDao()
        Gets reference to osTypeEntityDao.
      • setEntryPointEntityDao

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

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

        public void setEntryPointService​(com.soffid.iam.service.EntryPointService puntEntradaService)
        Sets reference to puntEntradaService.
      • getEntryPointService

        public com.soffid.iam.service.EntryPointService getEntryPointService()
        Gets reference to puntEntradaService.
      • setAccessLogEntityDao

        public void setAccessLogEntityDao​(AccessLogEntityDao registreAccesEntityDao)
        Sets reference to registreAccesEntityDao.
      • getAccessLogEntityDao

        public AccessLogEntityDao getAccessLogEntityDao()
        Gets reference to registreAccesEntityDao.
      • setRoleEntityDao

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

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

        public void setSessionEntityDao​(SessionEntityDao sessioEntityDao)
        Sets reference to sessioEntityDao.
      • getSessionEntityDao

        public SessionEntityDao getSessionEntityDao()
        Gets reference to sessioEntityDao.
      • setTaskEntityDao

        public void setTaskEntityDao​(TaskEntityDao tasqueEntityDao)
        Sets reference to tasqueEntityDao.
      • getTaskEntityDao

        public TaskEntityDao getTaskEntityDao()
        Gets reference to tasqueEntityDao.
      • setMetaDataEntityDao

        public void setMetaDataEntityDao​(MetaDataEntityDao tipusDadaEntityDao)
        Sets reference to tipusDadaEntityDao.
      • getMetaDataEntityDao

        public MetaDataEntityDao getMetaDataEntityDao()
        Gets reference to tipusDadaEntityDao.
      • setUserEntityDao

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

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

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

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

        public void setNetworkAuthorizationEntityDao​(NetworkAuthorizationEntityDao xarxaACEntityDao)
        Sets reference to xarxaACEntityDao.
      • setNetworkEntityDao

        public void setNetworkEntityDao​(NetworkEntityDao xarxaEntityDao)
        Sets reference to xarxaEntityDao.
      • getNetworkEntityDao

        public NetworkEntityDao getNetworkEntityDao()
        Gets reference to xarxaEntityDao.
      • 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 com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findHostByTextAndJsonQueryAsync

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

        protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.Host> handleFindHostByTextAndJsonQueryAsync​(String text,
                                                                                                                       String jsonQuery)
                                                                                                                throws Exception
        Throws:
        Exception
      • findNetworkByTextAndJsonQueryAsync

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

        protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.Network> handleFindNetworkByTextAndJsonQueryAsync​(String text,
                                                                                                                             String jsonQuery)
                                                                                                                      throws Exception
        Throws:
        Exception
      • findHostByTextAndJsonQuery

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

        protected abstract com.soffid.iam.api.PagedResult<com.soffid.iam.api.Host> handleFindHostByTextAndJsonQuery​(String text,
                                                                                                                    String jsonQuery,
                                                                                                                    Integer start,
                                                                                                                    Integer pageSize)
                                                                                                             throws Exception
        Throws:
        Exception
      • findNetworkByTextAndJsonQuery

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

        protected abstract com.soffid.iam.api.PagedResult<com.soffid.iam.api.Network> handleFindNetworkByTextAndJsonQuery​(String text,
                                                                                                                          String jsonQuery,
                                                                                                                          Integer start,
                                                                                                                          Integer pageSize)
                                                                                                                   throws Exception
        Throws:
        Exception
      • create

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

        protected abstract com.soffid.iam.api.HostAlias handleCreate​(com.soffid.iam.api.HostAlias aliasMaquina)
                                                              throws Exception
        Throws:
        Exception
      • create

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

        protected abstract com.soffid.iam.api.AdministratorAuthorizationToAccessHost handleCreate​(com.soffid.iam.api.AdministratorAuthorizationToAccessHost autoritzacioAccesComAdministrador)
                                                                                           throws Exception
        Throws:
        Exception
      • revokeAdministratorAccessHost

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.AdministratorAuthorizationToAccessHost revokeAdministratorAccessHost​(com.soffid.iam.api.AdministratorAuthorizationToAccessHost autoritzacioAccesComAdministrador)
                                                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        revokeAdministratorAccessHost in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleRevokeAdministratorAccessHost

        protected abstract com.soffid.iam.api.AdministratorAuthorizationToAccessHost handleRevokeAdministratorAccessHost​(com.soffid.iam.api.AdministratorAuthorizationToAccessHost autoritzacioAccesComAdministrador)
                                                                                                                  throws Exception
        Throws:
        Exception
      • findIdentityByName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.Identity findIdentityByName​(String codi)
                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findIdentityByName in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindIdentityByName

        protected abstract com.soffid.iam.api.Identity handleFindIdentityByName​(String codi)
                                                                         throws Exception
        Throws:
        Exception
      • create

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

        protected abstract com.soffid.iam.api.Host handleCreate​(com.soffid.iam.api.Host maquina)
                                                         throws Exception
        Throws:
        Exception
      • findHostById

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.Host findHostById​(Long idMaquina)
                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findHostById in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindHostById

        protected abstract com.soffid.iam.api.Host handleFindHostById​(Long idMaquina)
                                                               throws Exception
        Throws:
        Exception
      • findHostByIp

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.Host findHostByIp​(String ip)
                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findHostByIp in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindHostByIp

        protected abstract com.soffid.iam.api.Host handleFindHostByIp​(String ip)
                                                               throws Exception
        Throws:
        Exception
      • findHostByName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.Host findHostByName​(String nom)
                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findHostByName in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindHostByName

        protected abstract com.soffid.iam.api.Host handleFindHostByName​(String nom)
                                                                 throws Exception
        Throws:
        Exception
      • findHostBySerialNumber

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.Host findHostBySerialNumber​(String serialNumber)
                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findHostBySerialNumber in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindHostBySerialNumber

        protected abstract com.soffid.iam.api.Host handleFindHostBySerialNumber​(String serialNumber)
                                                                         throws Exception
        Throws:
        Exception
      • registerDynamicIP

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackForClassName="java.lang.Exception",
                       noRollbackForClassName={"es.caib.seycon.ng.exception.UnknownNetworkException","es.caib.seycon.ng.exception.UnknownHostException"})
        public com.soffid.iam.api.Host 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 com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.seycon.ng.exception.UnknownHostException
        es.caib.seycon.ng.exception.UnknownNetworkException
      • handleRegisterDynamicIP

        protected abstract com.soffid.iam.api.Host handleRegisterDynamicIP​(String nomMaquina,
                                                                           String ip,
                                                                           String serialNumber)
                                                                    throws Exception
        Throws:
        Exception
      • create

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

        protected abstract com.soffid.iam.api.NetworkAuthorization handleCreate​(com.soffid.iam.api.NetworkAuthorization accessList)
                                                                         throws Exception
        Throws:
        Exception
      • findNetworkAuthorizationsByNetworkNameAndIdentityName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.NetworkAuthorization findNetworkAuthorizationsByNetworkNameAndIdentityName​(String codiXarxa,
                                                                                                             String codiIdentitat)
                                                                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findNetworkAuthorizationsByNetworkNameAndIdentityName in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindNetworkAuthorizationsByNetworkNameAndIdentityName

        protected abstract com.soffid.iam.api.NetworkAuthorization handleFindNetworkAuthorizationsByNetworkNameAndIdentityName​(String codiXarxa,
                                                                                                                               String codiIdentitat)
                                                                                                                        throws Exception
        Throws:
        Exception
      • update

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

        protected abstract com.soffid.iam.api.NetworkAuthorization handleUpdate​(com.soffid.iam.api.NetworkAuthorization accessList)
                                                                         throws Exception
        Throws:
        Exception
      • create

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

        protected abstract com.soffid.iam.api.OsType handleCreate​(com.soffid.iam.api.OsType osType)
                                                           throws Exception
        Throws:
        Exception
      • findOSTypeById

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.OsType findOSTypeById​(Long osId)
                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findOSTypeById in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindOSTypeById

        protected abstract com.soffid.iam.api.OsType handleFindOSTypeById​(Long osId)
                                                                   throws Exception
        Throws:
        Exception
      • findOSTypeByName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.OsType findOSTypeByName​(String osName)
                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findOSTypeByName in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindOSTypeByName

        protected abstract com.soffid.iam.api.OsType handleFindOSTypeByName​(String osName)
                                                                     throws Exception
        Throws:
        Exception
      • create

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

        protected abstract com.soffid.iam.api.Network handleCreate​(com.soffid.iam.api.Network xarxa)
                                                            throws Exception
        Throws:
        Exception
      • findNetworkByIpAddress

        @Transactional(rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.Network findNetworkByIpAddress​(String ipAdress)
                                                          throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findNetworkByIpAddress in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindNetworkByIpAddress

        protected abstract com.soffid.iam.api.Network handleFindNetworkByIpAddress​(String ipAdress)
                                                                            throws Exception
        Throws:
        Exception
      • findNetworkByName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public com.soffid.iam.api.Network findNetworkByName​(String codi)
                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findNetworkByName in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindNetworkByName

        protected abstract com.soffid.iam.api.Network handleFindNetworkByName​(String codi)
                                                                       throws Exception
        Throws:
        Exception
      • isManaged

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Boolean isManaged​(String codiXarxa)
                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        isManaged in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • hasAnyACLNetworks

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Boolean hasAnyACLNetworks​(String codiUsuari)
                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        hasAnyACLNetworks in interface com.soffid.iam.service.NetworkService
        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 com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • hasNetworkAccess

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Boolean hasManagedNetwork()
                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        hasManagedNetwork in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAccessLevelByHostNameAndNetworkName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Long findAccessLevelByHostNameAndNetworkName​(String nomMaquina,
                                                            String codiXarxa)
                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAccessLevelByHostNameAndNetworkName in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindAccessLevelByHostNameAndNetworkName

        protected abstract Long handleFindAccessLevelByHostNameAndNetworkName​(String nomMaquina,
                                                                              String codiXarxa)
                                                                       throws Exception
        Throws:
        Exception
      • getAvailableIPs

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Long getAvailableIPs​(String codiXarxa)
                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getAvailableIPs in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getNotAvailableIPs

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Long getNotAvailableIPs​(String codiXarxa)
                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getNotAvailableIPs in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getFirstAvailableIP

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

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public String[] getTasks​(String nomMaquina)
                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getTasks in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getHostAdminUserAndPassword

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public String[] getHostAdminUserAndPassword​(String nomMaquina)
                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getHostAdminUserAndPassword in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetHostAdminUserAndPassword

        protected abstract String[] handleGetHostAdminUserAndPassword​(String nomMaquina)
                                                               throws Exception
        Throws:
        Exception
      • findALLNetworkAuthorizationsByUserName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.NetworkAuthorization> findALLNetworkAuthorizationsByUserName​(String codiUsuari)
                                                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findALLNetworkAuthorizationsByUserName in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindALLNetworkAuthorizationsByUserName

        protected abstract List<com.soffid.iam.api.NetworkAuthorization> handleFindALLNetworkAuthorizationsByUserName​(String codiUsuari)
                                                                                                               throws Exception
        Throws:
        Exception
      • findAliasByHostName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.HostAlias> findAliasByHostName​(String nomMaquina)
                                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAliasByHostName in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindAliasByHostName

        protected abstract List<com.soffid.iam.api.HostAlias> handleFindAliasByHostName​(String nomMaquina)
                                                                                 throws Exception
        Throws:
        Exception
      • findAllOSTypes

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.OsType> findAllOSTypes()
                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAllOSTypes in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindAllOSTypes

        protected abstract List<com.soffid.iam.api.OsType> handleFindAllOSTypes()
                                                                         throws Exception
        Throws:
        Exception
      • findAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.AdministratorAuthorizationToAccessHost> findAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate​(String nomHost,
                                                                                                                                                          String dataPeticio,
                                                                                                                                                          String dataCaducitat)
                                                                                                                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate

        protected abstract List<com.soffid.iam.api.AdministratorAuthorizationToAccessHost> handleFindAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate​(String nomHost,
                                                                                                                                                                            String dataPeticio,
                                                                                                                                                                            String dataCaducitat)
                                                                                                                                                                     throws Exception
        Throws:
        Exception
      • findHostsByNetwork_Discovery

        @Transactional(rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.Host> findHostsByNetwork_Discovery​(com.soffid.iam.api.Network parent,
                                                                          String text)
                                                                   throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findHostsByNetwork_Discovery in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindHostsByNetwork_Discovery

        protected abstract List<com.soffid.iam.api.Host> handleFindHostsByNetwork_Discovery​(com.soffid.iam.api.Network parent,
                                                                                            String text)
                                                                                     throws Exception
        Throws:
        Exception
      • findIdentitiesByName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.Identity> findIdentitiesByName​(String codi)
                                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findIdentitiesByName in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindIdentitiesByName

        protected abstract List<com.soffid.iam.api.Identity> handleFindIdentitiesByName​(String codi)
                                                                                 throws Exception
        Throws:
        Exception
      • findHostByFilter

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.Host> findHostByFilter​(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:
        findHostByFilter in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findHostByFilterUnrestricted

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.Host> findHostByFilterUnrestricted​(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:
        findHostByFilterUnrestricted in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findOfficeHostUserByFilter

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.Host> findOfficeHostUserByFilter​(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:
        findOfficeHostUserByFilter in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findHostsByNetwork

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.Host> findHostsByNetwork​(com.soffid.iam.api.Network xarxa)
                                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findHostsByNetwork in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindHostsByNetwork

        protected abstract List<com.soffid.iam.api.Host> handleFindHostsByNetwork​(com.soffid.iam.api.Network xarxa)
                                                                           throws Exception
        Throws:
        Exception
      • findNetworkAuthorizationsByGroupName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.NetworkAuthorization> findNetworkAuthorizationsByGroupName​(String codiGrup)
                                                                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findNetworkAuthorizationsByGroupName in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindNetworkAuthorizationsByGroupName

        protected abstract List<com.soffid.iam.api.NetworkAuthorization> handleFindNetworkAuthorizationsByGroupName​(String codiGrup)
                                                                                                             throws Exception
        Throws:
        Exception
      • findNetworkAuthorizationsByUserName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.NetworkAuthorization> findNetworkAuthorizationsByUserName​(String codiUsuari)
                                                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findNetworkAuthorizationsByUserName in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindNetworkAuthorizationsByUserName

        protected abstract List<com.soffid.iam.api.NetworkAuthorization> handleFindNetworkAuthorizationsByUserName​(String codiUsuari)
                                                                                                            throws Exception
        Throws:
        Exception
      • findNetworkAuthorizationsByRoleName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.NetworkAuthorization> findNetworkAuthorizationsByRoleName​(String nomRol)
                                                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findNetworkAuthorizationsByRoleName in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindNetworkAuthorizationsByRoleName

        protected abstract List<com.soffid.iam.api.NetworkAuthorization> handleFindNetworkAuthorizationsByRoleName​(String nomRol)
                                                                                                            throws Exception
        Throws:
        Exception
      • findNetworkByText_Discovery

        @Transactional(rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.Network> findNetworkByText_Discovery​(String text)
                                                                     throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findNetworkByText_Discovery in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindNetworkByText_Discovery

        protected abstract List<com.soffid.iam.api.Network> handleFindNetworkByText_Discovery​(String text)
                                                                                       throws Exception
        Throws:
        Exception
      • findSessionsByHostName

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.Session> findSessionsByHostName​(String codiMaquina)
                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findSessionsByHostName in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleFindSessionsByHostName

        protected abstract List<com.soffid.iam.api.Session> handleFindSessionsByHostName​(String codiMaquina)
                                                                                  throws Exception
        Throws:
        Exception
      • findNetworkByFilter

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.Network> findNetworkByFilter​(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:
        findNetworkByFilter in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getACL

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.NetworkAuthorization> getACL​(com.soffid.iam.api.Network xarxa)
                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getACL in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetACL

        protected abstract List<com.soffid.iam.api.NetworkAuthorization> handleGetACL​(com.soffid.iam.api.Network xarxa)
                                                                               throws Exception
        Throws:
        Exception
      • getHosts

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.Host> getHosts()
                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getHosts in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetHosts

        protected abstract List<com.soffid.iam.api.Host> handleGetHosts()
                                                                 throws Exception
        Throws:
        Exception
      • getMailServers

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.Host> getMailServers()
                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getMailServers in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetMailServers

        protected abstract List<com.soffid.iam.api.Host> handleGetMailServers()
                                                                       throws Exception
        Throws:
        Exception
      • getHomeServers

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.Host> getHomeServers()
                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getHomeServers in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetHomeServers

        protected abstract List<com.soffid.iam.api.Host> handleGetHomeServers()
                                                                       throws Exception
        Throws:
        Exception
      • getProfileServers

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.Host> getProfileServers()
                                                        throws es.caib.seycon.ng.exception.InternalErrorException,
                                                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getProfileServers in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetProfileServers

        protected abstract List<com.soffid.iam.api.Host> handleGetProfileServers()
                                                                          throws Exception
        Throws:
        Exception
      • getNetworks

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public List<com.soffid.iam.api.Network> getNetworks()
                                                     throws es.caib.seycon.ng.exception.InternalErrorException,
                                                            es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getNetworks in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleGetNetworks

        protected abstract List<com.soffid.iam.api.Network> handleGetNetworks()
                                                                       throws Exception
        Throws:
        Exception
      • delete

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

        protected abstract void handleDelete​(com.soffid.iam.api.HostAlias aliasMaquina)
                                      throws Exception
        Throws:
        Exception
      • delete

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

        protected abstract void handleDelete​(com.soffid.iam.api.Host maquina)
                                      throws Exception
        Throws:
        Exception
      • delete

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

        protected abstract void handleDelete​(com.soffid.iam.api.NetworkAuthorization accessList)
                                      throws Exception
        Throws:
        Exception
      • delete

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

        protected abstract void handleDelete​(com.soffid.iam.api.OsType osType)
                                      throws Exception
        Throws:
        Exception
      • delete

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

        protected abstract void handleDelete​(com.soffid.iam.api.Network xarxa)
                                      throws Exception
        Throws:
        Exception
      • setAdministratorPassword

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void setAdministratorPassword​(String nomMaquina,
                                             String adminUser,
                                             String adminPass)
                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        setAdministratorPassword in interface com.soffid.iam.service.NetworkService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleSetAdministratorPassword

        protected abstract void handleSetAdministratorPassword​(String nomMaquina,
                                                               String adminUser,
                                                               String adminPass)
                                                        throws Exception
        Throws:
        Exception
      • update

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

        protected abstract void handleUpdate​(com.soffid.iam.api.HostAlias aliasMaquina)
                                      throws Exception
        Throws:
        Exception
      • update

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

        protected abstract void handleUpdate​(com.soffid.iam.api.Host maquina)
                                      throws Exception
        Throws:
        Exception
      • update

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

        protected abstract void handleUpdate​(com.soffid.iam.api.OsType osType)
                                      throws Exception
        Throws:
        Exception
      • update

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

        protected abstract void handleUpdate​(com.soffid.iam.api.Network xarxa)
                                      throws Exception
        Throws:
        Exception
      • getPrincipal

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