|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.dna.graph.request.Request
org.jboss.dna.graph.request.RemovePropertyRequest
public class RemovePropertyRequest

Instruction to remove the property with the supplied name from the node at the given location. This request has no net effect if the node does not contain a property with the supplied name.
| Constructor Summary | |
|---|---|
RemovePropertyRequest(Location from,
String workspaceName,
Name propertyName)
Create a request to remove a named property from the node at the supplied location. |
|
| Method Summary | |
|---|---|
Location |
changedLocation()
Get the location of the top-most node that is to be changed by this request. |
boolean |
changes(String workspace,
Path path)
Determine if this request changes the branch at the given path. |
boolean |
equals(Object obj)
|
Location |
from()
Get the location defining the node from which the property is to be removed. |
Location |
getActualLocationOfNode()
Get the actual location of the node that was updated. |
String |
inWorkspace()
Get the name of the workspace in which the node exists. |
boolean |
isReadOnly()
Return whether this request only reads information. |
Name |
propertyName()
Get the name of the property that is being removed. |
void |
setActualLocationOfNode(Location actual)
Sets the actual and complete location of the node being updated. |
String |
toString()
|
| Methods inherited from class org.jboss.dna.graph.request.Request |
|---|
cancel, getError, hasError, isCancelled, setError |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RemovePropertyRequest(Location from,
String workspaceName,
Name propertyName)
from - the location of the node to be readworkspaceName - the name of the workspace containing the nodepropertyName - the name of the property to be removed
IllegalArgumentException - if the location, workspace name, or property name is null| Method Detail |
|---|
public boolean isReadOnly()
isReadOnly in class RequestRequest.isReadOnly()public Location from()
public String inWorkspace()
public Name propertyName()
public void setActualLocationOfNode(Location actual)
path.
actual - the actual location of the node being updated, or null if the current location should be used
IllegalArgumentException - if the actual location does represent the same location
as the current location, or if the actual location does not have a path.public Location getActualLocationOfNode()
public boolean changes(String workspace,
Path path)
changes in interface ChangeRequestworkspace - the name of the workspace; may not be nullpath - the path; may not be null
ChangeRequest.changes(java.lang.String, org.jboss.dna.graph.property.Path)public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public Location changedLocation()
changedLocation in interface ChangeRequestChangeRequest.changedLocation()public String toString()
toString in class ObjectObject.toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||