public class DataSiftDynamicListReplace extends DataSiftApiClient
| Modifier and Type | Field and Description |
|---|---|
static String |
ABORT |
static String |
ADD |
static String |
COMMIT |
static String |
START |
config| Constructor and Description |
|---|
DataSiftDynamicListReplace(DataSiftConfig config) |
| Modifier and Type | Method and Description |
|---|---|
FutureData<DataSiftResult> |
abort(ReplaceList list)
Abort the replace list
|
<T> FutureData<DataSiftResult> |
add(ReplaceList list,
List<T> items)
Add one or more items to a replace list with the given id
|
FutureData<DataSiftResult> |
commit(ReplaceList list)
Commit the replace list with the given id
|
FutureData<ReplaceList> |
start(DynamicList list)
Start a dynamic list replace
|
failNotify, newParams, newRequestCallback, performRequest, unwrapFuturepublic static final String ADD
public static final String START
public static final String COMMIT
public static final String ABORT
public DataSiftDynamicListReplace(DataSiftConfig config)
public FutureData<ReplaceList> start(DynamicList list)
list - the id of the list for which to start the replace operationpublic <T> FutureData<DataSiftResult> add(ReplaceList list, List<T> items)
T - the type of the items to add, must be either string or integer, and must match the type of the listlist - the replace list which to add items toitems - the items to add to the replace listpublic FutureData<DataSiftResult> commit(ReplaceList list)
list - the replace list to commitpublic FutureData<DataSiftResult> abort(ReplaceList list)
list - the replace list to abortCopyright © 2015. All Rights Reserved.