com.sforce.async
Class TransformationSpecRequest

java.lang.Object
  extended by com.sforce.async.TransformationSpecRequest

public class TransformationSpecRequest
extends Object

Transformation specification request.

Since:
188
Author:
drobertson

Constructor Summary
TransformationSpecRequest(Transport transport, OutputStream out)
           
 
Method Summary
 void addSpecRow(String sfdcField, String csvHeader, String value, String hint)
          Adds a transformation spec row.
 void completeRequest()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformationSpecRequest

public TransformationSpecRequest(Transport transport,
                                 OutputStream out)
                          throws IOException,
                                 AsyncApiException
Throws:
IOException
AsyncApiException
Method Detail

addSpecRow

public void addSpecRow(String sfdcField,
                       String csvHeader,
                       String value,
                       String hint)
                throws AsyncApiException
Adds a transformation spec row.

Parameters:
sfdcField - the Salesforce field that should receive the value
csvHeader - the header from the CSV file that identifies which column, when non-null, contains the value to provide
value - a default or fallback value to use if either no CSV header was specified or the value in the column was null
hint - an optional hint, whose content depends on the type of the Salesforce field
Throws:
AsyncApiException

completeRequest

public void completeRequest()
                     throws AsyncApiException
Throws:
AsyncApiException


Copyright © 2014. All Rights Reserved.