|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectWSCall
org.gcube.contentmanagement.contentmanager.stubs.calls.BaseCall
org.gcube.contentmanagement.contentmanager.stubs.calls.ManagerCall
public abstract class ManagerCall
Extends BaseCall for high-level calls to CollectionResource Managers.
| Nested Class Summary | |
|---|---|
static class |
ManagerCall.DiscoveryException
A GCUBEUnrecoverableException thrown when best-effort strategies fails for lack of query results. |
| Constructor Summary | |
|---|---|
ManagerCall(GCUBEScope scope,
GCUBESecurityManager... securityManager)
Creates an instance to use in a given scope and, optionally, with a given a security manager. |
|
ManagerCall(java.lang.String collectionID,
GCUBEScope scope,
GCUBESecurityManager... securityManager)
Creates an instance to use for a certain collection, in a given scope and, optionally, with a given a security manager. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCollectionID()
Returns the identifier of the collection bound by the manager |
void |
resetQuery()
Resets the default query used by the call. |
void |
setCollectionID(java.lang.String id)
Sets the identifier of the collection bound to the manager to use in the query for the best-effort strategy. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ManagerCall(GCUBEScope scope,
GCUBESecurityManager... securityManager)
throws java.lang.Exception
scope - the scope.securityManager - (optional) the security manager.
ManagerCall.DiscoveryException - if the instance could not be created.
java.lang.Exception
public ManagerCall(java.lang.String collectionID,
GCUBEScope scope,
GCUBESecurityManager... securityManager)
throws java.lang.Exception
collectionID - the collection identifier.scope - the scope.securityManager - (optional) the security manager.
ManagerCall.DiscoveryException - if the instance could not be created.
java.lang.Exception| Method Detail |
|---|
public void setCollectionID(java.lang.String id)
throws java.lang.IllegalStateException
id - the identifier.
java.lang.IllegalStateException
public void resetQuery()
throws java.lang.Exception
resetQuery in class BaseCalljava.lang.Exception - if the query could not be reset.public java.lang.String getCollectionID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||