|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.graph.request.Request
org.modeshape.graph.request.CacheableRequest
org.modeshape.graph.request.GetWorkspacesRequest
public class GetWorkspacesRequest

A request to obtain the information about the workspaces that are available.
| Constructor Summary | |
|---|---|
GetWorkspacesRequest()
Create a request to obtain the information about the available workspaces. |
|
| Method Summary | |
|---|---|
void |
cancel()
Cancel this request. |
boolean |
equals(Object obj)
|
Set<String> |
getAvailableWorkspaceNames()
Get the names of workspaces that are available (at least to the current user) |
RequestType |
getType()
Returns the type of the request |
int |
hashCode()
|
boolean |
isReadOnly()
Return whether this request only reads information. |
void |
setAvailableWorkspaceNames(Set<String> availableWorkspaceNames)
Set the names of the workspaces that are available (at least to the current user) |
String |
toString()
|
| Methods inherited from class org.modeshape.graph.request.CacheableRequest |
|---|
getCachePolicy, getTimeLoaded, setCachePolicy, setTimeLoaded |
| Methods inherited from class org.modeshape.graph.request.Request |
|---|
checkNotFrozen, freeze, getError, hasError, isCancelled, isFrozen, printable, printable, setError, setLatchForFreezing |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GetWorkspacesRequest()
| Method Detail |
|---|
public boolean isReadOnly()
isReadOnly in class RequestRequest.isReadOnly()public Set<String> getAvailableWorkspaceNames()
public void setAvailableWorkspaceNames(Set<String> availableWorkspaceNames)
availableWorkspaceNames - Sets availableWorkspaceNames to the specified value.
IllegalStateException - if the request is frozenpublic void cancel()
cancellation flag is set, and any current or
future processing of the request may be affected by the cancellation. (Note however, that processors may choose to not
respect this request.)
This method is safe to be called by different threads.
cancel in class RequestRequest.cancel()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 RequestType getType()
Request
getType in class Request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||