Package org.opencms.ade.sitemap.shared
Class CmsLocaleComparePropertyData
java.lang.Object
org.opencms.ade.sitemap.shared.CmsLocaleComparePropertyData
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsLocaleComparePropertyData
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable
Data used for the property editor in the sitemap editor's locale comparison view.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the defaultFileId.Returns the defaultFileProperties.Gets the list of forbidden url names.getId()
Gets the structure id of the entry to edit.getInheritedProperty
(String name) Gets the inherited property with the given name , or null if none exist.getName()
Gets the current name.Returns the ownProperties.getPath()
Returns the path.boolean
Returns tree if the entry has an editable name.boolean
isFolder()
Returns the isFolder.void
setDefaultFileId
(CmsUUID defaultFileId) Sets the defaultFileId.void
setDefaultFileProperties
(Map<String, CmsClientProperty> defaultFileProperties) Sets the defaultFileProperties.void
setFolder
(boolean isFolder) Sets the isFolder.void
setForbiddenUrlNames
(List<String> forbiddenUrlNames) Sets the forbiddenUrlNames.void
setHasEditableName
(boolean editable) Enables / disables editing of the file name.void
Sets the structure id of the entry to edit.void
setInheritedProperties
(Map<String, CmsClientProperty> inheritedProps) Sets the inherited properties.void
Sets the name.void
setOwnProperties
(Map<String, CmsClientProperty> ownProperties) Sets the ownProperties.void
Sets the path.
-
Constructor Details
-
CmsLocaleComparePropertyData
public CmsLocaleComparePropertyData()Default constructor.Creates a new, empty instance.
-
-
Method Details
-
getDefaultFileId
Returns the defaultFileId.- Returns:
- the defaultFileId
-
getDefaultFileProperties
Returns the defaultFileProperties.- Returns:
- the defaultFileProperties
-
getForbiddenUrlNames
Gets the list of forbidden url names.- Returns:
- the list of forbidden url names
-
getId
Gets the structure id of the entry to edit.- Returns:
- the structure id of the entry to edit
-
getInheritedProperty
Gets the inherited property with the given name , or null if none exist.- Parameters:
name
- the property name- Returns:
- the inherited property
-
getName
Gets the current name.- Returns:
- the current name
-
getOwnProperties
Returns the ownProperties.- Returns:
- the ownProperties
-
getPath
Returns the path.- Returns:
- the path
-
hasEditableName
Returns tree if the entry has an editable name.- Returns:
- true if the entry has an editable name
-
isFolder
Returns the isFolder.- Returns:
- the isFolder
-
setDefaultFileId
Sets the defaultFileId.- Parameters:
defaultFileId
- the defaultFileId to set
-
setDefaultFileProperties
Sets the defaultFileProperties.- Parameters:
defaultFileProperties
- the defaultFileProperties to set
-
setFolder
Sets the isFolder.- Parameters:
isFolder
- the isFolder to set
-
setForbiddenUrlNames
Sets the forbiddenUrlNames.- Parameters:
forbiddenUrlNames
- the forbiddenUrlNames to set
-
setHasEditableName
Enables / disables editing of the file name.- Parameters:
editable
- true if the file name should be editable
-
setId
Sets the structure id of the entry to edit.- Parameters:
id
- the id
-
setInheritedProperties
Sets the inherited properties.- Parameters:
inheritedProps
- the inherited properties
-
setName
Sets the name.- Parameters:
name
- the name
-
setOwnProperties
Sets the ownProperties.- Parameters:
ownProperties
- the ownProperties to set
-
setPath
Sets the path.- Parameters:
path
- the path to set
-