Class CmsDirectEditParams
java.lang.Object
org.opencms.workplace.editors.directedit.CmsDirectEditParams
A parameter set to start a direct edit element, for internal use only.
- Since:
- 6.2.3
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
The collector name.protected String
The collector params.protected String
The selected element in the target content.protected String
The link to the current page useed when closing an editor or dialog.protected String
The link to create a new VFS resource of the edited type.protected CmsDirectEditMode
The direct edit mode to use.protected CmsDirectEditButtonSelection
The direct edit options to display buttons for.protected String
The edit target VFS resource name.protected String
The upload folder. -
Constructor Summary
ConstructorDescriptionCmsDirectEditParams
(String linkForClose) Creates a new direct edit parameter set usually used for including the head HTML.CmsDirectEditParams
(String resourceName, String element) Creates a new direct edit parameter set usually used within acms:include
call for axmlpage
.CmsDirectEditParams
(String resourceName, CmsDirectEditButtonSelection options, CmsDirectEditMode mode, String linkForNew) Creates a new direct edit parameter set usually used within a XML content load loop for axmlcontent
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the direct edit buttons selection to display.Returns the collectorName.Returns the collectorParams.Gets the container element (used for display formatters).Returns the selected element in the target content.getId()
Gets the ID for the contentload tag instance.Returns the link to the current page useed when closing an editor or dialog.Returns the link to delete the selected VFS resource.Returns the link to edit the selected VFS resource (element).Returns the link to create a new VFS resource of the edited type.getMode()
Returns the direct edit mode.Gets the post-create handler class name.Returns the edit target VFS resource name.Gets the upload folder.void
setCollectorName
(String collectorName) Sets the collectorName.void
setCollectorParams
(String collectorParams) Sets the collectorParams.void
Sets the container element bean.void
Sets the ID for the contentload tag instance.void
setPostCreateHandler
(String postCreateHandler) Sets the post-create handler class name.void
setUploadFolder
(String uploadFolder) Sets the upload folder.
-
Field Details
-
m_collectorName
The collector name. -
m_collectorParams
The collector params. -
m_element
The selected element in the target content. -
m_linkForClose
The link to the current page useed when closing an editor or dialog. -
m_linkForNew
The link to create a new VFS resource of the edited type. -
m_mode
The direct edit mode to use. -
m_options
The direct edit options to display buttons for. -
m_resourceName
The edit target VFS resource name. -
m_uploadFolder
The upload folder.
-
-
Constructor Details
-
CmsDirectEditParams
Creates a new direct edit parameter set usually used for including the head HTML.- Parameters:
linkForClose
- the link to the current page useed when closing an editor or dialog
-
CmsDirectEditParams
public CmsDirectEditParams(String resourceName, CmsDirectEditButtonSelection options, CmsDirectEditMode mode, String linkForNew) Creates a new direct edit parameter set usually used within a XML content load loop for axmlcontent
.- Parameters:
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
-
CmsDirectEditParams
Creates a new direct edit parameter set usually used within acms:include
call for axmlpage
.- Parameters:
resourceName
- the edit target VFS resource nameelement
- the selected element in the target content
-
-
Method Details
-
getButtonSelection
Returns the direct edit buttons selection to display.- Returns:
- the direct edit buttons selection to display
-
getCollectorName
Returns the collectorName.- Returns:
- the collectorName
-
getCollectorParams
Returns the collectorParams.- Returns:
- the collectorParams
-
getContainerElement
Gets the container element (used for display formatters).- Returns:
- the container element
-
getElement
Returns the selected element in the target content.- Returns:
- the selected element in the target content
-
getId
Gets the ID for the contentload tag instance.- Returns:
- the id
-
getLinkForClose
Returns the link to the current page useed when closing an editor or dialog.- Returns:
- the link to the current page useed when closing an editor or dialog
-
getLinkForDelete
Returns the link to delete the selected VFS resource.- Returns:
- the link to delete the selected VFS resource
-
getLinkForEdit
Returns the link to edit the selected VFS resource (element).- Returns:
- the link to edit the selected VFS resource (element)
-
getLinkForNew
Returns the link to create a new VFS resource of the edited type.- Returns:
- the link to create a new VFS resource of the edited type
-
getMode
Returns the direct edit mode.- Returns:
- the direct edit mode
-
getPostCreateHandler
Gets the post-create handler class name.- Returns:
- the post-create handler class name
-
getResourceName
Returns the edit target VFS resource name.- Returns:
- the edit target VFS resource name
-
getUploadFolder
Gets the upload folder.- Returns:
- the upload folder
-
setCollectorName
Sets the collectorName.- Parameters:
collectorName
- the collectorName to set
-
setCollectorParams
Sets the collectorParams.- Parameters:
collectorParams
- the collectorParams to set
-
setContainerElement
Sets the container element bean.- Parameters:
element
- the container element
-
setId
Sets the ID for the contentload tag instance.- Parameters:
id
- the id to set
-
setPostCreateHandler
Sets the post-create handler class name.- Parameters:
postCreateHandler
- the post-create handler class name
-
setUploadFolder
Sets the upload folder.- Parameters:
uploadFolder
- the upload folder
-