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 java.lang.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
Constructors Constructor Description CmsLocaleComparePropertyData()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsUUID
getDefaultFileId()
Returns the defaultFileId.java.util.Map<java.lang.String,CmsClientProperty>
getDefaultFileProperties()
Returns the defaultFileProperties.java.util.List<java.lang.String>
getForbiddenUrlNames()
Gets the list of forbidden url names.CmsUUID
getId()
Gets the structure id of the entry to edit.CmsClientProperty
getInheritedProperty(java.lang.String name)
Gets the inherited property with the given name , or null if none exist.java.lang.String
getName()
Gets the current name.java.util.Map<java.lang.String,CmsClientProperty>
getOwnProperties()
Returns the ownProperties.java.lang.String
getPath()
Returns the path.boolean
hasEditableName()
Returns tree if the entry has an editable name.boolean
isFolder()
Returns the isFolder.void
setDefaultFileId(CmsUUID defaultFileId)
Sets the defaultFileId.void
setDefaultFileProperties(java.util.Map<java.lang.String,CmsClientProperty> defaultFileProperties)
Sets the defaultFileProperties.void
setFolder(boolean isFolder)
Sets the isFolder.void
setForbiddenUrlNames(java.util.List<java.lang.String> forbiddenUrlNames)
Sets the forbiddenUrlNames.void
setHasEditableName(boolean editable)
Enables / disables editing of the file name.void
setId(CmsUUID id)
Sets the structure id of the entry to edit.void
setInheritedProperties(java.util.Map<java.lang.String,CmsClientProperty> inheritedProps)
Sets the inherited properties.void
setName(java.lang.String name)
Sets the name.void
setOwnProperties(java.util.Map<java.lang.String,CmsClientProperty> ownProperties)
Sets the ownProperties.void
setPath(java.lang.String path)
Sets the path.
-
-
-
Constructor Detail
-
CmsLocaleComparePropertyData
public CmsLocaleComparePropertyData()
Default constructor.Creates a new, empty instance.
-
-
Method Detail
-
getDefaultFileId
public CmsUUID getDefaultFileId()
Returns the defaultFileId.- Returns:
- the defaultFileId
-
getDefaultFileProperties
public java.util.Map<java.lang.String,CmsClientProperty> getDefaultFileProperties()
Returns the defaultFileProperties.- Returns:
- the defaultFileProperties
-
getForbiddenUrlNames
public java.util.List<java.lang.String> getForbiddenUrlNames()
Gets the list of forbidden url names.- Returns:
- the list of forbidden url names
-
getId
public CmsUUID getId()
Gets the structure id of the entry to edit.- Returns:
- the structure id of the entry to edit
-
getInheritedProperty
public CmsClientProperty getInheritedProperty(java.lang.String name)
Gets the inherited property with the given name , or null if none exist.- Parameters:
name
- the property name- Returns:
- the inherited property
-
getName
public java.lang.String getName()
Gets the current name.- Returns:
- the current name
-
getOwnProperties
public java.util.Map<java.lang.String,CmsClientProperty> getOwnProperties()
Returns the ownProperties.- Returns:
- the ownProperties
-
getPath
public java.lang.String getPath()
Returns the path.- Returns:
- the path
-
hasEditableName
public boolean hasEditableName()
Returns tree if the entry has an editable name.- Returns:
- true if the entry has an editable name
-
isFolder
public boolean isFolder()
Returns the isFolder.- Returns:
- the isFolder
-
setDefaultFileId
public void setDefaultFileId(CmsUUID defaultFileId)
Sets the defaultFileId.- Parameters:
defaultFileId
- the defaultFileId to set
-
setDefaultFileProperties
public void setDefaultFileProperties(java.util.Map<java.lang.String,CmsClientProperty> defaultFileProperties)
Sets the defaultFileProperties.- Parameters:
defaultFileProperties
- the defaultFileProperties to set
-
setFolder
public void setFolder(boolean isFolder)
Sets the isFolder.- Parameters:
isFolder
- the isFolder to set
-
setForbiddenUrlNames
public void setForbiddenUrlNames(java.util.List<java.lang.String> forbiddenUrlNames)
Sets the forbiddenUrlNames.- Parameters:
forbiddenUrlNames
- the forbiddenUrlNames to set
-
setHasEditableName
public void setHasEditableName(boolean editable)
Enables / disables editing of the file name.- Parameters:
editable
- true if the file name should be editable
-
setId
public void setId(CmsUUID id)
Sets the structure id of the entry to edit.- Parameters:
id
- the id
-
setInheritedProperties
public void setInheritedProperties(java.util.Map<java.lang.String,CmsClientProperty> inheritedProps)
Sets the inherited properties.- Parameters:
inheritedProps
- the inherited properties
-
setName
public void setName(java.lang.String name)
Sets the name.- Parameters:
name
- the name
-
setOwnProperties
public void setOwnProperties(java.util.Map<java.lang.String,CmsClientProperty> ownProperties)
Sets the ownProperties.- Parameters:
ownProperties
- the ownProperties to set
-
setPath
public void setPath(java.lang.String path)
Sets the path.- Parameters:
path
- the path to set
-
-