public class CmsSitemapChange extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable, java.lang.Comparable<CmsSitemapChange>
限定符和类型 | 类和说明 |
---|---|
static class |
CmsSitemapChange.ChangeType
The change types.
|
构造器和说明 |
---|
CmsSitemapChange()
Constructor needed for serialization.
|
CmsSitemapChange(CmsUUID entryId,
java.lang.String sitePath,
CmsSitemapChange.ChangeType changeType)
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
void |
addChangeData(CmsSitemapChange data)
Adds the given change data to this change object.
|
void |
addChangeTitle(java.lang.String title)
Adds a property change for a changed title.
|
int |
compareTo(CmsSitemapChange arg0)
Will compare the parent site path and the position of the entry to change.
|
boolean |
equals(java.lang.Object obj)
Two sitemap change objects are considered equal, if the entry id's are equal.
|
CmsSitemapChange.ChangeType |
getChangeType()
Returns the change type.
|
CmsSitemapClipboardData |
getClipBoardData()
Returns the clip-board data.
|
java.lang.String |
getCreateParameter()
Returns an additional parameter for creating new resources.
|
java.lang.String |
getCreateSitemapFolderType()
Gets the folder type to use if a subsitemap should be created, else null.
|
CmsUUID |
getDefaultFileId()
Gets the default file id.
|
java.util.Map<java.lang.String,CmsClientProperty> |
getDefaultFileProperties()
Returns the change'S properties for the default file.
|
java.util.List<CmsDetailPageInfo> |
getDetailPageInfos()
Returns the detail page info's.
|
CmsUUID |
getEntryId()
Returns the entry id.
|
java.lang.String |
getName()
Returns the entry name.
|
CmsUUID |
getNewCopyResourceId()
Returns the new entry copy resource structure id.
|
int |
getNewResourceTypeId()
Returns the new entry resource type id.
|
java.util.Map<java.lang.String,CmsClientProperty> |
getOwnInternalProperties()
Returns the properties for the entry itself.
|
java.util.Map<java.lang.String,CmsClientProperty> |
getOwnProperties()
Returns the change's properties for the entry itself.
|
CmsUUID |
getParentId()
Returns the entry parent id.
|
int |
getPosition()
Returns the entry position.
|
java.util.List<CmsPropertyModification> |
getPropertyChanges()
Gets the list of property changes.
|
java.lang.String |
getSitePath()
Returns the site-path.
|
CmsClientSitemapEntry |
getUpdatedEntry()
Returns the updated entry.
|
boolean |
hasChangedName()
Returns if the entry name has changed.
|
boolean |
hasChangedPosition()
Returns if the position has changed.
|
boolean |
hasChangedProperties()
Returns if there are changed properties.
|
boolean |
hasDetailPageInfos()
Returns if detail page info's have changed.
|
int |
hashCode() |
boolean |
hasNewParent()
Returns if this change sets a new parent.
|
boolean |
isDelete()
Returns if this is a deleting change.
|
boolean |
isLeafType()
Returns if the entry to change is a leaf type entry.
|
boolean |
isNew()
Returns if this is a creating new change.
|
boolean |
isRemove()
Returns if this is a remove from navigation change.
|
void |
setClipBoardData(CmsSitemapClipboardData clipBoardData)
Sets the clip-board data.
|
void |
setCreateParameter(java.lang.String parameter)
Sets additional info needed for creating new resources.
|
void |
setCreateSitemapFolderType(java.lang.String folderType)
Sets the folder type name to use for creating a subsitemap.
|
void |
setDefaultFileId(CmsUUID id)
Sets the default file id.
|
void |
setDefaultFileInternalProperties(java.util.Map<java.lang.String,CmsClientProperty> props)
Sets the properties for the default file.
|
void |
setDetailPageInfos(java.util.List<CmsDetailPageInfo> detailPageInfos)
Sets the detail page info's.
|
void |
setEntryId(CmsUUID entryId)
Sets the entry id.
|
void |
setLeafType(boolean isLeafEntry)
Sets if the entry to change is a leaf type entry.
|
void |
setName(java.lang.String name)
Sets the entry name.
|
void |
setNewCopyResourceId(CmsUUID newCopyResourceId)
Sets the new entry copy resource structure id.
|
void |
setNewResourceTypeId(int newResourceTypeId)
Sets the new entry resource type id.
|
void |
setOwnInternalProperties(java.util.Map<java.lang.String,CmsClientProperty> props)
Sets the changed properties of the entry itself.
|
void |
setParentId(CmsUUID parentId)
Sets the entry parent id.
|
void |
setPosition(int position)
Sets the entry position.
|
void |
setPropertyChanges(java.util.List<CmsPropertyModification> propertyChanges)
Sets the list of property changes.
|
void |
setSitePath(java.lang.String sitePath)
Sets the site path.
|
void |
setTitle(java.lang.String title)
Sets the title.
|
void |
setUpdatedEntry(CmsClientSitemapEntry updatedEntry)
Sets the updated entry.
|
public CmsSitemapChange()
public CmsSitemapChange(CmsUUID entryId, java.lang.String sitePath, CmsSitemapChange.ChangeType changeType)
entryId
- entry idsitePath
- the entry site-pathchangeType
- the change typepublic void addChangeData(CmsSitemapChange data)
data
- the change data to addpublic void addChangeTitle(java.lang.String title)
title
- the changed titlepublic int compareTo(CmsSitemapChange arg0)
compareTo
在接口中 java.lang.Comparable<CmsSitemapChange>
Comparable.compareTo(java.lang.Object)
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
Object.equals(java.lang.Object)
public CmsSitemapChange.ChangeType getChangeType()
public CmsSitemapClipboardData getClipBoardData()
public java.lang.String getCreateParameter()
public java.lang.String getCreateSitemapFolderType()
public CmsUUID getDefaultFileId()
public java.util.Map<java.lang.String,CmsClientProperty> getDefaultFileProperties()
public java.util.List<CmsDetailPageInfo> getDetailPageInfos()
public CmsUUID getEntryId()
public java.lang.String getName()
public CmsUUID getNewCopyResourceId()
public int getNewResourceTypeId()
public java.util.Map<java.lang.String,CmsClientProperty> getOwnInternalProperties()
public java.util.Map<java.lang.String,CmsClientProperty> getOwnProperties()
public CmsUUID getParentId()
public int getPosition()
public java.util.List<CmsPropertyModification> getPropertyChanges()
public java.lang.String getSitePath()
public CmsClientSitemapEntry getUpdatedEntry()
public boolean hasChangedName()
true
if the entry name has changedpublic boolean hasChangedPosition()
true
if the position has changedpublic boolean hasChangedProperties()
true
if there are changed propertiespublic boolean hasDetailPageInfos()
true
if detail page info's have changedpublic int hashCode()
hashCode
在类中 java.lang.Object
Object.hashCode()
public boolean hasNewParent()
true
if the entry gets a new parentpublic boolean isDelete()
public boolean isLeafType()
true
if the entry to change is a leaf type entrypublic boolean isNew()
public boolean isRemove()
public void setClipBoardData(CmsSitemapClipboardData clipBoardData)
clipBoardData
- the clip-board data to setpublic void setCreateParameter(java.lang.String parameter)
parameter
- the additional resource creation informationpublic void setCreateSitemapFolderType(java.lang.String folderType)
folderType
- a resource type namepublic void setDefaultFileId(CmsUUID id)
id
- the default file idpublic void setDefaultFileInternalProperties(java.util.Map<java.lang.String,CmsClientProperty> props)
props
- the properties for the default filepublic void setDetailPageInfos(java.util.List<CmsDetailPageInfo> detailPageInfos)
detailPageInfos
- the detail page info's to setpublic void setEntryId(CmsUUID entryId)
entryId
- the entry id to setpublic void setLeafType(boolean isLeafEntry)
isLeafEntry
- true
if the entry to change is a leaf type entrypublic void setName(java.lang.String name)
name
- the entry name to setpublic void setNewCopyResourceId(CmsUUID newCopyResourceId)
newCopyResourceId
- the new entry copy resource structure id to setpublic void setNewResourceTypeId(int newResourceTypeId)
newResourceTypeId
- the new entry resource type id to setpublic void setOwnInternalProperties(java.util.Map<java.lang.String,CmsClientProperty> props)
props
- the entry's changed propertiespublic void setParentId(CmsUUID parentId)
parentId
- the entry parent id to setpublic void setPosition(int position)
position
- the entry position to setpublic void setPropertyChanges(java.util.List<CmsPropertyModification> propertyChanges)
propertyChanges
- the property changespublic void setSitePath(java.lang.String sitePath)
sitePath
- the site path to setpublic void setTitle(java.lang.String title)
title
- the titlepublic void setUpdatedEntry(CmsClientSitemapEntry updatedEntry)
updatedEntry
- the updated entry to set