Package de.uplanet.lucy.server
Interface ISessionProcessingContext
- All Superinterfaces:
IProcessingContext
- All Known Subinterfaces:
IBusinessLogicProcessingContext,de.uplanet.lucy.server.ISimpleProcessingContext,IWebProcessingContext
- All Known Implementing Classes:
de.uplanet.lucy.server.AbstractSessionProcessingContext,FreeTimerProcessingContext,RestrictedBusinessLogicProcessingContext,de.uplanet.lucy.server.SimpleProcessingContext
This interface is implemented by processing contexts that provide a
portal server session.
-
Method Summary
Modifier and TypeMethodDescriptionGet the GUID of the current impersonation user.Get the current portal server session.Get the time zone of the user that is associated with the current session.booleanCheck if the processing context is currently impersonated.For internal use only.For internal use only.voidpushImpersonateUserGuid(String p_strImpersonateUserGuid) For internal use only.voidpushSession(ISession p_session) For internal use only.Methods inherited from interface de.uplanet.lucy.server.IProcessingContext
getApplicationContext, getContextValueProvider
-
Method Details
-
getSession
ISession getSession()Get the current portal server session.- Returns:
- The portal server session.
-
pushSession
For internal use only. -
popSession
ISession popSession()For internal use only. -
getUserTimeZone
TimeZone getUserTimeZone()Get the time zone of the user that is associated with the current session.- Returns:
- The time zone of the user, or
nullif no session or no user is in this context. - See Also:
-
isImpersonated
boolean isImpersonated()Check if the processing context is currently impersonated.- Returns:
trueif the processing context is currently impersonated, orfalseotherwise.
-
getImpersonateUserGuid
String getImpersonateUserGuid()Get the GUID of the current impersonation user.- Returns:
- The GUID of the impersonation user, or
nullif the processing context is currently not impersonated.
-
pushImpersonateUserGuid
For internal use only. -
popImpersonateUserGuid
String popImpersonateUserGuid()For internal use only.
-