Class CmsSimplePropertyEditorHandler

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.opencms.gwt.shared.property.CmsPropertiesBean m_propertiesBean
      The data necessary for editing the properties.
    • 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.
      protected I_CmsContextMenuHandler getContextMenuHandler()
      Returns the context menu handler.
      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.
      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)
      Returns an inherited property value.
      java.lang.String getModeClass()
      Returns the class name which should be added when displaying resource info boxes.
      java.lang.String getName()
      Returns the URL name with which the sitemap entry editor should be initialized.
      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.
      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 reloadMode)
      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.
      protected void onSubmitSuccess()
      Called when the form is submitted successfully.
      protected void saveProperties​(org.opencms.gwt.shared.property.CmsPropertyChangeSet changes, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
      Save properties.
      void setEditableName​(boolean editable)
      Enables / disables editable file name.
      void setPropertiesBean​(org.opencms.gwt.shared.property.CmsPropertiesBean propertiesBean)
      Sets the data necessary to edit the properties.
      void setPropertySaver​(I_CmsPropertySaver saver)
      Sets the property saver.
      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