|
||||||||||
| 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.ChangeRequest
org.jboss.dna.graph.request.DestroyWorkspaceRequest
public final class DestroyWorkspaceRequest

Request that an existing workspace with the supplied name be destroyed.
| Constructor Summary | |
|---|---|
DestroyWorkspaceRequest(String workspaceName)
Create a request to destroy an existing workspace. |
|
| Method Summary | |
|---|---|
Location |
changedLocation()
Get the location of the top-most node that is to be changed by this request. |
String |
changedWorkspace()
Get the name of the workspace that was 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 |
getActualLocationOfRoot()
Get the actual location of the root node in the new workspace, or null if the workspace was not (yet) created. |
int |
hashCode()
|
boolean |
isReadOnly()
Return whether this request only reads information. |
void |
setActualRootLocation(Location actualLocationOfRoot)
Set the actual location of the root node in the new workspace. |
String |
toString()
|
String |
workspaceName()
Get the name for the workspace that is to be destroyed. |
| Methods inherited from class org.jboss.dna.graph.request.Request |
|---|
cancel, freeze, getError, hasError, isCancelled, isFrozen, setError, setLatchForFreezing |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DestroyWorkspaceRequest(String workspaceName)
workspaceName - the name of the workspace that is to be destroyed
IllegalArgumentException - if the workspace name is null| Method Detail |
|---|
public String workspaceName()
public Location getActualLocationOfRoot()
public void setActualRootLocation(Location actualLocationOfRoot)
actualLocationOfRoot - the actual location of the workspace's root node.
IllegalStateException - if the request is frozenpublic boolean isReadOnly()
isReadOnly in class RequestRequest.isReadOnly()public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String toString()
toString in class ObjectObject.toString()public Location changedLocation()
changedLocation in class ChangeRequestChangeRequest.changedLocation()public String changedWorkspace()
changedWorkspace in class ChangeRequestChangeRequest.changedWorkspace()
public boolean changes(String workspace,
Path path)
changes in class 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||