Package es.caib.seycon.ng.servei
Interface SessionCacheService
-
public interface SessionCacheService
Service SessionCacheService
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
clearSession()
Operation clearSession Clears session objectString
createSession()
Operation createSession Creates a new session objectString
getCurrentSessionId()
Operation getCurrentSessionId Retrieves current session object idObject
getObject(String tag)
Operation getObjectvoid
putObject(String tag, Object value)
Operation putObjectString
setSession(String sessionId)
Operation setSession Creates a new session object
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getObject
Object getObject(String tag) throws InternalErrorException, InternalErrorException
Operation getObject- Parameters:
tag
-- Returns:
- Throws:
InternalErrorException
-
clearSession
String clearSession() throws InternalErrorException, InternalErrorException
Operation clearSession Clears session object- Returns:
- Throws:
InternalErrorException
-
createSession
String createSession() throws InternalErrorException, InternalErrorException
Operation createSession Creates a new session object- Returns:
- Throws:
InternalErrorException
-
getCurrentSessionId
String getCurrentSessionId() throws InternalErrorException, InternalErrorException
Operation getCurrentSessionId Retrieves current session object id- Returns:
- Throws:
InternalErrorException
-
setSession
String setSession(String sessionId) throws InternalErrorException, InternalErrorException
Operation setSession Creates a new session object- Parameters:
sessionId
-- Returns:
- Throws:
InternalErrorException
-
putObject
void putObject(String tag, Object value) throws InternalErrorException, InternalErrorException
Operation putObject- Parameters:
tag
-value
-- Throws:
InternalErrorException
-
-