public class QueryInformationSystem extends Object
| Constructor and Description |
|---|
QueryInformationSystem()
Default constructor
|
QueryInformationSystem(String scope1) |
| Modifier and Type | Method and Description |
|---|---|
List<org.gcube.common.core.resources.GCUBEHostingNode> |
getAllGHNs()
Get all GHN of the testing infrastructure
|
List<org.gcube.common.core.resources.GCUBEService> |
getAllServiceProfile()
Get all Service Profile of the testing infrastructure
|
List<org.gcube.common.core.resources.GCUBECollection> |
getCollections()
Return all the collections
|
org.gcube.common.core.resources.GCUBECollection |
getColProfile(String id)
Get a service profile given the ServiceInfo object
|
org.apache.axis.message.addressing.EndpointReferenceType |
getEndpoint(String serviceName,
String serviceClass,
String ghnId)
Get the EPR of a Service running in the given ghniId
|
String |
getGenericResourceByName(String name)
Get the Generic Resource given the name
|
String |
getGenericResourceBySecondaryType(String secondaryType)
Get the Generic Resource given the secondaryType
|
List<org.gcube.common.core.resources.GCUBEGenericResource> |
getGenericResources()
Return all the metadatacollections Id
|
String |
getGHNId(String description)
Get a a GHN Profile id related to its name
|
String |
getGHNName(String ghnID) |
List<org.gcube.common.core.resources.GCUBEHostingNode> |
getGHNs() |
List<org.gcube.common.core.resources.GCUBEHostingNode> |
getGHNWithName(String name)
Get all GHN of the testing infrastructure
|
org.gcube.common.core.resources.GCUBEMCollection |
getMColProfile(String id)
Get a service profile given the ServiceInfo object
|
ArrayList<String> |
getMetadataCollectionIds()
Return all the metadatacollections Id
|
List<org.gcube.common.core.resources.GCUBEMCollection> |
getMetadataCollections()
Return all the metadatacollections
|
org.apache.axis.message.addressing.EndpointReferenceType |
getRegistryEndpoint()
retrieve the Registry port type on the testing infrastructure
|
org.apache.axis.message.addressing.EndpointReferenceType |
getResourceManagerEndpoint()
retrieve the ResourceManager port type on the testing infrastructure
|
String |
getRunningInstanceID(String serviceName,
String serviceClass,
String ghnId)
Get the ID of a Service running in the given ghniId
|
org.gcube.common.core.resources.GCUBEService |
getServiceProfile(ServiceInfo info)
Get a service profile given the ServiceInfo object
|
org.apache.axis.message.addressing.EndpointReferenceType |
getVREManagerEndpoint()
retrieve the VREManager port type on the testing infrastructure
|
org.apache.axis.message.addressing.EndpointReferenceType |
getVREModelerEndpoint()
retrieve the VREModeler port type on the testing infrastructure
|
org.apache.axis.message.addressing.EndpointReferenceType |
getWSResourceEpr(String serviceClass,
String serviceName,
String indexId) |
List<org.gcube.common.core.informationsystem.client.XMLResult> |
performGenericQuery(String xquery)
Perform a Generic xquery
|
public QueryInformationSystem()
throws Exception
Exceptionpublic org.gcube.common.core.resources.GCUBEService getServiceProfile(ServiceInfo info) throws org.gcube.common.core.informationsystem.client.ISClient.ISMalformedQueryException, org.gcube.common.core.informationsystem.client.ISClient.ISUnsupportedQueryException, org.gcube.common.core.informationsystem.ISException, InstantiationException, IllegalAccessException
info - the Service infoExceptionorg.gcube.common.core.informationsystem.client.ISClient.ISMalformedQueryExceptionorg.gcube.common.core.informationsystem.client.ISClient.ISUnsupportedQueryExceptionorg.gcube.common.core.informationsystem.ISExceptionInstantiationExceptionIllegalAccessExceptionpublic org.gcube.common.core.resources.GCUBECollection getColProfile(String id) throws Exception
info - the Service infoExceptionpublic org.gcube.common.core.resources.GCUBEMCollection getMColProfile(String id) throws Exception
info - the Service infoExceptionpublic List<org.gcube.common.core.resources.GCUBEService> getAllServiceProfile() throws org.gcube.common.core.informationsystem.client.ISClient.ISMalformedQueryException, org.gcube.common.core.informationsystem.client.ISClient.ISUnsupportedQueryException, org.gcube.common.core.informationsystem.ISException, InstantiationException, IllegalAccessException
org.gcube.common.core.informationsystem.client.ISClient.ISMalformedQueryExceptionorg.gcube.common.core.informationsystem.client.ISClient.ISUnsupportedQueryExceptionorg.gcube.common.core.informationsystem.ISExceptionInstantiationExceptionIllegalAccessExceptionpublic List<org.gcube.common.core.resources.GCUBEHostingNode> getAllGHNs() throws org.gcube.common.core.informationsystem.client.ISClient.ISMalformedQueryException, org.gcube.common.core.informationsystem.client.ISClient.ISUnsupportedQueryException, org.gcube.common.core.informationsystem.ISException, InstantiationException, IllegalAccessException
Exceptionorg.gcube.common.core.informationsystem.client.ISClient.ISMalformedQueryExceptionorg.gcube.common.core.informationsystem.client.ISClient.ISUnsupportedQueryExceptionorg.gcube.common.core.informationsystem.ISExceptionInstantiationExceptionIllegalAccessExceptionpublic List<org.gcube.common.core.resources.GCUBEHostingNode> getGHNWithName(String name) throws org.gcube.common.core.informationsystem.client.ISClient.ISMalformedQueryException, org.gcube.common.core.informationsystem.client.ISClient.ISUnsupportedQueryException, org.gcube.common.core.informationsystem.ISException, InstantiationException, IllegalAccessException
Exceptionorg.gcube.common.core.informationsystem.client.ISClient.ISMalformedQueryExceptionorg.gcube.common.core.informationsystem.client.ISClient.ISUnsupportedQueryExceptionorg.gcube.common.core.informationsystem.ISExceptionInstantiationExceptionIllegalAccessExceptionpublic List<org.gcube.common.core.resources.GCUBEHostingNode> getGHNs() throws org.gcube.common.core.informationsystem.client.ISClient.ISMalformedQueryException, org.gcube.common.core.informationsystem.client.ISClient.ISUnsupportedQueryException, org.gcube.common.core.informationsystem.ISException
org.gcube.common.core.informationsystem.client.ISClient.ISMalformedQueryExceptionorg.gcube.common.core.informationsystem.client.ISClient.ISUnsupportedQueryExceptionorg.gcube.common.core.informationsystem.ISExceptionpublic String getGHNId(String description)
description - the hostame:port of the GHNpublic org.apache.axis.message.addressing.EndpointReferenceType getVREModelerEndpoint()
public org.apache.axis.message.addressing.EndpointReferenceType getVREManagerEndpoint()
public org.apache.axis.message.addressing.EndpointReferenceType getResourceManagerEndpoint()
public org.apache.axis.message.addressing.EndpointReferenceType getRegistryEndpoint()
public org.apache.axis.message.addressing.EndpointReferenceType getEndpoint(String serviceName, String serviceClass, String ghnId)
info - a ServiceInfoghnId - the GHNIdpublic String getRunningInstanceID(String serviceName, String serviceClass, String ghnId)
info - a ServiceInfoghnId - the GHNIdpublic List<org.gcube.common.core.informationsystem.client.XMLResult> performGenericQuery(String xquery) throws org.gcube.common.core.informationsystem.client.ISClient.ISMalformedQueryException, org.gcube.common.core.informationsystem.client.ISClient.ISUnsupportedQueryException, org.gcube.common.core.informationsystem.ISException
xquery - the xquery to performorg.gcube.common.core.informationsystem.client.ISClient.ISMalformedQueryExceptionorg.gcube.common.core.informationsystem.client.ISClient.ISUnsupportedQueryExceptionorg.gcube.common.core.informationsystem.ISExceptionpublic String getGenericResourceBySecondaryType(String secondaryType) throws Exception
secondaryType - the secondary typeExceptionpublic org.apache.axis.message.addressing.EndpointReferenceType getWSResourceEpr(String serviceClass, String serviceName, String indexId) throws Exception
Exceptionpublic String getGenericResourceByName(String name) throws Exception
name - the nameExceptionpublic ArrayList<String> getMetadataCollectionIds() throws Exception
Exception - exceptionspublic List<org.gcube.common.core.resources.GCUBEMCollection> getMetadataCollections() throws Exception
Exception - exceptionspublic List<org.gcube.common.core.resources.GCUBECollection> getCollections() throws Exception
Exception - exceptionspublic List<org.gcube.common.core.resources.GCUBEGenericResource> getGenericResources() throws Exception
Exception - exceptionsCopyright © 2012. All Rights Reserved.