public class CmsEditorSessionInfo
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
PREFIX_EDITOR_SESSION_INFO
The editor session info key prefix.
|
构造器和说明 |
---|
CmsEditorSessionInfo(CmsUUID editedStructureId)
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
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