com.easyinsight.helper
Class DataSourceOperationFactory

java.lang.Object
  extended by com.easyinsight.helper.DataSourceOperationFactory

public class DataSourceOperationFactory
extends java.lang.Object

User: jamesboe Date: 12/22/10 Time: 10:20 AM


Constructor Summary
DataSourceOperationFactory(java.lang.String apiKey, java.lang.String apiSecretKey, java.lang.String dataSourceKey)
           
 
Method Summary
 DataSourceTarget addRowsOperation()
          Creates a DataSourceTarget object that you can use to add a set of rows to the data source referenced in construction of this DataSourceOperationFactory object.
 TransactionTarget addRowsTransaction()
          Creates a TransactionTarget object that you can use to add a set of rows to the data source using transactional boundaries.
 java.lang.String getDataSourceKey()
           
 DataSourceTarget replaceRowsOperation()
          Creates a DataSourceTarget object that you can use to replace a set of rows to the data source referenced in construction of this DataSourceOperationFactory object.
 TransactionTarget replaceRowsTransaction()
          Creates a TransactionTarget object that you can use to replace a set of rows to the data source using transactional boundaries.
 DataSourceTarget updateRowsOperation(WhereClause... whereClauses)
          Creates a DataSourceTarget object that you can use to update a set of rows to the data source referenced in construction of this DataSourceOperationFactory object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceOperationFactory

public DataSourceOperationFactory(java.lang.String apiKey,
                                  java.lang.String apiSecretKey,
                                  java.lang.String dataSourceKey)
Method Detail

getDataSourceKey

public java.lang.String getDataSourceKey()

addRowsOperation

public DataSourceTarget addRowsOperation()
Creates a DataSourceTarget object that you can use to add a set of rows to the data source referenced in construction of this DataSourceOperationFactory object.

Returns:

replaceRowsOperation

public DataSourceTarget replaceRowsOperation()
Creates a DataSourceTarget object that you can use to replace a set of rows to the data source referenced in construction of this DataSourceOperationFactory object.

Returns:

updateRowsOperation

public DataSourceTarget updateRowsOperation(WhereClause... whereClauses)
Creates a DataSourceTarget object that you can use to update a set of rows to the data source referenced in construction of this DataSourceOperationFactory object.

Parameters:
whereClauses -
Returns:

addRowsTransaction

public TransactionTarget addRowsTransaction()
Creates a TransactionTarget object that you can use to add a set of rows to the data source using transactional boundaries.

Returns:

replaceRowsTransaction

public TransactionTarget replaceRowsTransaction()
Creates a TransactionTarget object that you can use to replace a set of rows to the data source using transactional boundaries.

Returns: