|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.workplace.editors.directedit.CmsDirectEditParams
public class CmsDirectEditParams
A parameter set to start a direct edit element, for internal use only.
| Field Summary | |
|---|---|
protected java.lang.String |
m_element
The selected element in the target content. |
protected java.lang.String |
m_linkForClose
The link to the current page useed when closing an editor or dialog. |
protected java.lang.String |
m_linkForNew
The link to create a new VFS resource of the edited type. |
protected CmsDirectEditMode |
m_mode
The direct edit mode to use. |
protected CmsDirectEditButtonSelection |
m_options
The direct edit options to display buttons for. |
protected java.lang.String |
m_resourceName
The edit target VFS resource name. |
| Constructor Summary | |
|---|---|
CmsDirectEditParams(java.lang.String linkForClose)
Creates a new direct edit parameter set usually used for including the head HTML. |
|
CmsDirectEditParams(java.lang.String resourceName,
CmsDirectEditButtonSelection options,
CmsDirectEditMode mode,
java.lang.String linkForNew)
Creates a new direct edit parameter set usually used within a XML content load loop for a xmlcontent. |
|
CmsDirectEditParams(java.lang.String resourceName,
java.lang.String element)
Creates a new direct edit parameter set usually used within a cms:include call for a xmlpage. |
|
| Method Summary | |
|---|---|
CmsDirectEditButtonSelection |
getButtonSelection()
Returns the direct edit buttons selection to display. |
java.lang.String |
getElement()
Returns the selected element in the target content. |
java.lang.String |
getLinkForClose()
Returns the link to the current page useed when closing an editor or dialog. |
java.lang.String |
getLinkForDelete()
Returns the link to delete the selected VFS resource. |
java.lang.String |
getLinkForEdit()
Returns the link to edit the selected VFS resource (element). |
java.lang.String |
getLinkForNew()
Returns the link to create a new VFS resource of the edited type. |
CmsDirectEditMode |
getMode()
Returns the direct edit mode. |
java.lang.String |
getResourceName()
Returns the edit target VFS resource name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String m_element
protected java.lang.String m_linkForClose
protected java.lang.String m_linkForNew
protected CmsDirectEditMode m_mode
protected CmsDirectEditButtonSelection m_options
protected java.lang.String m_resourceName
| Constructor Detail |
|---|
public CmsDirectEditParams(java.lang.String linkForClose)
linkForClose - the link to the current page useed when closing an editor or dialog
public CmsDirectEditParams(java.lang.String resourceName,
CmsDirectEditButtonSelection options,
CmsDirectEditMode mode,
java.lang.String linkForNew)
xmlcontent.
resourceName - the edit target VFS resource nameoptions - the direct edit options to display buttons forlinkForNew - the link to create a new VFS resource of the edited typemode - the direct edit mode to use
public CmsDirectEditParams(java.lang.String resourceName,
java.lang.String element)
cms:include call for a xmlpage.
resourceName - the edit target VFS resource nameelement - the selected element in the target content| Method Detail |
|---|
public CmsDirectEditButtonSelection getButtonSelection()
public java.lang.String getElement()
public java.lang.String getLinkForClose()
public java.lang.String getLinkForDelete()
public java.lang.String getLinkForEdit()
public java.lang.String getLinkForNew()
public CmsDirectEditMode getMode()
public java.lang.String getResourceName()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||