public class CmsDirectEditParams extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
m_collectorName
The collector name.
|
protected java.lang.String |
m_collectorParams
The collector params.
|
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 and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
CmsDirectEditButtonSelection |
getButtonSelection()
Returns the direct edit buttons selection to display.
|
java.lang.String |
getCollectorName()
Returns the collectorName.
|
java.lang.String |
getCollectorParams()
Returns the collectorParams.
|
CmsContainerElementBean |
getContainerElement()
Gets the container element (used for display formatters).
|
java.lang.String |
getElement()
Returns the selected element in the target content.
|
java.lang.String |
getId()
Gets the ID for the contentload tag instance.
|
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 |
getPostCreateHandler()
Gets the post-create handler class name.
|
java.lang.String |
getResourceName()
Returns the edit target VFS resource name.
|
void |
setCollectorName(java.lang.String collectorName)
Sets the collectorName.
|
void |
setCollectorParams(java.lang.String collectorParams)
Sets the collectorParams.
|
void |
setContainerElement(CmsContainerElementBean element)
Sets the container element bean.
|
void |
setId(java.lang.String id)
Sets the ID for the contentload tag instance.
|
void |
setPostCreateHandler(java.lang.String postCreateHandler)
Sets the post-create handler class name.
|
protected java.lang.String m_collectorName
protected java.lang.String m_collectorParams
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
public CmsDirectEditParams(java.lang.String linkForClose)
linkForClose - the link to the current page useed when closing an editor or dialogpublic 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 usepublic 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 contentpublic CmsDirectEditButtonSelection getButtonSelection()
public java.lang.String getCollectorName()
public java.lang.String getCollectorParams()
public CmsContainerElementBean getContainerElement()
public java.lang.String getElement()
public java.lang.String getId()
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 getPostCreateHandler()
public java.lang.String getResourceName()
public void setCollectorName(java.lang.String collectorName)
collectorName - the collectorName to setpublic void setCollectorParams(java.lang.String collectorParams)
collectorParams - the collectorParams to setpublic void setContainerElement(CmsContainerElementBean element)
element - the container elementpublic void setId(java.lang.String id)
id - the id to setpublic void setPostCreateHandler(java.lang.String postCreateHandler)
postCreateHandler - the post-create handler class name