|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.dna.graph.request.Request org.jboss.dna.graph.request.VerifyWorkspaceRequest
public final class VerifyWorkspaceRequest
Verify that a workspace exists with the supplied name. This is useful to determine the name of the "default" workspace for a source.
Constructor Summary | |
---|---|
VerifyWorkspaceRequest(String workspaceName)
Create a request to verify the existance of the named workspace. |
Method Summary | |
---|---|
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. |
String |
getActualWorkspaceName()
Get the actual name of the workspace. |
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. |
void |
setActualWorkspaceName(String actualWorkspaceName)
Set the actual name of the workspace. |
String |
toString()
|
String |
workspaceName()
Get the desired name for the workspace. |
Methods inherited from class org.jboss.dna.graph.request.Request |
---|
cancel, getError, hasError, isCancelled, setError |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VerifyWorkspaceRequest(String workspaceName)
workspaceName
- the desired name of the workspace, or null if the source's default workspace should be usedMethod Detail |
---|
public String workspaceName()
public String getActualWorkspaceName()
public void setActualWorkspaceName(String actualWorkspaceName)
actualWorkspaceName
- the actual name of the workspace; never nullpublic Location getActualLocationOfRoot()
public void setActualRootLocation(Location actualLocationOfRoot)
actualLocationOfRoot
- the actual location of the workspace's root node.public boolean isReadOnly()
isReadOnly
in class Request
Request.isReadOnly()
public int hashCode()
hashCode
in class Object
Object.hashCode()
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 |