Package org.opencms.gwt.client
Interface I_CmsEditableData
- All Known Implementing Classes:
CmsEditableData
,CmsEditableDataJSO
public interface I_CmsEditableData
Interface for a bean holding data needed to open the xml content editor.
- Since:
- 8.0.1
-
Method Summary
Modifier and TypeMethodDescriptionGets the collector context id.Returns the edit id.Gets the element id.Returns the element language.Returns the element name.org.opencms.gwt.shared.I_CmsEditableDataExtensions
Gets the extended attributes.Returns the new link url.Returns the new link url.Returns the no edit reason.Gets the (fully qualified) name of the post-create handler class to use.Returns the site path.org.opencms.util.CmsUUID
Returns the structure id.boolean
Returns whether an edit handler is available for the resource type.boolean
Returns true if there is an actual resource behind the editable element.boolean
Returns if the given resource is unreleased or expired.void
setSitePath
(String sitePath) Sets the site path.
-
Method Details
-
getContextId
Gets the collector context id.- Returns:
- the collector context id
-
getEditId
Returns the edit id.- Returns:
- the edit id
-
getElementId
Gets the element id.- Returns:
- the element id
-
getElementLanguage
Returns the element language.- Returns:
- the element language
-
getElementName
Returns the element name.- Returns:
- the element name
-
getExtensions
org.opencms.gwt.shared.I_CmsEditableDataExtensions getExtensions()Gets the extended attributes.- Returns:
- the extended attributes
-
getNewLink
Returns the new link url.- Returns:
- the new link url
-
getNewTitle
Returns the new link url.- Returns:
- the new link url
-
getNoEditReason
Returns the no edit reason.- Returns:
- the no edit reason
-
getPostCreateHandler
Gets the (fully qualified) name of the post-create handler class to use.- Returns:
- the post-create handler class name
-
getSitePath
Returns the site path.- Returns:
- the site path
-
getStructureId
org.opencms.util.CmsUUID getStructureId()Returns the structure id.- Returns:
- the structure id
-
hasEditHandler
boolean hasEditHandler()Returns whether an edit handler is available for the resource type.- Returns:
true
if an edit handler is available for the resource type
-
hasResource
boolean hasResource()Returns true if there is an actual resource behind the editable element.- Returns:
- true if the editable element represents an actual resource
-
isUnreleasedOrExpired
boolean isUnreleasedOrExpired()Returns if the given resource is unreleased or expired.- Returns:
true
if the given resource is unreleased or expired
-
setSitePath
Sets the site path.- Parameters:
sitePath
- the site path
-