|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.application.framework.vremanagement.vremanagement.impl.ISInfo
public class ISInfo
| Field Summary | |
|---|---|
protected static org.gcube.common.core.informationsystem.client.ISClient |
client
is client in order to query IS |
protected static org.gcube.common.core.informationsystem.publisher.ISPublisher |
publisher
|
protected org.gcube.application.framework.core.session.ASLSession |
session
ASLSession to be used |
| Constructor Summary | |
|---|---|
ISInfo(org.gcube.application.framework.core.session.ASLSession session)
Constructs a ISInfo object |
|
| Method Summary | |
|---|---|
void |
addExternalRIToVRE(File file)
|
void |
addGHNToScope(String url)
Adds a GHN to the active VRE |
void |
addRIToScope(String url,
String className,
String name)
Adds a service to the active VRE |
boolean |
existsGHN(String namePort)
|
org.gcube.common.core.resources.GCUBECollection |
getCollection(org.gcube.common.core.scope.GCUBEScope scope,
String collectionID)
Return a collection profile. |
List<org.gcube.common.core.informationsystem.client.RPDocument> |
getCollectionIndices(org.gcube.common.core.scope.GCUBEScope scope,
String collectionID)
Return all indices associated with a given collection. |
List<org.gcube.common.core.resources.GCUBECollection> |
getCollections(org.gcube.common.core.scope.GCUBEScope scope)
Returns all profiles of collections present in the given scope. |
List<org.gcube.common.core.informationsystem.client.RPDocument> |
getIndices(org.gcube.common.core.scope.GCUBEScope scope,
String mcollectionID)
Return all indices associated with a given metadata collection. |
List<org.gcube.common.core.resources.GCUBEMCollection> |
getMCollections(org.gcube.common.core.scope.GCUBEScope scope,
String collectionID)
Return all metadata-collections associated with the given collection. |
List<org.gcube.common.core.informationsystem.client.RPDocument> |
getWS(String type)
|
List<org.gcube.common.core.informationsystem.client.RPDocument> |
getXMLIndices(org.gcube.common.core.scope.GCUBEScope scope,
String mcollectionID)
Return all XML indices associated with the given metadata collection. |
List<org.gcube.common.core.informationsystem.client.XMLResult> |
queryIS(String query)
|
void |
removeExternalRIToVRE(String id)
|
void |
removeGHNToScope(String url)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.gcube.application.framework.core.session.ASLSession session
protected static org.gcube.common.core.informationsystem.client.ISClient client
protected static org.gcube.common.core.informationsystem.publisher.ISPublisher publisher
| Constructor Detail |
|---|
public ISInfo(org.gcube.application.framework.core.session.ASLSession session)
session - the D4Science session to be used for retrieving information needed| Method Detail |
|---|
public List<org.gcube.common.core.informationsystem.client.XMLResult> queryIS(String query)
queryIS in interface ISInfoIquery - an XQuery to be submitted on IS
public List<org.gcube.common.core.informationsystem.client.RPDocument> getWS(String type)
getWS in interface ISInfoItype - the of the WSs to be retrieved
public void addGHNToScope(String url)
addGHNToScope in interface ISInfoIurl - the GHN urlpublic void removeGHNToScope(String url)
removeGHNToScope in interface ISInfoIurl - server:port of the GHN to be removed
public void addRIToScope(String url,
String className,
String name)
addRIToScope in interface ISInfoIurl - the Running Instance urlclassName - the name of the class where the RI will belongname - the name of teh service it providespublic void addExternalRIToVRE(File file)
addExternalRIToVRE in interface ISInfoIfile - the file that contains the external running instance to be addedpublic void removeExternalRIToVRE(String id)
removeExternalRIToVRE in interface ISInfoIid - the id of the external running instance to be removedpublic boolean existsGHN(String namePort)
existsGHN in interface ISInfoInamePort - GHN name:port
public List<org.gcube.common.core.resources.GCUBECollection> getCollections(org.gcube.common.core.scope.GCUBEScope scope)
throws Exception
getCollections in interface ISInfoIscope - the scope of the collections.
Exception - when an error occurs.
public List<org.gcube.common.core.resources.GCUBEMCollection> getMCollections(org.gcube.common.core.scope.GCUBEScope scope,
String collectionID)
throws Exception
getMCollections in interface ISInfoIscope - the scope of the metadata collections.collectionID - the associated collection.
Exception
public List<org.gcube.common.core.informationsystem.client.RPDocument> getXMLIndices(org.gcube.common.core.scope.GCUBEScope scope,
String mcollectionID)
throws Exception
getXMLIndices in interface ISInfoIscope - the indices scope.mcollectionID - the metadata collection id.
Exception
public List<org.gcube.common.core.informationsystem.client.RPDocument> getIndices(org.gcube.common.core.scope.GCUBEScope scope,
String mcollectionID)
throws Exception
getIndices in interface ISInfoIscope - the indices scope.mcollectionID - the metadata collection id.
Exception
public List<org.gcube.common.core.informationsystem.client.RPDocument> getCollectionIndices(org.gcube.common.core.scope.GCUBEScope scope,
String collectionID)
throws Exception
getCollectionIndices in interface ISInfoIscope - the indices scope.collectionID - the collection id.
Exception
public org.gcube.common.core.resources.GCUBECollection getCollection(org.gcube.common.core.scope.GCUBEScope scope,
String collectionID)
throws Exception
getCollection in interface ISInfoIscope - the collection scope.collectionID - the collection id.
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||