public class CmsEditEntryHandler extends A_CmsSitemapEntryEditorHandler
m_controller, m_entry
构造器和说明 |
---|
CmsEditEntryHandler(CmsSitemapController controller,
CmsClientSitemapEntry entry,
boolean isSimpleMode)
Creates a new instance of this class.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
protected 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.
|
CmsUUID |
getId()
Returns the structure id of the resource being edited.
|
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,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.
|
protected java.lang.String |
getPath(java.lang.String urlName)
Returns the path for the given URL name.
|
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 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(CmsListInfoBean pageInfo)
Sets the page info bean.
|
boolean |
useAdeTemplates()
Returns true if the property editor should use only ADE templates.
|
getName
public CmsEditEntryHandler(CmsSitemapController controller, CmsClientSitemapEntry entry, boolean isSimpleMode)
controller
- the sitemap controller for this modeentry
- the sitemap entry for this modeisSimpleMode
- true if the sitemap entry editor is in simple modepublic java.util.List<java.lang.String> getAllPropertyNames()
I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getAllPropertyNames()
public CmsUUID getDefaultFileId()
I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getDefaultFileId()
public java.util.Map<java.lang.String,CmsClientProperty> getDefaultFileProperties()
I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getDefaultFileProperties()
public java.lang.String getDialogTitle()
I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getDialogTitle()
public java.util.List<java.lang.String> getForbiddenUrlNames()
I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getForbiddenUrlNames()
public CmsUUID getId()
I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getId()
public CmsClientProperty getInheritedProperty(java.lang.String name)
name
- the name of the propertypublic java.lang.String getModeClass()
I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getModeClass()
public java.util.Map<java.lang.String,CmsClientProperty> getOwnProperties()
I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getOwnProperties()
public CmsListInfoBean getPageInfo()
I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getPageInfo()
public java.lang.String getPath()
I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.getPath()
public java.util.Map<java.lang.String,CmsClientTemplateBean> 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 reloadStatus)
I_CmsPropertyEditorHandler
newUrlName
- the new url namevfsPath
- the new vfs pathpropertyChanges
- the property changeseditedName
- if true, the URL name has been editedreloadStatus
- 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
true
if the handled entry has an editable nameI_CmsPropertyEditorHandler.hasEditableName()
public boolean isFolder()
I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.isFolder()
public boolean isHiddenProperty(java.lang.String key)
I_CmsPropertyEditorHandler
key
- the property nameI_CmsPropertyEditorHandler.isHiddenProperty(java.lang.String)
public boolean isSimpleMode()
I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.isSimpleMode()
public void setPageInfo(CmsListInfoBean pageInfo)
pageInfo
- the page info beanpublic boolean useAdeTemplates()
I_CmsPropertyEditorHandler
I_CmsPropertyEditorHandler.useAdeTemplates()
protected CmsClientSitemapEntry getEntry()
protected java.lang.String getPath(java.lang.String urlName)
urlName
- the URL name to create the path for