org.gcube.data.tm.services
Class TBinderService

java.lang.Object
  extended by org.gcube.data.tm.services.TBinderService

public class TBinderService
extends Object

The implementation of the T-Binder service.

Author:
Fabio Simeoni

Constructor Summary
TBinderService()
           
 
Method Summary
 org.gcube.data.tm.stubs.SourceBindings bind(org.gcube.data.tm.stubs.BindParameters parameters)
          Returns SourceBindings from client parameters.
 String bindAsync(org.gcube.data.tm.stubs.BindParameters parameters)
          Returns the locator of a Result Set with the outcome of an invocation of bind(BindParameters).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TBinderService

public TBinderService()
Method Detail

bind

public org.gcube.data.tm.stubs.SourceBindings bind(org.gcube.data.tm.stubs.BindParameters parameters)
                                            throws org.gcube.data.tm.stubs.InvalidRequestFault,
                                                   org.gcube.common.core.faults.GCUBEFault
Returns SourceBindings from client parameters.

Parameters:
parameters - the parameters
Returns:
the bindings
Throws:
InvalidRequestfault - if the parameters are malformed
org.gcube.common.core.faults.GCUBEFault - if the request fails for any other error
org.gcube.data.tm.stubs.InvalidRequestFault

bindAsync

public String bindAsync(org.gcube.data.tm.stubs.BindParameters parameters)
                 throws org.gcube.common.core.faults.GCUBEFault
Returns the locator of a Result Set with the outcome of an invocation of bind(BindParameters).

The outcome is represented by a BindOutcome instance and it constitutes the only record in the Result Set.

Parameters:
parameters - the input parameters to bind(BindParameters)
Returns:
the locator of the Result Set with the outcome
Throws:
org.gcube.common.core.faults.GCUBEFault - if the Result
See Also:
bind(BindParameters)


Copyright © 2012. All Rights Reserved.