public class TReaderService extends Object
| Constructor and Description |
|---|
TReaderService() |
| Modifier and Type | Method and Description |
|---|---|
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
|
public TReaderResource resource() throws org.globus.wsrf.ResourceException
org.globus.wsrf.ResourceException - if the call specifies no resource or no known resourcepublic 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 parametersAnyHolder with the DOM representation of the Treeorg.gcube.data.tm.stubs.UnsupportedOperationFault - if the data source does not support this operationorg.gcube.data.tm.stubs.UnsupportedRequestFault - if the target plugin does not support this particular requestorg.gcube.data.tm.stubs.UnknownTreeFault - if the tree with the given identifier does not exist in the bound sourceorg.gcube.data.tm.stubs.InvalidTreeFault - if the tree exists in the bound source but does not match the patternorg.gcube.common.core.faults.GCUBEFault - if the operation fails for an unexpected errorpublic 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 patternparams - the request parametersTreesorg.gcube.data.tm.stubs.UnsupportedOperationFault - if the data source does not support this operationorg.gcube.data.tm.stubs.UnsupportedRequestFault - if the target plugin does not support this particular requestorg.gcube.common.core.faults.GCUBEFault - if the operation fails for an unexpected errorpublic 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 parametersorg.gcube.data.tm.stubs.UnsupportedOperationFault - if the data source does not support this operationorg.gcube.data.tm.stubs.UnsupportedRequestFault - if the target plugin does not support this particular requestorg.gcube.common.core.faults.GCUBEFault - if the operation fails for an unexpected errorpublic 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 parametersorg.gcube.data.tm.stubs.UnsupportedOperationFault - if the data source does not support this operationorg.gcube.data.tm.stubs.UnsupportedRequestFault - if the target plugin does not support this particular requestorg.gcube.data.tm.stubs.UnknownPathFault - if the path does not lead to a nodeorg.gcube.common.core.faults.GCUBEFault - if the operation fails for an unexpected errorpublic 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 pathsorg.gcube.data.tm.stubs.UnsupportedOperationFault - if the data source does not support this operationorg.gcube.data.tm.stubs.UnsupportedRequestFault - if the target plugin does not support this particular requestorg.gcube.common.core.faults.GCUBEFault - if the operation fails for an unexpected errorCopyright © 2014. All Rights Reserved.