Class CmsEditEntryHandler

    • Constructor Summary

      Constructors 
      Constructor Description
      CmsEditEntryHandler​(CmsSitemapController controller, org.opencms.ade.sitemap.shared.CmsClientSitemapEntry entry, boolean isSimpleMode)
      Creates a new instance of this class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getAllPropertyNames()
      Gets a list of the names of available properties.
      org.opencms.util.CmsUUID getDefaultFileId()
      Returns the default file id, if available.
      java.util.Map<java.lang.String,​org.opencms.gwt.shared.property.CmsClientProperty> getDefaultFileProperties()
      Returns the default file properties, if available.
      java.lang.String getDialogTitle()
      Returns the text which should be used for the title of the sitemap entry editor dialog.
      protected org.opencms.ade.sitemap.shared.CmsClientSitemapEntry getEntry()
      Gets the edited sitemap entry.
      java.util.List<java.lang.String> getForbiddenUrlNames()
      Returns the URL names which the new URL name of the entry must not be equal to.
      org.opencms.util.CmsUUID getId()
      Returns the structure id of the resource being edited.
      org.opencms.gwt.shared.property.CmsClientProperty getInheritedProperty​(java.lang.String name)
      Gets the property object which would be inherited by a sitemap entry.
      java.lang.String getModeClass()
      Returns the class name which should be added when displaying resource info boxes.
      java.util.Map<java.lang.String,​org.opencms.gwt.shared.property.CmsClientProperty> getOwnProperties()
      Returns the properties of the resource being edited.
      org.opencms.gwt.shared.CmsListInfoBean getPageInfo()
      Returns the page info bean.
      java.lang.String getPath()
      Gets the path of the resource being edited.
      protected java.lang.String getPath​(java.lang.String urlName)
      Returns the path for the given URL name.
      java.util.Map<java.lang.String,​org.opencms.gwt.shared.property.CmsClientTemplateBean> getPossibleTemplates()
      Returns a map of beans representing the selectable templates.
      void handleSubmit​(java.lang.String newUrlName, java.lang.String vfsPath, java.util.List<org.opencms.gwt.shared.property.CmsPropertyModification> propertyChanges, boolean editedName, CmsReloadMode reloadStatus)
      Handles the submit action for the sitemap entry editor.
      boolean hasEditableName()
      Returns if the handled entry has an editable name.
      boolean isFolder()
      Checks if the resource being edited is a folder.
      boolean isHiddenProperty​(java.lang.String key)
      Checks whether the property with the given name should be hidden.
      boolean isSimpleMode()
      Should return true if the sitemap editor is running in simple mode.
      void setPageInfo​(org.opencms.gwt.shared.CmsListInfoBean pageInfo)
      Sets the page info bean.
      boolean useAdeTemplates()
      Returns true if the property editor should use only ADE templates.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait