Package com.soffid.iam.service
Class NetworkServiceImpl
- java.lang.Object
-
- com.soffid.iam.service.NetworkServiceBase
-
- com.soffid.iam.service.NetworkServiceImpl
-
- All Implemented Interfaces:
com.soffid.iam.service.NetworkService
public class NetworkServiceImpl extends NetworkServiceBase
- See Also:
XarxaService
-
-
Field Summary
Fields Modifier and Type Field Description static intADMINISTRACIOstatic intCONSULTAstatic intLOGINstatic intSENSE_PERMISOSstatic intSUPORT
-
Constructor Summary
Constructors Constructor Description NetworkServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateHostTask(HostEntity host)protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.Network>doFindNetworkByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize, List<com.soffid.iam.api.Network> result, String[] primaryAttributes)protected booleanhandleCanLogin(String user, String host)protected com.soffid.iam.api.AdministratorAuthorizationToAccessHosthandleCreate(com.soffid.iam.api.AdministratorAuthorizationToAccessHost autoritzacioAccesComAdministrador)protected com.soffid.iam.api.HosthandleCreate(com.soffid.iam.api.Host maquina)protected com.soffid.iam.api.HostAliashandleCreate(com.soffid.iam.api.HostAlias aliasMaquina)protected com.soffid.iam.api.NetworkhandleCreate(com.soffid.iam.api.Network xarxa)protected com.soffid.iam.api.NetworkAuthorizationhandleCreate(com.soffid.iam.api.NetworkAuthorization accessList)protected com.soffid.iam.api.OsTypehandleCreate(com.soffid.iam.api.OsType osType)protected voidhandleDelete(com.soffid.iam.api.Host maquina)protected voidhandleDelete(com.soffid.iam.api.HostAlias aliasMaquina)protected voidhandleDelete(com.soffid.iam.api.Network xarxa)protected voidhandleDelete(com.soffid.iam.api.NetworkAuthorization accessList)protected voidhandleDelete(com.soffid.iam.api.OsType osType)protected LonghandleFindAccessLevelByHostNameAndNetworkName(String nomMaquina, String codiXarxa)protected List<com.soffid.iam.api.HostAlias>handleFindAliasByHostName(String nomMaquina)protected List<com.soffid.iam.api.NetworkAuthorization>handleFindALLNetworkAuthorizationsByUserName(String codiUsuari)protected List<com.soffid.iam.api.OsType>handleFindAllOSTypes()protected List<com.soffid.iam.api.AdministratorAuthorizationToAccessHost>handleFindAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate(String nomHost, String dataPeticio, String dataCaducitat)protected List<com.soffid.iam.api.Host>handleFindHostByFilter(String nom, String sistemaOperatiu, String adreca, String dhcp, String correu, String ofimatica, String alias, String mac, String descripcio, String xarxa, String codiUsuari, Boolean filtra)protected List<com.soffid.iam.api.Host>handleFindHostByFilterUnrestricted(String nom, String sistemaOperatiu, String adreca, String dhcp, String correu, String ofimatica, String alias, String mac, String descripcio, String xarxa, String codiUsuari, Boolean filtra)protected com.soffid.iam.api.HosthandleFindHostById(Long idMaquina)protected com.soffid.iam.api.HosthandleFindHostByIp(String ip)protected com.soffid.iam.api.HosthandleFindHostByName(String nom)protected com.soffid.iam.api.HosthandleFindHostBySerialNumber(String serialNumber)protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.Host>handleFindHostByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.Host>handleFindHostByTextAndJsonQueryAsync(String text, String jsonQuery)protected List<com.soffid.iam.api.Host>handleFindHostsByNetwork(com.soffid.iam.api.Network xarxa)protected List<com.soffid.iam.api.Host>handleFindHostsByNetwork_Discovery(com.soffid.iam.api.Network parent, String text)protected List<com.soffid.iam.api.Identity>handleFindIdentitiesByName(String codi)protected com.soffid.iam.api.IdentityhandleFindIdentityByName(String codi)protected List<com.soffid.iam.api.NetworkAuthorization>handleFindNetworkAuthorizationsByGroupName(String codiGrup)protected com.soffid.iam.api.NetworkAuthorizationhandleFindNetworkAuthorizationsByNetworkNameAndIdentityName(String codiXarxa, String codiIdentitat)protected List<com.soffid.iam.api.NetworkAuthorization>handleFindNetworkAuthorizationsByRoleName(String nomRol)protected List<com.soffid.iam.api.NetworkAuthorization>handleFindNetworkAuthorizationsByUserName(String codiUsuari)protected List<com.soffid.iam.api.Network>handleFindNetworkByFilter(String codi, String adreca, String descripcio, String mascara, String normalitzada, String dhcp, String maquina)protected com.soffid.iam.api.NetworkhandleFindNetworkByIpAddress(String ipAdress)protected com.soffid.iam.api.NetworkhandleFindNetworkByName(String codi)protected List<com.soffid.iam.api.Network>handleFindNetworkByText_Discovery(String text)protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.Network>handleFindNetworkByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.Network>handleFindNetworkByTextAndJsonQueryAsync(String text, String jsonQuery)protected List<com.soffid.iam.api.Host>handleFindOfficeHostUserByFilter(String nom, String sistemaOperatiu, String adreca, String dhcp, String correu, String ofimatica, String alias, String mac, String descripcio, String xarxa, String codiUsuari, Boolean restringeixCerca, String servidorImpressores)protected com.soffid.iam.api.OsTypehandleFindOSTypeById(Long osId)protected com.soffid.iam.api.OsTypehandleFindOSTypeByName(String osName)protected List<com.soffid.iam.api.Session>handleFindSessionsByHostName(String nomMaquina)protected com.soffid.iam.api.UserhandleFindUsuariByIdSessio(Long idSessio)protected List<com.soffid.iam.api.NetworkAuthorization>handleGetACL(com.soffid.iam.api.Network xarxa)protected LonghandleGetAvailableIPs(String codiXarxa)protected StringhandleGetFirstAvailableIP(String codiXarxa)protected List<com.soffid.iam.api.Host>handleGetHomeServers()protected String[]handleGetHostAdminUserAndPassword(String nomMaquina)protected List<com.soffid.iam.api.Host>handleGetHosts()protected List<com.soffid.iam.api.Host>handleGetMailServers()protected List<com.soffid.iam.api.Network>handleGetNetworks()protected LonghandleGetNotAvailableIPs(String codiXarxa)protected List<com.soffid.iam.api.Host>handleGetProfileServers()protected String[]handleGetTasks(String nomMaquina)protected BooleanhandleHasAnyACLNetworks(String codiUsuari)protected BooleanhandleHasManagedNetwork()protected BooleanhandleHasNetworkAccess(String codiUsuari, String codiXarxa)protected BooleanhandleIsManaged(String codiXarxa)protected BooleanhandleLaunchVNC(Long sessioId)Lanzar el VNC contra la sesión indicada.protected com.soffid.iam.api.HosthandleRegisterDynamicIP(String nomMaquina, String ip, String serialNumber)protected voidhandleRevoke(com.soffid.iam.api.NetworkAuthorization xarxaAC)protected com.soffid.iam.api.AdministratorAuthorizationToAccessHosthandleRevokeAdministratorAccessHost(com.soffid.iam.api.AdministratorAuthorizationToAccessHost autoritzacioAccesComAdministrador)protected voidhandleSetAdministratorPassword(String nomMaquina, String adminUser, String adminPass)protected voidhandleUpdate(com.soffid.iam.api.Host maquina)protected voidhandleUpdate(com.soffid.iam.api.HostAlias aliasMaquina)protected voidhandleUpdate(com.soffid.iam.api.Network xarxa)protected com.soffid.iam.api.NetworkAuthorizationhandleUpdate(com.soffid.iam.api.NetworkAuthorization accessList)protected voidhandleUpdate(com.soffid.iam.api.OsType osType)-
Methods inherited from class com.soffid.iam.service.NetworkServiceBase
canLogin, create, create, create, create, create, create, delete, delete, delete, delete, delete, findAccessLevelByHostNameAndNetworkName, findAliasByHostName, findALLNetworkAuthorizationsByUserName, findAllOSTypes, findAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate, findHostByFilter, findHostByFilterUnrestricted, findHostById, findHostByIp, findHostByName, findHostBySerialNumber, findHostByTextAndJsonQuery, findHostByTextAndJsonQueryAsync, findHostsByNetwork, findHostsByNetwork_Discovery, findIdentitiesByName, findIdentityByName, findNetworkAuthorizationsByGroupName, findNetworkAuthorizationsByNetworkNameAndIdentityName, findNetworkAuthorizationsByRoleName, findNetworkAuthorizationsByUserName, findNetworkByFilter, findNetworkByIpAddress, findNetworkByName, findNetworkByText_Discovery, findNetworkByTextAndJsonQuery, findNetworkByTextAndJsonQueryAsync, findOfficeHostUserByFilter, findOSTypeById, findOSTypeByName, findSessionsByHostName, getAccessLogEntityDao, getACL, getApplicationService, getAsyncRunnerService, getAttributeValidationService, getAuditEntityDao, getAvailableIPs, getDispatcherService, getEntryPointEntityDao, getEntryPointService, getFirstAvailableIP, getGroupEntityDao, getGroupService, getHomeServers, getHostAdminEntityDao, getHostAdminUserAndPassword, getHostAliasEntityDao, getHostAttributeEntityDao, getHostEntityDao, getHostEntryPointEntityDao, getHosts, getHostSystemEntityDao, getMailServers, getMetaDataEntityDao, getNetworkAuthorizationEntityDao, getNetworkDiscoverRangeEntityDao, getNetworkEntityDao, getNetworks, getNotAvailableIPs, getOsTypeEntityDao, getPrincipal, getPrinterService, getProfileServers, getRoleEntityDao, getSessionEntityDao, getSystemEntityDao, getTaskEntityDao, getTasks, getUserEntityDao, getUserService, hasAnyACLNetworks, hasManagedNetwork, hasNetworkAccess, isManaged, launchVNC, registerDynamicIP, revokeAdministratorAccessHost, setAccessLogEntityDao, setAdministratorPassword, setApplicationService, setAsyncRunnerService, setAttributeValidationService, setAuditEntityDao, setDispatcherService, setEntryPointEntityDao, setEntryPointService, setGroupEntityDao, setGroupService, setHostAdminEntityDao, setHostAliasEntityDao, setHostAttributeEntityDao, setHostEntityDao, setHostEntryPointEntityDao, setHostSystemEntityDao, setMetaDataEntityDao, setNetworkAuthorizationEntityDao, setNetworkDiscoverRangeEntityDao, setNetworkEntityDao, setOsTypeEntityDao, setPrinterService, setRoleEntityDao, setSessionEntityDao, setSystemEntityDao, setTaskEntityDao, setUserEntityDao, setUserService, update, update, update, update, update
-
-
-
-
Field Detail
-
SENSE_PERMISOS
public static final int SENSE_PERMISOS
- See Also:
- Constant Field Values
-
CONSULTA
public static final int CONSULTA
- See Also:
- Constant Field Values
-
SUPORT
public static final int SUPORT
- See Also:
- Constant Field Values
-
ADMINISTRACIO
public static final int ADMINISTRACIO
- See Also:
- Constant Field Values
-
LOGIN
public static final int LOGIN
- See Also:
- Constant Field Values
-
-
Method Detail
-
handleHasManagedNetwork
protected Boolean handleHasManagedNetwork() throws Exception
- Specified by:
handleHasManagedNetworkin classNetworkServiceBase- Throws:
Exception
-
handleIsManaged
protected Boolean handleIsManaged(String codiXarxa) throws Exception
- Specified by:
handleIsManagedin classNetworkServiceBase- Throws:
Exception
-
handleFindSessionsByHostName
protected List<com.soffid.iam.api.Session> handleFindSessionsByHostName(String nomMaquina)
- Specified by:
handleFindSessionsByHostNamein classNetworkServiceBase
-
handleFindAccessLevelByHostNameAndNetworkName
protected Long handleFindAccessLevelByHostNameAndNetworkName(String nomMaquina, String codiXarxa) throws Exception
- Specified by:
handleFindAccessLevelByHostNameAndNetworkNamein classNetworkServiceBase- Throws:
Exception
-
handleFindUsuariByIdSessio
protected com.soffid.iam.api.User handleFindUsuariByIdSessio(Long idSessio) throws Exception
- Throws:
Exception
-
handleHasNetworkAccess
protected Boolean handleHasNetworkAccess(String codiUsuari, String codiXarxa) throws Exception
- Specified by:
handleHasNetworkAccessin classNetworkServiceBase- Throws:
Exception
-
handleGetNetworks
protected List<com.soffid.iam.api.Network> handleGetNetworks() throws Exception
- Specified by:
handleGetNetworksin classNetworkServiceBase- Throws:
Exception- See Also:
XarxaService.getXarxes()
-
handleCreate
protected com.soffid.iam.api.Network handleCreate(com.soffid.iam.api.Network xarxa) throws Exception- Specified by:
handleCreatein classNetworkServiceBase- Throws:
Exception- See Also:
XarxaService.create(es.caib.seycon.ng.comu.Xarxa)
-
handleUpdate
protected void handleUpdate(com.soffid.iam.api.Network xarxa) throws Exception- Specified by:
handleUpdatein classNetworkServiceBase- Throws:
Exception- See Also:
XarxaService.update(es.caib.seycon.ng.comu.Xarxa)
-
handleDelete
protected void handleDelete(com.soffid.iam.api.Network xarxa) throws Exception- Specified by:
handleDeletein classNetworkServiceBase- Throws:
Exception- See Also:
XarxaService.delete(es.caib.seycon.ng.comu.Xarxa)
-
handleRevoke
protected void handleRevoke(com.soffid.iam.api.NetworkAuthorization xarxaAC) throws Exception- Throws:
Exception- See Also:
es.caib.seycon.ng.servei.XarxaService#revoke(es.caib.seycon.ng.comu.XarxaAC)
-
handleGetACL
protected List<com.soffid.iam.api.NetworkAuthorization> handleGetACL(com.soffid.iam.api.Network xarxa) throws Exception
- Specified by:
handleGetACLin classNetworkServiceBase- Throws:
Exception- See Also:
XarxaService.getACL(es.caib.seycon.ng.comu.Xarxa)
-
handleFindNetworkByName
protected com.soffid.iam.api.Network handleFindNetworkByName(String codi) throws Exception
- Specified by:
handleFindNetworkByNamein classNetworkServiceBase- Throws:
Exception- See Also:
XarxaService.findXarxaByCodi(String)
-
handleCreate
protected com.soffid.iam.api.Host handleCreate(com.soffid.iam.api.Host maquina) throws Exception- Specified by:
handleCreatein classNetworkServiceBase- Throws:
Exception- See Also:
XarxaService.create(es.caib.seycon.ng.comu.Maquina)
-
handleUpdate
protected void handleUpdate(com.soffid.iam.api.Host maquina) throws Exception- Specified by:
handleUpdatein classNetworkServiceBase- Throws:
Exception- See Also:
XarxaService.update(es.caib.seycon.ng.comu.Maquina)
-
handleDelete
protected void handleDelete(com.soffid.iam.api.Host maquina) throws Exception- Specified by:
handleDeletein classNetworkServiceBase- Throws:
Exception- See Also:
XarxaService.delete(es.caib.seycon.ng.comu.Maquina)
-
handleGetMailServers
protected List<com.soffid.iam.api.Host> handleGetMailServers() throws Exception
- Specified by:
handleGetMailServersin classNetworkServiceBase- Throws:
Exception
-
handleGetProfileServers
protected List<com.soffid.iam.api.Host> handleGetProfileServers() throws Exception
- Specified by:
handleGetProfileServersin classNetworkServiceBase- Throws:
Exception
-
handleGetHomeServers
protected List<com.soffid.iam.api.Host> handleGetHomeServers() throws Exception
- Specified by:
handleGetHomeServersin classNetworkServiceBase- Throws:
Exception
-
handleFindHostByName
protected com.soffid.iam.api.Host handleFindHostByName(String nom) throws Exception
- Specified by:
handleFindHostByNamein classNetworkServiceBase- Throws:
Exception
-
handleFindNetworkByFilter
protected List<com.soffid.iam.api.Network> handleFindNetworkByFilter(String codi, String adreca, String descripcio, String mascara, String normalitzada, String dhcp, String maquina) throws Exception
- Specified by:
handleFindNetworkByFilterin classNetworkServiceBase- Throws:
Exception
-
handleGetHosts
protected List<com.soffid.iam.api.Host> handleGetHosts() throws Exception
- Specified by:
handleGetHostsin classNetworkServiceBase- Throws:
Exception- See Also:
XarxaService.getMaquines()
-
handleFindHostsByNetwork
protected List<com.soffid.iam.api.Host> handleFindHostsByNetwork(com.soffid.iam.api.Network xarxa) throws Exception
- Specified by:
handleFindHostsByNetworkin classNetworkServiceBase- Throws:
Exception- See Also:
es.caib.seycon.ng.servei.XarxaService#findMaquinaByXarxa(es.caib.seycon.ng.comu.Xarxa)
-
handleFindHostByFilterUnrestricted
protected List<com.soffid.iam.api.Host> handleFindHostByFilterUnrestricted(String nom, String sistemaOperatiu, String adreca, String dhcp, String correu, String ofimatica, String alias, String mac, String descripcio, String xarxa, String codiUsuari, Boolean filtra) throws Exception
- Specified by:
handleFindHostByFilterUnrestrictedin classNetworkServiceBase- Throws:
Exception
-
handleFindHostByFilter
protected List<com.soffid.iam.api.Host> handleFindHostByFilter(String nom, String sistemaOperatiu, String adreca, String dhcp, String correu, String ofimatica, String alias, String mac, String descripcio, String xarxa, String codiUsuari, Boolean filtra) throws Exception
- Specified by:
handleFindHostByFilterin classNetworkServiceBase- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.NetworkAuthorization handleCreate(com.soffid.iam.api.NetworkAuthorization accessList) throws Exception- Specified by:
handleCreatein classNetworkServiceBase- Throws:
Exception
-
handleDelete
protected void handleDelete(com.soffid.iam.api.NetworkAuthorization accessList) throws Exception- Specified by:
handleDeletein classNetworkServiceBase- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.NetworkAuthorization handleUpdate(com.soffid.iam.api.NetworkAuthorization accessList) throws Exception- Specified by:
handleUpdatein classNetworkServiceBase- Throws:
Exception
-
handleFindIdentitiesByName
protected List<com.soffid.iam.api.Identity> handleFindIdentitiesByName(String codi) throws Exception
- Specified by:
handleFindIdentitiesByNamein classNetworkServiceBase- Throws:
Exception
-
handleFindIdentityByName
protected com.soffid.iam.api.Identity handleFindIdentityByName(String codi) throws Exception
- Specified by:
handleFindIdentityByNamein classNetworkServiceBase- Throws:
Exception
-
handleFindNetworkAuthorizationsByNetworkNameAndIdentityName
protected com.soffid.iam.api.NetworkAuthorization handleFindNetworkAuthorizationsByNetworkNameAndIdentityName(String codiXarxa, String codiIdentitat) throws Exception
- Specified by:
handleFindNetworkAuthorizationsByNetworkNameAndIdentityNamein classNetworkServiceBase- Throws:
Exception
-
handleFindNetworkAuthorizationsByGroupName
protected List<com.soffid.iam.api.NetworkAuthorization> handleFindNetworkAuthorizationsByGroupName(String codiGrup) throws Exception
- Specified by:
handleFindNetworkAuthorizationsByGroupNamein classNetworkServiceBase- Throws:
Exception
-
handleFindALLNetworkAuthorizationsByUserName
protected List<com.soffid.iam.api.NetworkAuthorization> handleFindALLNetworkAuthorizationsByUserName(String codiUsuari) throws Exception
- Specified by:
handleFindALLNetworkAuthorizationsByUserNamein classNetworkServiceBase- Throws:
Exception
-
handleFindNetworkAuthorizationsByUserName
protected List<com.soffid.iam.api.NetworkAuthorization> handleFindNetworkAuthorizationsByUserName(String codiUsuari) throws Exception
- Specified by:
handleFindNetworkAuthorizationsByUserNamein classNetworkServiceBase- Throws:
Exception
-
handleFindNetworkAuthorizationsByRoleName
protected List<com.soffid.iam.api.NetworkAuthorization> handleFindNetworkAuthorizationsByRoleName(String nomRol) throws Exception
- Specified by:
handleFindNetworkAuthorizationsByRoleNamein classNetworkServiceBase- Throws:
Exception
-
handleGetFirstAvailableIP
protected String handleGetFirstAvailableIP(String codiXarxa) throws Exception
- Specified by:
handleGetFirstAvailableIPin classNetworkServiceBase- Throws:
Exception
-
handleGetNotAvailableIPs
protected Long handleGetNotAvailableIPs(String codiXarxa) throws Exception
- Specified by:
handleGetNotAvailableIPsin classNetworkServiceBase- Throws:
Exception
-
handleGetAvailableIPs
protected Long handleGetAvailableIPs(String codiXarxa) throws Exception
- Specified by:
handleGetAvailableIPsin classNetworkServiceBase- Throws:
Exception
-
handleFindHostById
protected com.soffid.iam.api.Host handleFindHostById(Long idMaquina) throws Exception
- Specified by:
handleFindHostByIdin classNetworkServiceBase- Throws:
Exception
-
handleFindHostByIp
protected com.soffid.iam.api.Host handleFindHostByIp(String ip) throws Exception
- Specified by:
handleFindHostByIpin classNetworkServiceBase- Throws:
Exception
-
handleGetTasks
protected String[] handleGetTasks(String nomMaquina) throws Exception
- Specified by:
handleGetTasksin classNetworkServiceBase- Throws:
Exception
-
handleFindAliasByHostName
protected List<com.soffid.iam.api.HostAlias> handleFindAliasByHostName(String nomMaquina) throws Exception
- Specified by:
handleFindAliasByHostNamein classNetworkServiceBase- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.HostAlias handleCreate(com.soffid.iam.api.HostAlias aliasMaquina) throws Exception- Specified by:
handleCreatein classNetworkServiceBase- Throws:
Exception
-
handleDelete
protected void handleDelete(com.soffid.iam.api.HostAlias aliasMaquina) throws Exception- Specified by:
handleDeletein classNetworkServiceBase- Throws:
Exception
-
handleUpdate
protected void handleUpdate(com.soffid.iam.api.HostAlias aliasMaquina) throws Exception- Specified by:
handleUpdatein classNetworkServiceBase- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.AdministratorAuthorizationToAccessHost handleCreate(com.soffid.iam.api.AdministratorAuthorizationToAccessHost autoritzacioAccesComAdministrador) throws Exception- Specified by:
handleCreatein classNetworkServiceBase- Throws:
Exception
-
handleFindAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate
protected List<com.soffid.iam.api.AdministratorAuthorizationToAccessHost> handleFindAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate(String nomHost, String dataPeticio, String dataCaducitat) throws Exception
- Specified by:
handleFindAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDatein classNetworkServiceBase- Throws:
Exception
-
handleGetHostAdminUserAndPassword
protected String[] handleGetHostAdminUserAndPassword(String nomMaquina) throws Exception
- Specified by:
handleGetHostAdminUserAndPasswordin classNetworkServiceBase- Throws:
Exception
-
handleFindOfficeHostUserByFilter
protected List<com.soffid.iam.api.Host> handleFindOfficeHostUserByFilter(String nom, String sistemaOperatiu, String adreca, String dhcp, String correu, String ofimatica, String alias, String mac, String descripcio, String xarxa, String codiUsuari, Boolean restringeixCerca, String servidorImpressores) throws Exception
- Specified by:
handleFindOfficeHostUserByFilterin classNetworkServiceBase- Throws:
Exception
-
handleLaunchVNC
protected Boolean handleLaunchVNC(Long sessioId) throws IOException, es.caib.seycon.util.TimedOutException, es.caib.seycon.ng.exception.InternalErrorException
Lanzar el VNC contra la sesión indicada. Se verificará que el usuario esté autorizado a lanzar capturas en la red asociada- Specified by:
handleLaunchVNCin classNetworkServiceBase- Parameters:
sessioId- id de la sesión que se quiere capturar- Returns:
- true si el usuario acepta la captura de pantalla y teclado
- Throws:
es.caib.seycon.ng.exception.InternalErrorException- error en la configuración del servidores.caib.seycon.util.TimedOutException- el usuario no ha respondido en el tiempo especificadoIOException- error en la comunicación con el puesto de trabajo
-
handleHasAnyACLNetworks
protected Boolean handleHasAnyACLNetworks(String codiUsuari) throws Exception
- Specified by:
handleHasAnyACLNetworksin classNetworkServiceBase- Throws:
Exception
-
handleRevokeAdministratorAccessHost
protected com.soffid.iam.api.AdministratorAuthorizationToAccessHost handleRevokeAdministratorAccessHost(com.soffid.iam.api.AdministratorAuthorizationToAccessHost autoritzacioAccesComAdministrador) throws Exception- Specified by:
handleRevokeAdministratorAccessHostin classNetworkServiceBase- Throws:
Exception
-
handleSetAdministratorPassword
protected void handleSetAdministratorPassword(String nomMaquina, String adminUser, String adminPass) throws Exception
- Specified by:
handleSetAdministratorPasswordin classNetworkServiceBase- Throws:
Exception
-
handleFindHostBySerialNumber
protected com.soffid.iam.api.Host handleFindHostBySerialNumber(String serialNumber) throws Exception
- Specified by:
handleFindHostBySerialNumberin classNetworkServiceBase- Throws:
Exception
-
createHostTask
protected void createHostTask(HostEntity host)
-
handleRegisterDynamicIP
protected com.soffid.iam.api.Host handleRegisterDynamicIP(String nomMaquina, String ip, String serialNumber) throws es.caib.seycon.ng.exception.UnknownHostException, es.caib.seycon.ng.exception.UnknownNetworkException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
handleRegisterDynamicIPin classNetworkServiceBase- Throws:
es.caib.seycon.ng.exception.UnknownHostExceptiones.caib.seycon.ng.exception.UnknownNetworkExceptiones.caib.seycon.ng.exception.InternalErrorException
-
handleFindAllOSTypes
protected List<com.soffid.iam.api.OsType> handleFindAllOSTypes() throws Exception
- Specified by:
handleFindAllOSTypesin classNetworkServiceBase- Throws:
Exception
-
handleFindOSTypeById
protected com.soffid.iam.api.OsType handleFindOSTypeById(Long osId) throws Exception
- Specified by:
handleFindOSTypeByIdin classNetworkServiceBase- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.OsType handleCreate(com.soffid.iam.api.OsType osType) throws Exception- Specified by:
handleCreatein classNetworkServiceBase- Throws:
Exception
-
handleDelete
protected void handleDelete(com.soffid.iam.api.OsType osType) throws Exception- Specified by:
handleDeletein classNetworkServiceBase- Throws:
Exception
-
handleUpdate
protected void handleUpdate(com.soffid.iam.api.OsType osType) throws Exception- Specified by:
handleUpdatein classNetworkServiceBase- Throws:
Exception
-
handleFindOSTypeByName
protected com.soffid.iam.api.OsType handleFindOSTypeByName(String osName) throws Exception
- Specified by:
handleFindOSTypeByNamein classNetworkServiceBase- Throws:
Exception
-
handleFindNetworkByIpAddress
protected com.soffid.iam.api.Network handleFindNetworkByIpAddress(String ipAdress) throws Exception
- Specified by:
handleFindNetworkByIpAddressin classNetworkServiceBase- Throws:
Exception
-
handleFindHostByTextAndJsonQueryAsync
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.Host> handleFindHostByTextAndJsonQueryAsync(String text, String jsonQuery) throws Exception
- Specified by:
handleFindHostByTextAndJsonQueryAsyncin classNetworkServiceBase- Throws:
Exception
-
handleFindNetworkByTextAndJsonQueryAsync
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.Network> handleFindNetworkByTextAndJsonQueryAsync(String text, String jsonQuery) throws Exception
- Specified by:
handleFindNetworkByTextAndJsonQueryAsyncin classNetworkServiceBase- Throws:
Exception
-
doFindNetworkByTextAndJsonQuery
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.Network> doFindNetworkByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize, List<com.soffid.iam.api.Network> result, String[] primaryAttributes) throws es.caib.seycon.ng.exception.InternalErrorException, Exception, UnsupportedEncodingException, ClassNotFoundException, com.soffid.scimquery.EvalException, com.soffid.scimquery.parser.ParseException, com.soffid.scimquery.parser.TokenMgrError
- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptionExceptionUnsupportedEncodingExceptionClassNotFoundExceptioncom.soffid.scimquery.EvalExceptioncom.soffid.scimquery.parser.ParseExceptioncom.soffid.scimquery.parser.TokenMgrError
-
handleFindHostByTextAndJsonQuery
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.Host> handleFindHostByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws Exception
- Specified by:
handleFindHostByTextAndJsonQueryin classNetworkServiceBase- Throws:
Exception
-
handleFindNetworkByTextAndJsonQuery
protected com.soffid.iam.api.PagedResult<com.soffid.iam.api.Network> handleFindNetworkByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws Exception
- Specified by:
handleFindNetworkByTextAndJsonQueryin classNetworkServiceBase- Throws:
Exception
-
handleCanLogin
protected boolean handleCanLogin(String user, String host) throws Exception
- Specified by:
handleCanLoginin classNetworkServiceBase- Throws:
Exception
-
handleFindHostsByNetwork_Discovery
protected List<com.soffid.iam.api.Host> handleFindHostsByNetwork_Discovery(com.soffid.iam.api.Network parent, String text) throws Exception
- Specified by:
handleFindHostsByNetwork_Discoveryin classNetworkServiceBase- Throws:
Exception
-
handleFindNetworkByText_Discovery
protected List<com.soffid.iam.api.Network> handleFindNetworkByText_Discovery(String text) throws Exception
- Specified by:
handleFindNetworkByText_Discoveryin classNetworkServiceBase- Throws:
Exception
-
-