public interface I_CmsPropertyEditorHandler
限定符和类型 | 方法和说明 |
---|---|
java.util.List<java.lang.String> |
getAllPropertyNames()
Gets a list of the names of available properties.
|
CmsUUID |
getDefaultFileId()
Returns the default file id, if available.
|
java.util.Map<java.lang.String,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.
|
CmsUUID |
getId()
Returns the structure id of the resource being edited.
|
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,CmsClientProperty> |
getOwnProperties()
Returns the properties of the resource being edited.
|
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,CmsClientTemplateBean> |
getPossibleTemplates()
Returns a map of beans representing the selectable templates.
|
void |
handleSubmit(java.lang.String newUrlName,
java.lang.String vfsPath,
java.util.List<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.
|
boolean |
useAdeTemplates()
Returns true if the property editor should use only ADE templates.
|
java.util.List<java.lang.String> getAllPropertyNames()
CmsUUID getDefaultFileId()
java.util.Map<java.lang.String,CmsClientProperty> getDefaultFileProperties()
java.lang.String getDialogTitle()
java.util.List<java.lang.String> getForbiddenUrlNames()
CmsUUID getId()
CmsClientProperty getInheritedProperty(java.lang.String name)
This is the value that the resource being edited would inherit if it didn't define its own value for that property.
name
- the name of the propertyjava.lang.String getModeClass()
java.lang.String getName()
java.util.Map<java.lang.String,CmsClientProperty> getOwnProperties()
CmsListInfoBean getPageInfo()
java.lang.String getPath()
java.util.Map<java.lang.String,CmsClientTemplateBean> getPossibleTemplates()
void handleSubmit(java.lang.String newUrlName, java.lang.String vfsPath, java.util.List<CmsPropertyModification> propertyChanges, boolean editedName, CmsReloadMode reloadMode)
newUrlName
- the new url namevfsPath
- the new vfs pathpropertyChanges
- the property changeseditedName
- if true, the URL name has been editedreloadMode
- the information about which entry should reloadedboolean hasEditableName()
true
if the handled entry has an editable nameboolean isFolder()
boolean isHiddenProperty(java.lang.String key)
key
- the property nameboolean isSimpleMode()
boolean useAdeTemplates()