public class CmsSimplePropertyEditorHandler extends java.lang.Object implements I_CmsPropertyEditorHandler
| 限定符和类型 | 字段和说明 |
|---|---|
protected CmsPropertiesBean |
m_propertiesBean
The data necessary for editing the properties.
|
| 构造器和说明 |
|---|
CmsSimplePropertyEditorHandler(I_CmsContextMenuHandler handler)
Creates a new instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
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.
|
void |
setPropertiesBean(CmsPropertiesBean propertiesBean)
Sets the data necessary to edit the properties.
|
boolean |
useAdeTemplates()
Returns true if the property editor should use only ADE templates.
|
protected CmsPropertiesBean m_propertiesBean
public CmsSimplePropertyEditorHandler(I_CmsContextMenuHandler handler)
handler - the context menu handlerpublic java.util.List<java.lang.String> getAllPropertyNames()
I_CmsPropertyEditorHandlergetAllPropertyNames 在接口中 I_CmsPropertyEditorHandlerI_CmsPropertyEditorHandler.getAllPropertyNames()public CmsUUID getDefaultFileId()
I_CmsPropertyEditorHandlergetDefaultFileId 在接口中 I_CmsPropertyEditorHandlerI_CmsPropertyEditorHandler.getDefaultFileId()public java.util.Map<java.lang.String,CmsClientProperty> getDefaultFileProperties()
I_CmsPropertyEditorHandlergetDefaultFileProperties 在接口中 I_CmsPropertyEditorHandlerI_CmsPropertyEditorHandler.getDefaultFileProperties()public java.lang.String getDialogTitle()
I_CmsPropertyEditorHandlergetDialogTitle 在接口中 I_CmsPropertyEditorHandlerI_CmsPropertyEditorHandler.getDialogTitle()public java.util.List<java.lang.String> getForbiddenUrlNames()
I_CmsPropertyEditorHandlergetForbiddenUrlNames 在接口中 I_CmsPropertyEditorHandlerI_CmsPropertyEditorHandler.getForbiddenUrlNames()public CmsUUID getId()
I_CmsPropertyEditorHandlergetId 在接口中 I_CmsPropertyEditorHandlerI_CmsPropertyEditorHandler.getId()public CmsClientProperty getInheritedProperty(java.lang.String name)
I_CmsPropertyEditorHandlerThis is the value that the resource being edited would inherit if it didn't define its own value for that property.
getInheritedProperty 在接口中 I_CmsPropertyEditorHandlername - the name of the propertyI_CmsPropertyEditorHandler.getInheritedProperty(java.lang.String)public java.lang.String getModeClass()
I_CmsPropertyEditorHandlergetModeClass 在接口中 I_CmsPropertyEditorHandlerI_CmsPropertyEditorHandler.getModeClass()public java.lang.String getName()
I_CmsPropertyEditorHandlergetName 在接口中 I_CmsPropertyEditorHandlerI_CmsPropertyEditorHandler.getName()public java.util.Map<java.lang.String,CmsClientProperty> getOwnProperties()
I_CmsPropertyEditorHandlergetOwnProperties 在接口中 I_CmsPropertyEditorHandlerI_CmsPropertyEditorHandler.getOwnProperties()public CmsListInfoBean getPageInfo()
I_CmsPropertyEditorHandlergetPageInfo 在接口中 I_CmsPropertyEditorHandlerI_CmsPropertyEditorHandler.getPageInfo()public java.lang.String getPath()
I_CmsPropertyEditorHandlergetPath 在接口中 I_CmsPropertyEditorHandlerI_CmsPropertyEditorHandler.getPath()public java.util.Map<java.lang.String,CmsClientTemplateBean> getPossibleTemplates()
I_CmsPropertyEditorHandlergetPossibleTemplates 在接口中 I_CmsPropertyEditorHandlerI_CmsPropertyEditorHandler.getPossibleTemplates()public void handleSubmit(java.lang.String newUrlName,
java.lang.String vfsPath,
java.util.List<CmsPropertyModification> propertyChanges,
boolean editedName,
CmsReloadMode reloadMode)
I_CmsPropertyEditorHandlerhandleSubmit 在接口中 I_CmsPropertyEditorHandlernewUrlName - 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 reloadedI_CmsPropertyEditorHandler.handleSubmit(java.lang.String, java.lang.String, java.util.List, boolean, org.opencms.gwt.client.property.CmsReloadMode)public boolean hasEditableName()
I_CmsPropertyEditorHandlerhasEditableName 在接口中 I_CmsPropertyEditorHandlertrue if the handled entry has an editable nameI_CmsPropertyEditorHandler.hasEditableName()public boolean isFolder()
I_CmsPropertyEditorHandlerisFolder 在接口中 I_CmsPropertyEditorHandlerI_CmsPropertyEditorHandler.isFolder()public boolean isHiddenProperty(java.lang.String key)
I_CmsPropertyEditorHandlerisHiddenProperty 在接口中 I_CmsPropertyEditorHandlerkey - the property nameI_CmsPropertyEditorHandler.isHiddenProperty(java.lang.String)public boolean isSimpleMode()
I_CmsPropertyEditorHandlerisSimpleMode 在接口中 I_CmsPropertyEditorHandlerI_CmsPropertyEditorHandler.isSimpleMode()public void setPropertiesBean(CmsPropertiesBean propertiesBean)
propertiesBean - the data which is used to edit the propertiespublic boolean useAdeTemplates()
I_CmsPropertyEditorHandleruseAdeTemplates 在接口中 I_CmsPropertyEditorHandlerI_CmsPropertyEditorHandler.useAdeTemplates()protected I_CmsContextMenuHandler getContextMenuHandler()