public class CmsPropertyModification
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable
限定符 | 构造器和说明 |
---|---|
protected |
CmsPropertyModification()
Empty constructor for serialization.
|
|
CmsPropertyModification(CmsPropertyModification propMod)
Copy constructor.
|
|
CmsPropertyModification(CmsUUID resourceId,
java.lang.String propertyName,
java.lang.String value,
boolean isStructureValue)
Creates a new property modification bean.
|
|
CmsPropertyModification(java.lang.String path,
java.lang.String value)
Creates a new property modification bean.
|
限定符和类型 | 方法和说明 |
---|---|
CmsUUID |
getId()
Returns the id of the resource for which to change properties.
|
java.lang.String |
getName()
Returns the property name.
|
java.lang.String |
getValue()
Returns the new value.
|
boolean |
isStructureValue()
Flag which indicates a structure value change.
|
void |
updatePropertyInMap(java.util.Map<java.lang.String,CmsClientProperty> props)
Helper method for applying the change to a property map.
|
public CmsPropertyModification(CmsPropertyModification propMod)
propMod
- the modification bean from which to copy the datapublic CmsPropertyModification(CmsUUID resourceId, java.lang.String propertyName, java.lang.String value, boolean isStructureValue)
resourceId
- the resource id for which the property changedpropertyName
- the name of the propertyvalue
- the new property valueisStructureValue
- flag which indicates whether the structure value changedpublic CmsPropertyModification(java.lang.String path, java.lang.String value)
path
- a path of the form id/propertyname/mode, where mode is either S for structure or R for resourcevalue
- the new property valueprotected CmsPropertyModification()
public CmsUUID getId()
public java.lang.String getName()
public java.lang.String getValue()
public boolean isStructureValue()
public void updatePropertyInMap(java.util.Map<java.lang.String,CmsClientProperty> props)
props
- a map of properties