Class CmsEditableDataJSO

  • All Implemented Interfaces:
    I_CmsEditableData

    public final class CmsEditableDataJSO
    extends com.google.gwt.core.client.JavaScriptObject
    implements I_CmsEditableData
    Javascript overlay object holding data needed to edit a content collector list element.

    Since:
    8.0.0
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CmsEditableDataJSO()
      Constructor.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canFavorite()
      Returns true if the element can be favorited.
      java.lang.String getContextId()
      Gets the collector context id.
      java.lang.String getEditId()
      Returns the edit id.
      java.lang.String getElementId()
      Gets the element id.
      java.lang.String getElementLanguage()
      Returns the element language.
      java.lang.String getElementName()
      Returns the element name.
      org.opencms.util.CmsUUID getElementView()
      Gets the element view.
      org.opencms.gwt.shared.I_CmsEditableDataExtensions getExtensions()
      Gets the extended attributes.
      java.lang.String getNewLink()
      Returns the new link url.
      java.lang.String getNewTitle()
      Returns the new link url.
      java.lang.String getNoEditReason()
      Returns the no edit reason.
      java.lang.String getPostCreateHandler()
      Gets the (fully qualified) name of the post-create handler class to use.
      java.lang.String getSitePath()
      Returns the site path.
      org.opencms.util.CmsUUID getStructureId()
      Returns the structure id.
      boolean hasDelete()
      Returns if the delete button should be present.
      boolean hasEdit()
      Returns if the edit button should be present.
      boolean hasEditHandler()
      Returns whether an edit handler is available for the resource type.
      boolean hasNew()
      Returns if the new button should be present.
      boolean hasResource()
      Returns true if there is an actual resource behind the editable element.
      boolean isUnreleasedOrExpired()
      Returns if the given resource is unreleased or expired.
      static CmsEditableDataJSO parseEditableData​(java.lang.String jsonText)
      Parses the given JSON text and returns the editable data object.
      void setSitePath​(java.lang.String sitePath)
      Sets the site path.
      • Methods inherited from class com.google.gwt.core.client.JavaScriptObject

        cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait