Package | Description |
---|---|
io.sphere.sdk.customobjects |
Provides model classes and builders for custom objects.
|
io.sphere.sdk.customobjects.commands |
Provides types to change the state of custom objects.
|
Modifier and Type | Method and Description |
---|---|
static <T> CustomObjectDraft<T> |
CustomObjectDraft.ofUnversionedUpdate(CustomObject<T> customObject,
T newValue,
Class<T> valueClass)
Creates a draft for updating a custom object.
|
static <T> CustomObjectDraft<T> |
CustomObjectDraft.ofUnversionedUpdate(CustomObject<T> customObject,
T newValue,
com.fasterxml.jackson.core.type.TypeReference<T> valueTypeReference)
Creates a draft for updating a custom object.
|
static CustomObjectDraft<com.fasterxml.jackson.databind.JsonNode> |
CustomObjectDraft.ofUnversionedUpsert(String container,
String key,
com.fasterxml.jackson.databind.JsonNode value)
Creates a draft for creating or updating a custom object.
|
static <T> CustomObjectDraft<T> |
CustomObjectDraft.ofUnversionedUpsert(String container,
String key,
T value,
Class<T> valueClass)
Creates a draft for creating or updating a custom object.
|
static <T> CustomObjectDraft<T> |
CustomObjectDraft.ofUnversionedUpsert(String container,
String key,
T value,
com.fasterxml.jackson.core.type.TypeReference<T> valueTypeReference)
Creates a draft for creating or updating a custom object.
|
static <T> CustomObjectDraft<T> |
CustomObjectDraft.ofVersionedUpdate(CustomObject<T> customObject,
T newValue,
Class<T> valueClass)
Creates a draft for updating a custom object.
|
static <T> CustomObjectDraft<T> |
CustomObjectDraft.ofVersionedUpdate(CustomObject<T> customObject,
T newValue,
com.fasterxml.jackson.core.type.TypeReference<T> valueTypeReference)
Creates a draft for updating a custom object.
|
static <T> CustomObjectDraft<T> |
CustomObjectDraft.ofVersionedUpsert(String container,
String key,
T value,
Long version,
Class<T> valueClass)
Creates a draft for creating or updating a custom object.
|
static <T> CustomObjectDraft<T> |
CustomObjectDraft.ofVersionedUpsert(String container,
String key,
T value,
Long version,
com.fasterxml.jackson.core.type.TypeReference<T> valueTypeReference)
Creates a draft for creating or updating a custom object.
|
Modifier and Type | Method and Description |
---|---|
static <T> CustomObjectUpsertCommand<T> |
CustomObjectUpsertCommand.of(CustomObjectDraft<T> draft) |