|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.dna.graph.requests.Request org.jboss.dna.graph.requests.DeleteBranchRequest
public class DeleteBranchRequest
Instruction that a branch be deleted.
Constructor Summary | |
---|---|
DeleteBranchRequest(Location at)
Create a request to delete a branch. |
Method Summary | |
---|---|
Location |
at()
Get the location defining the top of the branch to be deleted |
boolean |
equals(Object obj)
|
Location |
getActualLocationOfNode()
Get the actual location of the node that was deleted. |
boolean |
isReadOnly()
Return whether this request only reads information. |
void |
setActualLocationOfNode(Location actual)
Sets the actual and complete location of the node being deleted. |
String |
toString()
|
Methods inherited from class org.jboss.dna.graph.requests.Request |
---|
cancel, getError, hasError, isCancelled, setError |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteBranchRequest(Location at)
at
- the location of the top node in the existing branch that is to be deleted
IllegalArgumentException
- if the location is nullMethod Detail |
---|
public Location at()
public boolean isReadOnly()
isReadOnly
in class Request
Request.isReadOnly()
public void setActualLocationOfNode(Location actual)
path
.
actual
- the actual location of the node being deleted, or null if the current location
should be used
IllegalArgumentException
- if the actual location does not represent the same
location
as the current location
, or if the actual location does not have a path.public Location getActualLocationOfNode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |