public abstract class BaseEntityClientImpl extends RestClient implements BaseEntityClient
DATE_FORMAT_TIMEZONE, DATE_FORMAT_Z, DATE_FORMAT_Z_TIMEZONE, DATE_ONLY_FORMAT, JOINER, RESPONSE_MAP_GENERIC_TYPE, SERVICE_RESPONSE_GENERIC_TYPE, SINGLE_ENTRY_MAP_TO_STRING, VOID_GENERIC_TYPE
Constructor and Description |
---|
BaseEntityClientImpl(Config config,
String entityNameInEndpoint) |
Modifier and Type | Method and Description |
---|---|
MarketoResponse<CreateOrUpdateEntity> |
createUpdateUpsertEntities(List<Map<String,Object>> inputCompanies,
EntityActions action,
DedupeBy dedupeBy) |
MarketoResponse<DeletedEntity> |
deleteEntities(List<Map<String,Object>> input,
DedupeBy deleteBy) |
MarketoResponse<EntityDescription> |
describeEntity() |
MarketoResponse<Map<String,Object>> |
getEntities(String filterType,
List<Map<String,Object>> filterValues,
List<String> fields,
String nextPageToken,
Integer batchSize) |
buildGetInvocation, buildPostInvocation, buildPostInvocation, buildPostInvocation, buildPostInvocation, bulkWebTarget, process, putIfNotNull, queryParamIfNotNull, webTarget
@NotNull public MarketoResponse<EntityDescription> describeEntity()
describeEntity
in interface BaseEntityClient
@NotNull public MarketoResponse<Map<String,Object>> getEntities(@NotNull String filterType, @NotNull List<Map<String,Object>> filterValues, @Nullable List<String> fields, String nextPageToken, Integer batchSize)
getEntities
in interface BaseEntityClient
@NotNull public MarketoResponse<CreateOrUpdateEntity> createUpdateUpsertEntities(@NotNull List<Map<String,Object>> inputCompanies, @Nullable EntityActions action, @Nullable DedupeBy dedupeBy)
createUpdateUpsertEntities
in interface BaseEntityClient
@NotNull public MarketoResponse<DeletedEntity> deleteEntities(@NotNull List<Map<String,Object>> input, @Nullable DedupeBy deleteBy)
deleteEntities
in interface BaseEntityClient
Copyright © 2010–2016. All rights reserved.