Package es.caib.seycon.ng.servei
Interface SessioService
- 
 public interface SessioServiceService SessioService
- 
- 
Field SummaryFields Modifier and Type Field Description static StringREMOTE_PATHstatic StringSERVICE_NAME
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcleanTransientKey(long id, String key)Operation cleanTransientKeyvoiddestroySessio(Sessio sessio)Operation destroySessioCollection<Sessio>findActiveSessions()Operation findActiveSessionsCollection<Sessio>getActiveSessions()Operation getActiveSessionsCollection<Sessio>getActiveSessions(long idUsuari)Operation getActiveSessionsSessiogetSessioByHost(long id, String hostIp)Operation getSessioByHostSessiogetSession(long id, String key)Operation getSessionSessioregisterSessio(String codiUsuari, String nomMaquina, String nomAquinaClient, int port, String key, String authenticationMethod)Operation registerSessioSessioregistraSessioWeb(String codiUsuari, String nomMaquina, String nomMaquinaClient, String url, String authenticationMethod)Operation registraSessioWebvoidsessioKeepAlive(Sessio session)Operation sessioKeepAliveStringupdateTransientKey(long id, String key)Operation updateTransientKey
 
- 
- 
- 
Field Detail- 
REMOTE_PATHstatic final String REMOTE_PATH - See Also:
- Constant Field Values
 
 - 
SERVICE_NAMEstatic final String SERVICE_NAME - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getSessioByHostSessio getSessioByHost(long id, String hostIp) throws InternalErrorException, InternalErrorException Operation getSessioByHost- Parameters:
- id-
- hostIp-
- Returns:
- Throws:
- InternalErrorException
 
 - 
getSessionSessio getSession(long id, String key) throws InternalErrorException, InternalErrorException Operation getSession- Parameters:
- id-
- key-
- Returns:
- Throws:
- InternalErrorException
 
 - 
registerSessioSessio registerSessio(String codiUsuari, String nomMaquina, String nomAquinaClient, int port, String key, String authenticationMethod) throws InternalErrorException, InternalErrorException Operation registerSessio- Parameters:
- codiUsuari-
- nomMaquina-
- nomAquinaClient-
- port-
- key-
- authenticationMethod-
- Returns:
- Throws:
- InternalErrorException
 
 - 
registraSessioWebSessio registraSessioWeb(String codiUsuari, String nomMaquina, String nomMaquinaClient, String url, String authenticationMethod) throws InternalErrorException, InternalErrorException, UnknownUserException Operation registraSessioWeb- Parameters:
- codiUsuari-
- nomMaquina-
- nomMaquinaClient-
- url-
- authenticationMethod-
- Returns:
- Throws:
- InternalErrorException
- UnknownUserException
 
 - 
updateTransientKeyString updateTransientKey(long id, String key) throws InternalErrorException, InternalErrorException Operation updateTransientKey- Parameters:
- id-
- key-
- Returns:
- Throws:
- InternalErrorException
 
 - 
findActiveSessionsCollection<Sessio> findActiveSessions() throws InternalErrorException, InternalErrorException Operation findActiveSessions- Returns:
- Throws:
- InternalErrorException
 
 - 
getActiveSessionsCollection<Sessio> getActiveSessions() throws InternalErrorException, InternalErrorException Operation getActiveSessions- Returns:
- Throws:
- InternalErrorException
 
 - 
getActiveSessionsCollection<Sessio> getActiveSessions(long idUsuari) throws InternalErrorException, InternalErrorException Operation getActiveSessions- Parameters:
- idUsuari-
- Returns:
- Throws:
- InternalErrorException
 
 - 
cleanTransientKeyvoid cleanTransientKey(long id, String key) throws InternalErrorException, InternalErrorExceptionOperation cleanTransientKey- Parameters:
- id-
- key-
- Throws:
- InternalErrorException
 
 - 
destroySessiovoid destroySessio(Sessio sessio) throws InternalErrorException, InternalErrorException Operation destroySessio- Parameters:
- sessio-
- Throws:
- InternalErrorException
 
 - 
sessioKeepAlivevoid sessioKeepAlive(Sessio session) throws InternalErrorException, InternalErrorException Operation sessioKeepAlive- Parameters:
- session-
- Throws:
- InternalErrorException
 
 
- 
 
-