public class CmsUploadPropertyEditorHandler extends java.lang.Object implements I_CmsPropertyEditorHandler
构造器和说明 |
---|
CmsUploadPropertyEditorHandler(CmsUploadPropertyDialog dialog,
CmsPostUploadDialogPanelBean data)
Creates a new instance.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
void |
setDialog(CmsUploadPropertyDialog dialog)
Sets the dialog instance.
|
boolean |
useAdeTemplates()
Returns true if the property editor should use only ADE templates.
|
public CmsUploadPropertyEditorHandler(CmsUploadPropertyDialog dialog, CmsPostUploadDialogPanelBean data)
dialog
- the dialog containing the property editordata
- the data for editing the propertiespublic java.util.List<java.lang.String> getAllPropertyNames()
I_CmsPropertyEditorHandler
getAllPropertyNames
在接口中 I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getAllPropertyNames()
public CmsUUID getDefaultFileId()
I_CmsPropertyEditorHandler
getDefaultFileId
在接口中 I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getDefaultFileId()
public java.util.Map<java.lang.String,CmsClientProperty> getDefaultFileProperties()
I_CmsPropertyEditorHandler
getDefaultFileProperties
在接口中 I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getDefaultFileProperties()
public java.lang.String getDialogTitle()
I_CmsPropertyEditorHandler
getDialogTitle
在接口中 I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getDialogTitle()
public java.util.List<java.lang.String> getForbiddenUrlNames()
I_CmsPropertyEditorHandler
getForbiddenUrlNames
在接口中 I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getForbiddenUrlNames()
public CmsUUID getId()
I_CmsPropertyEditorHandler
getId
在接口中 I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getId()
public CmsClientProperty getInheritedProperty(java.lang.String name)
I_CmsPropertyEditorHandler
This is the value that the resource being edited would inherit if it didn't define its own value for that property.
getInheritedProperty
在接口中 I_CmsPropertyEditorHandler
name
- the name of the propertyI_CmsPropertyEditorHandler.getInheritedProperty(java.lang.String)
public java.lang.String getModeClass()
I_CmsPropertyEditorHandler
getModeClass
在接口中 I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getModeClass()
public java.lang.String getName()
I_CmsPropertyEditorHandler
getName
在接口中 I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getName()
public java.util.Map<java.lang.String,CmsClientProperty> getOwnProperties()
I_CmsPropertyEditorHandler
getOwnProperties
在接口中 I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getOwnProperties()
public CmsListInfoBean getPageInfo()
I_CmsPropertyEditorHandler
getPageInfo
在接口中 I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getPageInfo()
public java.lang.String getPath()
I_CmsPropertyEditorHandler
getPath
在接口中 I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getPath()
public java.util.Map<java.lang.String,CmsClientTemplateBean> getPossibleTemplates()
I_CmsPropertyEditorHandler
getPossibleTemplates
在接口中 I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getPossibleTemplates()
public void handleSubmit(java.lang.String newUrlName, java.lang.String vfsPath, java.util.List<CmsPropertyModification> propertyChanges, boolean editedName, CmsReloadMode reloadMode)
I_CmsPropertyEditorHandler
handleSubmit
在接口中 I_CmsPropertyEditorHandler
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 reloadedI_CmsPropertyEditorHandler.handleSubmit(java.lang.String, java.lang.String, java.util.List, boolean, org.opencms.gwt.client.property.CmsReloadMode)
public boolean hasEditableName()
I_CmsPropertyEditorHandler
hasEditableName
在接口中 I_CmsPropertyEditorHandler
true
if the handled entry has an editable nameI_CmsPropertyEditorHandler.hasEditableName()
public boolean isFolder()
I_CmsPropertyEditorHandler
isFolder
在接口中 I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.isFolder()
public boolean isHiddenProperty(java.lang.String key)
I_CmsPropertyEditorHandler
isHiddenProperty
在接口中 I_CmsPropertyEditorHandler
key
- the property nameI_CmsPropertyEditorHandler.isHiddenProperty(java.lang.String)
public boolean isSimpleMode()
I_CmsPropertyEditorHandler
isSimpleMode
在接口中 I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.isSimpleMode()
public void setDialog(CmsUploadPropertyDialog dialog)
dialog
- the dialog used for editing the propertiespublic boolean useAdeTemplates()
I_CmsPropertyEditorHandler
useAdeTemplates
在接口中 I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.useAdeTemplates()