public static class Operations.AddProperty extends Object implements Operation
Operation
which calls
Batch.addProperty(NodeId, Name, QValue)
or Batch.addProperty(NodeId, Name, QValue[])
depending on whether the property is multi valued or not when applied to a Batch
.Constructor and Description |
---|
Operations.AddProperty(NodeId parentId,
Name propertyName,
QValue value)
Create a new add-property
Operation for the given arguments. |
Operations.AddProperty(NodeId parentId,
Name propertyName,
QValue[] values)
Create a new add-property
Operation for the given arguments. |
public Operations.AddProperty(NodeId parentId, Name propertyName, QValue value)
Operation
for the given arguments.parentId
- propertyName
- value
- Batch.addProperty(NodeId, Name, QValue)
public Operations.AddProperty(NodeId parentId, Name propertyName, QValue[] values)
Operation
for the given arguments.parentId
- propertyName
- values
- Batch.addProperty(NodeId, Name, QValue[])
public void apply(Batch batch) throws RepositoryException
Batch
public boolean equals(Operations.AddProperty other)
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"