|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.dir.master.stubs.MasterCall
public class MasterCall
Specialises GCUBEStagingServiceHandler
to interactions with the DIR Master service.
Nested Class Summary | |
---|---|
static class |
MasterCall.ServiceClient
Extends GCUBEServiceClientImpl to serve as a cache of endpoints to the RIs of the Master service. |
Constructor Summary | |
---|---|
MasterCall(GCUBEScope scope,
GCUBESecurityManager... securityManager)
Creates an instance from a GCUBEScope and a GCUBESecurityManager . |
|
MasterCall(GCUBEScopeManager scopeManager,
GCUBESecurityManager... securityManager)
Creates an instance from a GCUBEScopeManager and a GCUBESecurityManager . |
Method Summary | |
---|---|
java.util.List<RPDocument> |
findWSResources()
|
java.lang.String[] |
getCollectionIDs()
Returns the identifiers of the collections managed by the Master WR-Resource. |
WSResourceQuery |
getWSQuery()
Returns the query used to discover WS Resource of the Master service. |
java.lang.String |
merge(IFusionParameters params)
Merges query results retrieved from the collections managed by the Master in accordance with fusion parameters. |
ICollectionRanking |
select(ISelectionParameters params)
Selects over the collections managed by the Master in accordance with selection parameters. |
void |
setEPR(org.apache.axis.message.addressing.EndpointReferenceType epr)
Sets a specific endpoint as the target of the call. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MasterCall(GCUBEScopeManager scopeManager, GCUBESecurityManager... securityManager) throws java.lang.Exception
GCUBEScopeManager
and a GCUBESecurityManager
.
scopeManager
- the scope manager.securityManager
- the security manager.
java.lang.Exception
- if the handler could not be created.public MasterCall(GCUBEScope scope, GCUBESecurityManager... securityManager) throws java.lang.Exception
GCUBEScope
and a GCUBESecurityManager
.
scope
- the scope.securityManager
- the security manager
java.lang.Exception
- if the handler could not be created.Method Detail |
---|
public WSResourceQuery getWSQuery()
public java.util.List<RPDocument> findWSResources() throws java.lang.Exception
java.lang.Exception
public java.lang.String[] getCollectionIDs() throws GCUBEException, java.lang.Exception, java.lang.IllegalArgumentException
java.lang.Exception
- if the call failed due to a local error.
GCUBEException
- if call failed due to remote error.
java.lang.IllegalArgumentException
public ICollectionRanking select(ISelectionParameters params) throws GCUBEException, java.lang.Exception
params
- the parameters.
java.lang.Exception
- if the call failed due to a local error.
GCUBEException
- if call failed due to remote error.public java.lang.String merge(IFusionParameters params) throws GCUBEException, java.lang.Exception
params
- the parameters.
java.lang.Exception
- if the call failed due to a local error.
GCUBEException
- if call failed due to remote error.public void setEPR(org.apache.axis.message.addressing.EndpointReferenceType epr)
epr
- the endpoint.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |