|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.workplace.editors.CmsEditorSessionInfo
public class CmsEditorSessionInfo
Stores editor session data.
| Field Summary | |
|---|---|
static java.lang.String |
PREFIX_EDITOR_SESSION_INFO
The editor session info key prefix. |
| Constructor Summary | |
|---|---|
CmsEditorSessionInfo(CmsUUID editedStructureId)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PREFIX_EDITOR_SESSION_INFO
| Constructor Detail |
|---|
public CmsEditorSessionInfo(CmsUUID editedStructureId)
editedStructureId - the id of the edited resource| Method Detail |
|---|
protected static java.lang.String getEditorSessionInfoKey(CmsResource editedResource)
editedResource - the edited resource
public 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
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||