Package com.soffid.iam.service.ejb
Interface NetworkService
-
public interface NetworkService
EJB NetworkService
-
-
Method Summary
-
-
-
Method Detail
-
findHostByTextAndJsonQueryAsync
AsyncList<Host> findHostByTextAndJsonQueryAsync(String text, String jsonQuery) throws InternalErrorException
- Throws:
InternalErrorException
-
findNetworkByTextAndJsonQueryAsync
AsyncList<Network> findNetworkByTextAndJsonQueryAsync(String text, String jsonQuery) throws InternalErrorException
- Throws:
InternalErrorException
-
findHostByTextAndJsonQuery
PagedResult<Host> findHostByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws InternalErrorException
- Throws:
InternalErrorException
-
findNetworkByTextAndJsonQuery
PagedResult<Network> findNetworkByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws InternalErrorException
- Throws:
InternalErrorException
-
create
HostAlias create(HostAlias aliasMaquina) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
AdministratorAuthorizationToAccessHost create(AdministratorAuthorizationToAccessHost autoritzacioAccesComAdministrador) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
revokeAdministratorAccessHost
AdministratorAuthorizationToAccessHost revokeAdministratorAccessHost(AdministratorAuthorizationToAccessHost autoritzacioAccesComAdministrador) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findIdentityByName
Identity findIdentityByName(String codi) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
Host create(Host maquina) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findHostById
Host findHostById(Long idMaquina) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findHostByIp
Host findHostByIp(String ip) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findHostByName
Host findHostByName(String nom) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
registerDynamicIP
Host registerDynamicIP(String nomMaquina, String ip, String serialNumber) throws InternalErrorException, InternalErrorException, UnknownHostException, UnknownNetworkException
-
create
NetworkAuthorization create(NetworkAuthorization accessList) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findNetworkAuthorizationsByNetworkNameAndIdentityName
NetworkAuthorization findNetworkAuthorizationsByNetworkNameAndIdentityName(String codiXarxa, String codiIdentitat) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
NetworkAuthorization update(NetworkAuthorization accessList) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
OsType create(OsType osType) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findOSTypeById
OsType findOSTypeById(Long osId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
Network create(Network xarxa) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findNetworkByName
Network findNetworkByName(String codi) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
isManaged
Boolean isManaged(String codiXarxa) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
hasAnyACLNetworks
Boolean hasAnyACLNetworks(String codiUsuari) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
launchVNC
Boolean launchVNC(Long sessioId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
hasNetworkAccess
Boolean hasNetworkAccess(String codiUsuari, String codiXarxa) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
hasManagedNetwork
Boolean hasManagedNetwork() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findAccessLevelByHostNameAndNetworkName
Long findAccessLevelByHostNameAndNetworkName(String nomMaquina, String codiXarxa) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getAvailableIPs
Long getAvailableIPs(String codiXarxa) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getNotAvailableIPs
Long getNotAvailableIPs(String codiXarxa) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getFirstAvailableIP
String getFirstAvailableIP(String codiXarxa) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getTasks
String[] getTasks(String nomMaquina) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getHostAdminUserAndPassword
String[] getHostAdminUserAndPassword(String nomMaquina) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findALLNetworkAuthorizationsByUserName
List<NetworkAuthorization> findALLNetworkAuthorizationsByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findAliasByHostName
List<HostAlias> findAliasByHostName(String nomMaquina) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findAllOSTypes
List<OsType> findAllOSTypes() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate
List<AdministratorAuthorizationToAccessHost> findAuthorizationsToAccessHostWithAdministratorRigthsByHostsAndRequestDate(String nomHost, String dataPeticio, String dataCaducitat) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findHostsByNetwork_Discovery
List<Host> findHostsByNetwork_Discovery(Network parent, String text) throws InternalErrorException
- Throws:
InternalErrorException
-
findIdentitiesByName
List<Identity> findIdentitiesByName(String codi) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findHostByFilter
List<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 InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findHostByFilterUnrestricted
List<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 InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findOfficeHostUserByFilter
List<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 InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findHostsByNetwork
List<Host> findHostsByNetwork(Network xarxa) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findNetworkAuthorizationsByGroupName
List<NetworkAuthorization> findNetworkAuthorizationsByGroupName(String codiGrup) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findNetworkAuthorizationsByUserName
List<NetworkAuthorization> findNetworkAuthorizationsByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findNetworkAuthorizationsByRoleName
List<NetworkAuthorization> findNetworkAuthorizationsByRoleName(String nomRol) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findNetworkByText_Discovery
List<Network> findNetworkByText_Discovery(String text) throws InternalErrorException
- Throws:
InternalErrorException
-
findSessionsByHostName
List<Session> findSessionsByHostName(String codiMaquina) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findNetworkByFilter
List<Network> findNetworkByFilter(String codi, String adreca, String descripcio, String mascara, String normalitzada, String dhcp, String maquina) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getACL
List<NetworkAuthorization> getACL(Network xarxa) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getHosts
List<Host> getHosts() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getMailServers
List<Host> getMailServers() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getHomeServers
List<Host> getHomeServers() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getProfileServers
List<Host> getProfileServers() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getNetworks
List<Network> getNetworks() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(HostAlias aliasMaquina) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(Host maquina) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(NetworkAuthorization accessList) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(OsType osType) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(Network xarxa) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
setAdministratorPassword
void setAdministratorPassword(String nomMaquina, String adminUser, String adminPass) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
void update(HostAlias aliasMaquina) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
void update(Host maquina) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
void update(OsType osType) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
void update(Network xarxa) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
-