Package es.caib.seycon.ng.servei
Interface SessioService
-
public interface SessioService
Service SessioService
-
-
Field Summary
Fields Modifier and Type Field Description static String
REMOTE_PATH
static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cleanTransientKey(long id, String key)
Operation cleanTransientKeyvoid
destroySessio(Sessio sessio)
Operation destroySessioCollection<Sessio>
findActiveSessions()
Operation findActiveSessionsCollection<Sessio>
getActiveSessions()
Operation getActiveSessionsCollection<Sessio>
getActiveSessions(long idUsuari)
Operation getActiveSessionsSessio
getSessioByHost(long id, String hostIp)
Operation getSessioByHostSessio
getSession(long id, String key)
Operation getSessionSessio
registerSessio(String codiUsuari, String nomMaquina, String nomAquinaClient, int port, String key, String authenticationMethod)
Operation registerSessioSessio
registraSessioWeb(String codiUsuari, String nomMaquina, String nomMaquinaClient, String url, String authenticationMethod)
Operation registraSessioWebvoid
sessioKeepAlive(Sessio session)
Operation sessioKeepAliveString
updateTransientKey(long id, String key)
Operation updateTransientKey
-
-
-
Field Detail
-
REMOTE_PATH
static final String REMOTE_PATH
- See Also:
- Constant Field Values
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSessioByHost
Sessio getSessioByHost(long id, String hostIp) throws InternalErrorException, InternalErrorException
Operation getSessioByHost- Parameters:
id
-hostIp
-- Returns:
- Throws:
InternalErrorException
-
getSession
Sessio getSession(long id, String key) throws InternalErrorException, InternalErrorException
Operation getSession- Parameters:
id
-key
-- Returns:
- Throws:
InternalErrorException
-
registerSessio
Sessio 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
-
registraSessioWeb
Sessio 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
-
updateTransientKey
String updateTransientKey(long id, String key) throws InternalErrorException, InternalErrorException
Operation updateTransientKey- Parameters:
id
-key
-- Returns:
- Throws:
InternalErrorException
-
findActiveSessions
Collection<Sessio> findActiveSessions() throws InternalErrorException, InternalErrorException
Operation findActiveSessions- Returns:
- Throws:
InternalErrorException
-
getActiveSessions
Collection<Sessio> getActiveSessions() throws InternalErrorException, InternalErrorException
Operation getActiveSessions- Returns:
- Throws:
InternalErrorException
-
getActiveSessions
Collection<Sessio> getActiveSessions(long idUsuari) throws InternalErrorException, InternalErrorException
Operation getActiveSessions- Parameters:
idUsuari
-- Returns:
- Throws:
InternalErrorException
-
cleanTransientKey
void cleanTransientKey(long id, String key) throws InternalErrorException, InternalErrorException
Operation cleanTransientKey- Parameters:
id
-key
-- Throws:
InternalErrorException
-
destroySessio
void destroySessio(Sessio sessio) throws InternalErrorException, InternalErrorException
Operation destroySessio- Parameters:
sessio
-- Throws:
InternalErrorException
-
sessioKeepAlive
void sessioKeepAlive(Sessio session) throws InternalErrorException, InternalErrorException
Operation sessioKeepAlive- Parameters:
session
-- Throws:
InternalErrorException
-
-