Package de.uplanet.lucy.server
Interface ISessionProcessingContext
-
- All Superinterfaces:
IProcessingContext
- All Known Subinterfaces:
IBusinessLogicProcessingContext
,de.uplanet.lucy.server.ISimpleProcessingContext
,IWebProcessingContext
- All Known Implementing Classes:
FreeTimerProcessingContext
,RestrictedBusinessLogicProcessingContext
,de.uplanet.lucy.server.SimpleProcessingContext
@Scriptable public interface ISessionProcessingContext extends IProcessingContext
This interface is implemented by processing contexts that provide a portal server session.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getImpersonateUserGuid()
Get the GUID of the current impersonation user.ISession
getSession()
Get the current portal server session.TimeZone
getUserTimeZone()
Get the time zone of the user that is associated with the current session.boolean
isImpersonated()
Check if the processing context is currently impersonated.String
popImpersonateUserGuid()
For internal use only.ISession
popSession()
For internal use only.void
pushImpersonateUserGuid(String p_strImpersonateUserGuid)
For internal use only.void
pushSession(ISession p_session)
For internal use only.-
Methods inherited from interface de.uplanet.lucy.server.IProcessingContext
getApplicationContext, getContextValueProvider
-
-
-
-
Method Detail
-
getSession
ISession getSession()
Get the current portal server session.- Returns:
- The portal server session.
-
pushSession
void pushSession(ISession p_session)
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
null
if no session or no user is in this context. - See Also:
getSession()
-
isImpersonated
boolean isImpersonated()
Check if the processing context is currently impersonated.- Returns:
true
if the processing context is currently impersonated, orfalse
otherwise.
-
getImpersonateUserGuid
String getImpersonateUserGuid()
Get the GUID of the current impersonation user.- Returns:
- The GUID of the impersonation user, or
null
if the processing context is currently not impersonated.
-
pushImpersonateUserGuid
void pushImpersonateUserGuid(String p_strImpersonateUserGuid)
For internal use only.
-
popImpersonateUserGuid
String popImpersonateUserGuid()
For internal use only.
-
-