Package com.soffid.iam.am.service
Interface NetworkService
public interface NetworkService
Service NetworkService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanOperation canLoginOperation createOperation createOperation createcreate(NetworkAuthorization accessList) Operation createOperation createOperation createvoidOperation deletevoidOperation deletevoidOperation deletevoiddelete(NetworkAuthorization accessList) Operation deletevoidOperation deletefindAccessLevelByHostNameAndNetworkName(String nomMaquina, String codiXarxa) Operation findAccessLevelByHostNameAndNetworkNamefindAliasByHostName(String nomMaquina) Operation findAliasByHostNamefindAllNetworkAuthorizationsByUserName(String codiUsuari) Operation findAllNetworkAuthorizationsByUserNameOperation findAllOSTypesfindAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate(String nomHost, String dataPeticio, String dataCaducitat) Operation findAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDatefindHostById(Long idMaquina) Operation findHostByIdfindHostByIp(String ip) Operation findHostByIpfindHostByName(String nom) Operation findHostByNamefindHostBySerialNumber(String serialNumber) Operation findHostBySerialNumbercom.soffid.zkdb.api.PagedResult<Host>findHosts(com.soffid.zkdb.api.Query query) Operation findHostsfindHostsByNetwork_Discovery(Network parent, String text) Operation findHostsByNetwork_Discovery Finds all hosts or search contained host by name or description or IPfindIdentitiesByName(String codi) Operation findIdentitiesByNamefindIdentityByName(String codi) Operation findIdentityByNamefindNetworkAuthorizationsByGroupName(String codiGrup) Operation findNetworkAuthorizationsByGroupNamefindNetworkAuthorizationsByNetworkNameAndIdentityName(String codiXarxa, String codiIdentitat) Operation findNetworkAuthorizationsByNetworkNameAndIdentityNameOperation findNetworkAuthorizationsByRoleNamefindNetworkAuthorizationsByUserName(String codiUsuari) Operation findNetworkAuthorizationsByUserNamefindNetworkByIpAddress(String ipAdress) Operation findNetworkByIpAddressfindNetworkByName(String codi) Operation findNetworkByNameOperation findNetworkByText_Discovery Finds network by network name or network description or network IP or contained host name or description or IPcom.soffid.zkdb.api.PagedResult<Network>findNetworks(com.soffid.zkdb.api.Query query) Operation findNetworksfindOSTypeById(Long osId) Operation findOSTypeByIdfindOSTypeByName(String osName) Operation findOSTypeByNamefindSessionsByHostName(String codiMaquina) Operation findSessionsByHostNameOperation getACLgetAvailableIPs(String codiXarxa) Operation getAvailableIPsgetFirstAvailableIP(String codiXarxa) Operation getFirstAvailableIPString[]getHostAdminUserAndPassword(String nomMaquina) Operation getHostAdminUserAndPasswordOperation getNetworksgetNotAvailableIPs(String codiXarxa) Operation getNotAvailableIPsString[]Operation getTaskshasAnyACLNetworks(String codiUsuari) Operation hasAnyACLNetworksOperation hasManagedNetworkhasNetworkAccess(String codiUsuari, String codiXarxa) Operation hasNetworkAccessOperation isManagedOperation launchVNCregisterDynamicIP(String nomMaquina, String ip, String serialNumber) Operation registerDynamicIPrevokeAdministratorAccessHost(HostAdmin autoritzacioAccesComAdministrador) Operation revokeAdministratorAccessHostvoidsetAdministratorPassword(String nomMaquina, String adminUser, String adminPass) Operation setAdministratorPasswordvoidOperation updatevoidOperation updatevoidOperation updateupdate(NetworkAuthorization accessList) Operation updatevoidOperation update
-
Field Details
-
REMOTE_PATH
- See Also:
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
canLogin
Operation canLogin- Parameters:
user-host-- Returns:
- Throws:
InternalErrorException
-
create
Operation create- Parameters:
maquina-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findHostById
Operation findHostById- Parameters:
idMaquina-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findHostByIp
Operation findHostByIp- Parameters:
ip-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findHostByName
Operation findHostByName- Parameters:
nom-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findHostBySerialNumber
Host findHostBySerialNumber(String serialNumber) throws InternalErrorException, InternalErrorException Operation findHostBySerialNumber- Parameters:
serialNumber-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
registerDynamicIP
Host registerDynamicIP(String nomMaquina, String ip, String serialNumber) throws InternalErrorException, InternalErrorException, UnknownHostException, UnknownNetworkException Operation registerDynamicIP- Parameters:
nomMaquina-ip-serialNumber-- Returns:
- Throws:
InternalErrorExceptionInternalErrorExceptionUnknownHostExceptionUnknownNetworkException
-
create
Operation create- Parameters:
aliasMaquina-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
create
Operation create- Parameters:
xarxa-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findNetworkByIpAddress
Operation findNetworkByIpAddress- Parameters:
ipAdress-- Returns:
- Throws:
InternalErrorException
-
findNetworkByName
Operation findNetworkByName- Parameters:
codi-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
create
NetworkAuthorization create(NetworkAuthorization accessList) throws InternalErrorException, InternalErrorException Operation create- Parameters:
accessList-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findNetworkAuthorizationsByNetworkNameAndIdentityName
NetworkAuthorization findNetworkAuthorizationsByNetworkNameAndIdentityName(String codiXarxa, String codiIdentitat) throws InternalErrorException, InternalErrorException Operation findNetworkAuthorizationsByNetworkNameAndIdentityName- Parameters:
codiXarxa-codiIdentitat-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
update
NetworkAuthorization update(NetworkAuthorization accessList) throws InternalErrorException, InternalErrorException Operation update- Parameters:
accessList-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
create
Operation create- Parameters:
osType-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findOSTypeById
Operation findOSTypeById- Parameters:
osId-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findOSTypeByName
Operation findOSTypeByName- Parameters:
osName-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findIdentityByName
Operation findIdentityByName- Parameters:
codi-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
create
HostAdmin create(HostAdmin autoritzacioAccesComAdministrador) throws InternalErrorException, InternalErrorException Operation create- Parameters:
autoritzacioAccesComAdministrador-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
revokeAdministratorAccessHost
HostAdmin revokeAdministratorAccessHost(HostAdmin autoritzacioAccesComAdministrador) throws InternalErrorException, InternalErrorException Operation revokeAdministratorAccessHost- Parameters:
autoritzacioAccesComAdministrador-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findHosts
com.soffid.zkdb.api.PagedResult<Host> findHosts(com.soffid.zkdb.api.Query query) throws InternalErrorException Operation findHosts- Parameters:
query-- Returns:
- Throws:
InternalErrorException
-
findNetworks
com.soffid.zkdb.api.PagedResult<Network> findNetworks(com.soffid.zkdb.api.Query query) throws InternalErrorException Operation findNetworks- Parameters:
query-- Returns:
- Throws:
InternalErrorException
-
isManaged
Operation isManaged- Parameters:
codiXarxa-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
hasAnyACLNetworks
Operation hasAnyACLNetworks- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
launchVNC
Operation launchVNC- Parameters:
sessioId-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
hasNetworkAccess
Boolean hasNetworkAccess(String codiUsuari, String codiXarxa) throws InternalErrorException, InternalErrorException Operation hasNetworkAccess- Parameters:
codiUsuari-codiXarxa-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
hasManagedNetwork
Operation hasManagedNetwork- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findAccessLevelByHostNameAndNetworkName
Long findAccessLevelByHostNameAndNetworkName(String nomMaquina, String codiXarxa) throws InternalErrorException, InternalErrorException Operation findAccessLevelByHostNameAndNetworkName- Parameters:
nomMaquina-codiXarxa-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getAvailableIPs
Operation getAvailableIPs- Parameters:
codiXarxa-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getNotAvailableIPs
Operation getNotAvailableIPs- Parameters:
codiXarxa-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getFirstAvailableIP
Operation getFirstAvailableIP- Parameters:
codiXarxa-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getTasks
Operation getTasks- Parameters:
nomMaquina-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getHostAdminUserAndPassword
String[] getHostAdminUserAndPassword(String nomMaquina) throws InternalErrorException, InternalErrorException Operation getHostAdminUserAndPassword- Parameters:
nomMaquina-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findAllNetworkAuthorizationsByUserName
List<NetworkAuthorization> findAllNetworkAuthorizationsByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException Operation findAllNetworkAuthorizationsByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findAliasByHostName
List<HostAlias> findAliasByHostName(String nomMaquina) throws InternalErrorException, InternalErrorException Operation findAliasByHostName- Parameters:
nomMaquina-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findAllOSTypes
Operation findAllOSTypes- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate
List<HostAdmin> findAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate(String nomHost, String dataPeticio, String dataCaducitat) throws InternalErrorException, InternalErrorException Operation findAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate- Parameters:
nomHost-dataPeticio-dataCaducitat-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findHostsByNetwork_Discovery
Operation findHostsByNetwork_Discovery Finds all hosts or search contained host by name or description or IP- Parameters:
parent-text-- Returns:
- Throws:
InternalErrorException
-
findIdentitiesByName
List<Identity> findIdentitiesByName(String codi) throws InternalErrorException, InternalErrorException Operation findIdentitiesByName- Parameters:
codi-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findNetworkAuthorizationsByGroupName
List<NetworkAuthorization> findNetworkAuthorizationsByGroupName(String codiGrup) throws InternalErrorException, InternalErrorException Operation findNetworkAuthorizationsByGroupName- Parameters:
codiGrup-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findNetworkAuthorizationsByUserName
List<NetworkAuthorization> findNetworkAuthorizationsByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException Operation findNetworkAuthorizationsByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findNetworkAuthorizationsByRoleName
List<NetworkAuthorization> findNetworkAuthorizationsByRoleName(String nomRol) throws InternalErrorException, InternalErrorException Operation findNetworkAuthorizationsByRoleName- Parameters:
nomRol-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findNetworkByText_Discovery
Operation findNetworkByText_Discovery Finds network by network name or network description or network IP or contained host name or description or IP- Parameters:
text-- Returns:
- Throws:
InternalErrorException
-
findSessionsByHostName
List<Session> findSessionsByHostName(String codiMaquina) throws InternalErrorException, InternalErrorException Operation findSessionsByHostName- Parameters:
codiMaquina-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getACL
List<NetworkAuthorization> getACL(Network xarxa) throws InternalErrorException, InternalErrorException Operation getACL- Parameters:
xarxa-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getNetworks
Operation getNetworks- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
delete
Operation delete- Parameters:
maquina-- Throws:
InternalErrorExceptionInternalErrorException
-
delete
Operation delete- Parameters:
aliasMaquina-- Throws:
InternalErrorExceptionInternalErrorException
-
delete
Operation delete- Parameters:
xarxa-- Throws:
InternalErrorExceptionInternalErrorException
-
delete
Operation delete- Parameters:
accessList-- Throws:
InternalErrorExceptionInternalErrorException
-
delete
Operation delete- Parameters:
osType-- Throws:
InternalErrorExceptionInternalErrorException
-
setAdministratorPassword
void setAdministratorPassword(String nomMaquina, String adminUser, String adminPass) throws InternalErrorException, InternalErrorException Operation setAdministratorPassword- Parameters:
nomMaquina-adminUser-adminPass-- Throws:
InternalErrorExceptionInternalErrorException
-
update
Operation update- Parameters:
maquina-- Throws:
InternalErrorExceptionInternalErrorException
-
update
Operation update- Parameters:
aliasMaquina-- Throws:
InternalErrorExceptionInternalErrorException
-
update
Operation update- Parameters:
xarxa-- Throws:
InternalErrorExceptionInternalErrorException
-
update
Operation update- Parameters:
osType-- Throws:
InternalErrorExceptionInternalErrorException
-