| |
|
| de.finix.contelligent.Session
All known Subclasses: de.finix.contelligent.core.ContelligentSession, de.finix.contelligent.test.mock.MockContelligentSession,
Session | public interface Session (Code) | | |
Field Summary | |
final public static int | EDIT | final public static int | PREVIEW |
EDIT | final public static int EDIT(Code) | | |
PREVIEW | final public static int PREVIEW(Code) | | |
getCurrentPage | ComponentPath getCurrentPage()(Code) | | Returns the path of the last
Page the user has accessed during
this session or null if none was accessed.
Caution:
- If the actual request target is itself a page than this actual
page's path will be returned by this method.
- If the back button of the browser is used this value wouldn't change
and successive calls will not have the page the user currently sees as
last page. (to achieve this we must encode a unique id for each page in
the URL)
a ComponentPath value |
getPreviewMode | public int getPreviewMode()(Code) | | |
getWorkflowId | long getWorkflowId()(Code) | | Answer the current workflow context of this session.
id of the current workflow |
hasObserverSession | boolean hasObserverSession()(Code) | | |
isClientSession | boolean isClientSession()(Code) | | |
resetToGuest | void resetToGuest()(Code) | | Reset the user to the guest user.
|
setWorkflowId | void setWorkflowId(long id)(Code) | | |
|
|
|