|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.gwt.shared.property.CmsPropertyModification
public class CmsPropertyModification
A class which represents a property modification.
| Constructor Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsPropertyModification(CmsPropertyModification propMod)
propMod - the modification bean from which to copy the data
public 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 changed
public 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()
| Method Detail |
|---|
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
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||