|
||||||||||
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
Constructor Summary | |
---|---|
ISInfo(ASLSession session)
Constructs a ISInfo object |
Method Summary | |
---|---|
void |
addExternalRIToVRE(java.io.File file)
|
void |
addGHNToScope(java.lang.String url)
Adds a GHN to the active VRE |
void |
addRIToScope(java.lang.String url,
java.lang.String className,
java.lang.String name)
Adds a service to the active VRE |
boolean |
existsGHN(java.lang.String namePort)
|
GCUBECollection |
getCollection(GCUBEScope scope,
java.lang.String collectionID)
Return a collection profile. |
java.util.List<RPDocument> |
getCollectionIndices(GCUBEScope scope,
java.lang.String collectionID)
Return all indices associated with a given collection. |
java.util.List<GCUBECollection> |
getCollections(GCUBEScope scope)
Returns all profiles of collections present in the given scope. |
java.util.List<RPDocument> |
getIndices(GCUBEScope scope,
java.lang.String mcollectionID)
Return all indices associated with a given metadata collection. |
java.util.List<GCUBEMCollection> |
getMCollections(GCUBEScope scope,
java.lang.String collectionID)
Return all metadata-collections associated with the given collection. |
java.util.List<RPDocument> |
getWS(java.lang.String type)
|
java.util.List<RPDocument> |
getXMLIndices(GCUBEScope scope,
java.lang.String mcollectionID)
Return all XML indices associated with the given metadata collection. |
java.util.List<XMLResult> |
queryIS(java.lang.String query)
|
void |
removeExternalRIToVRE(java.lang.String id)
|
void |
removeGHNToScope(java.lang.String url)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ISInfo(ASLSession session)
session
- the D4Science session to be used for retrieving information neededMethod Detail |
---|
public java.util.List<XMLResult> queryIS(java.lang.String query)
queryIS
in interface ISInfoI
query
- an XQuery to be submitted on IS
public java.util.List<RPDocument> getWS(java.lang.String type)
getWS
in interface ISInfoI
type
- the of the WSs to be retrieved
public void addGHNToScope(java.lang.String url)
addGHNToScope
in interface ISInfoI
url
- the GHN urlpublic void removeGHNToScope(java.lang.String url)
removeGHNToScope
in interface ISInfoI
url
- server:port of the GHN to be removedpublic void addRIToScope(java.lang.String url, java.lang.String className, java.lang.String name)
addRIToScope
in interface ISInfoI
url
- the Running Instance urlclassName
- the name of the class where the RI will belongname
- the name of teh service it providespublic void addExternalRIToVRE(java.io.File file)
addExternalRIToVRE
in interface ISInfoI
file
- the file that contains the external running instance to be addedpublic void removeExternalRIToVRE(java.lang.String id)
removeExternalRIToVRE
in interface ISInfoI
id
- the id of the external running instance to be removedpublic boolean existsGHN(java.lang.String namePort)
existsGHN
in interface ISInfoI
namePort
- GHN name:port
public java.util.List<GCUBECollection> getCollections(GCUBEScope scope) throws java.lang.Exception
getCollections
in interface ISInfoI
scope
- the scope of the collections.
java.lang.Exception
- when an error occurs.public java.util.List<GCUBEMCollection> getMCollections(GCUBEScope scope, java.lang.String collectionID) throws java.lang.Exception
getMCollections
in interface ISInfoI
scope
- the scope of the metadata collections.collectionID
- the associated collection.
java.lang.Exception
public java.util.List<RPDocument> getXMLIndices(GCUBEScope scope, java.lang.String mcollectionID) throws java.lang.Exception
getXMLIndices
in interface ISInfoI
scope
- the indices scope.mcollectionID
- the metadata collection id.
java.lang.Exception
public java.util.List<RPDocument> getIndices(GCUBEScope scope, java.lang.String mcollectionID) throws java.lang.Exception
getIndices
in interface ISInfoI
scope
- the indices scope.mcollectionID
- the metadata collection id.
java.lang.Exception
public java.util.List<RPDocument> getCollectionIndices(GCUBEScope scope, java.lang.String collectionID) throws java.lang.Exception
getCollectionIndices
in interface ISInfoI
scope
- the indices scope.collectionID
- the collection id.
java.lang.Exception
public GCUBECollection getCollection(GCUBEScope scope, java.lang.String collectionID) throws java.lang.Exception
getCollection
in interface ISInfoI
scope
- the collection scope.collectionID
- the collection id.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |