Package es.caib.seycon.ng.servei
Class SessionCacheServiceBaseProxy
- java.lang.Object
-
- es.caib.seycon.ng.servei.SessionCacheServiceBaseProxy
-
- All Implemented Interfaces:
es.caib.seycon.ng.servei.SessionCacheService
public class SessionCacheServiceBaseProxy extends Object implements es.caib.seycon.ng.servei.SessionCacheService
Spring Service base class for
see es.caib.seycon.ng.servei.SessionCacheServicees.caib.seycon.ng.servei.SessionCacheService, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description SessionCacheServiceBaseProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclearSession()StringcreateSession()StringgetCurrentSessionId()ObjectgetObject(String tag)protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.com.soffid.iam.service.SessionCacheServicegetSessionCacheService()Gets reference tosessionCacheService.voidputObject(String tag, Object value)StringsetSession(String sessionId)voidsetSessionCacheService(com.soffid.iam.service.SessionCacheService sessionCacheService)Sets reference tosessionCacheService.
-
-
-
Method Detail
-
setSessionCacheService
public void setSessionCacheService(com.soffid.iam.service.SessionCacheService sessionCacheService)
Sets reference tosessionCacheService.
-
getSessionCacheService
public com.soffid.iam.service.SessionCacheService getSessionCacheService()
Gets reference tosessionCacheService.
-
getObject
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Object getObject(String tag) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getObjectin interfacees.caib.seycon.ng.servei.SessionCacheService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
clearSession
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public String clearSession() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
clearSessionin interfacees.caib.seycon.ng.servei.SessionCacheService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
createSession
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public String createSession() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
createSessionin interfacees.caib.seycon.ng.servei.SessionCacheService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getCurrentSessionId
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public String getCurrentSessionId() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getCurrentSessionIdin interfacees.caib.seycon.ng.servei.SessionCacheService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
setSession
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public String setSession(String sessionId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
setSessionin interfacees.caib.seycon.ng.servei.SessionCacheService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
putObject
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void putObject(String tag, Object value) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
putObjectin interfacees.caib.seycon.ng.servei.SessionCacheService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-