|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.data.tm.services.TReaderService
public class TReaderService
The implementation of the T-Reader service.
| Constructor Summary | |
|---|---|
TReaderService()
|
|
| Method Summary | |
|---|---|
String |
get(org.gcube.data.tm.stubs.GetParams params)
Returns all the Trees in the bound source, after pruning them with a given Pattern. |
org.gcube.data.tm.stubs.AnyHolder |
getByID(org.gcube.data.tm.stubs.GetByIDParams params)
Returns a Tree in the bound source from its identifier, after pruning it with a given pattern. |
String |
getByIDs(org.gcube.data.tm.stubs.GetByIDsParams params)
Returns Trees in the bound source from their identifiers, after pruning them with a given pattern |
org.gcube.data.tm.stubs.AnyHolder |
getNode(org.gcube.data.tm.stubs.Path path)
Returns a Node from the path that connects it to the root of a Tree in the bound source. |
String |
getNodes(String pathsRs)
Returns the Nodes identified by corresponding Paths into trees of the bound source. |
TReaderResource |
resource()
Returns the resource bound to the call |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TReaderService()
| Method Detail |
|---|
public TReaderResource resource()
throws org.globus.wsrf.ResourceException
org.globus.wsrf.ResourceException - if the call specifies no resource or no known resource
public org.gcube.data.tm.stubs.AnyHolder getByID(org.gcube.data.tm.stubs.GetByIDParams params)
throws org.gcube.data.tm.stubs.UnsupportedOperationFault,
org.gcube.data.tm.stubs.UnsupportedRequestFault,
org.gcube.data.tm.stubs.UnknownTreeFault,
org.gcube.data.tm.stubs.InvalidTreeFault,
org.gcube.common.core.faults.GCUBEFault
Tree in the bound source from its identifier, after pruning it with a given pattern.
params - the request parameters
AnyHolder with the DOM representation of the Tree
org.gcube.data.tm.stubs.UnsupportedOperationFault - if the data source does not support this operation
org.gcube.data.tm.stubs.UnsupportedRequestFault - if the target plugin does not support this particular request
org.gcube.data.tm.stubs.UnknownTreeFault - if the tree with the given identifier does not exist in the bound source
org.gcube.data.tm.stubs.InvalidTreeFault - if the tree exists in the bound source but does not match the pattern
org.gcube.common.core.faults.GCUBEFault - if the operation fails for an unexpected error
public String getByIDs(org.gcube.data.tm.stubs.GetByIDsParams params)
throws org.gcube.data.tm.stubs.UnsupportedOperationFault,
org.gcube.data.tm.stubs.UnsupportedRequestFault,
org.gcube.common.core.faults.GCUBEFault
Trees in the bound source from their identifiers, after pruning them with a given pattern
params - the request parameters
Trees
org.gcube.data.tm.stubs.UnsupportedOperationFault - if the data source does not support this operation
org.gcube.data.tm.stubs.UnsupportedRequestFault - if the target plugin does not support this particular request
org.gcube.common.core.faults.GCUBEFault - if the operation fails for an unexpected error
public String get(org.gcube.data.tm.stubs.GetParams params)
throws org.gcube.data.tm.stubs.UnsupportedOperationFault,
org.gcube.data.tm.stubs.UnsupportedRequestFault,
org.gcube.common.core.faults.GCUBEFault
Trees in the bound source, after pruning them with a given Pattern.
params - the request parameters
org.gcube.data.tm.stubs.UnsupportedOperationFault - if the data source does not support this operation
org.gcube.data.tm.stubs.UnsupportedRequestFault - if the target plugin does not support this particular request
org.gcube.common.core.faults.GCUBEFault - if the operation fails for an unexpected error
public org.gcube.data.tm.stubs.AnyHolder getNode(org.gcube.data.tm.stubs.Path path)
throws org.gcube.data.tm.stubs.UnsupportedOperationFault,
org.gcube.data.tm.stubs.UnsupportedRequestFault,
org.gcube.data.tm.stubs.UnknownPathFault,
org.gcube.common.core.faults.GCUBEFault
Node from the path that connects it to the root of a Tree in the bound source.
path - the request parameters
org.gcube.data.tm.stubs.UnsupportedOperationFault - if the data source does not support this operation
org.gcube.data.tm.stubs.UnsupportedRequestFault - if the target plugin does not support this particular request
org.gcube.data.tm.stubs.UnknownPathFault - if the path does not lead to a node
org.gcube.common.core.faults.GCUBEFault - if the operation fails for an unexpected error
public String getNodes(String pathsRs)
throws org.gcube.data.tm.stubs.UnsupportedOperationFault,
org.gcube.data.tm.stubs.UnsupportedRequestFault,
org.gcube.common.core.faults.GCUBEFault
Nodes identified by corresponding Paths into trees of the bound source.
pathsRs - a locator to a Result Set with paths
org.gcube.data.tm.stubs.UnsupportedOperationFault - if the data source does not support this operation
org.gcube.data.tm.stubs.UnsupportedRequestFault - if the target plugin does not support this particular request
org.gcube.common.core.faults.GCUBEFault - if the operation fails for an unexpected error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||