public class CmsEditorSessionInfo extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PREFIX_EDITOR_SESSION_INFO
The editor session info key prefix.
|
| Constructor and Description |
|---|
CmsEditorSessionInfo(CmsUUID editedStructureId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBackLink()
Returns the back link for closing the editor.
|
CmsUUID |
getEditedStructureId()
Returns the id of the edited resource.
|
java.lang.String |
getEditorSessionInfoKey()
Returns the session info key for the bean.
|
protected static java.lang.String |
getEditorSessionInfoKey(CmsResource editedResource)
Returns the session info key for the bean.
|
java.util.Locale |
getElementLocale()
Returns the element locale currently edited.
|
boolean |
isDirectEdit()
Returns if in direct edit mode.
|
void |
setBackLink(java.lang.String backLink)
Sets the back link for closing the editor.
|
void |
setDirectEdit(boolean directEdit)
Sets the flag indicating if in direct edit mode.
|
void |
setEditedStructureId(CmsUUID editedStructureId)
Sets the id of the edited resource.
|
void |
setElementLocale(java.util.Locale elementLocale)
Sets the element locale currently edited.
|
public static final java.lang.String PREFIX_EDITOR_SESSION_INFO
public CmsEditorSessionInfo(CmsUUID editedStructureId)
editedStructureId - the id of the edited resourceprotected static java.lang.String getEditorSessionInfoKey(CmsResource editedResource)
editedResource - the edited resourcepublic java.lang.String getBackLink()
public CmsUUID getEditedStructureId()
public java.lang.String getEditorSessionInfoKey()
public java.util.Locale getElementLocale()
public boolean isDirectEdit()
true if in direct edit modepublic void setBackLink(java.lang.String backLink)
backLink - the back link for closing the editor to setpublic void setDirectEdit(boolean directEdit)
directEdit - the flag indicating if in direct edit modepublic void setEditedStructureId(CmsUUID editedStructureId)
editedStructureId - the id of the edited resource to setpublic void setElementLocale(java.util.Locale elementLocale)
elementLocale - the element locale to set