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.
|
io.sphere.sdk.customobjects.expansion |
Provides reference expansion models for custom objects.
|
io.sphere.sdk.customobjects.queries |
Provides types to retrieve the state of custom objects.
|
Modifier and Type | Method and Description |
---|---|
default Reference<CustomObject<com.fasterxml.jackson.databind.JsonNode>> |
CustomObject.toReference() |
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 <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.
|
Modifier and Type | Method and Description |
---|---|
abstract CustomObject<T> |
CustomObjectCustomJsonMappingUpsertCommand.deserialize(HttpResponse httpResponse) |
Modifier and Type | Method and Description |
---|---|
static <T> DeleteCommand<CustomObject<T>> |
CustomObjectDeleteCommand.of(CustomObject<T> customObject,
Class<T> valueClass)
Deletes a custom object without optimistic concurrency control and uses the delete endpoint via container and key and returns the old custom object with the in
valueTypeReference specified value type. |
static <T> DeleteCommand<CustomObject<T>> |
CustomObjectDeleteCommand.of(CustomObject<T> customObject,
Class<T> valueClass,
boolean eraseData)
Deletes a custom object without optimistic concurrency control and uses the delete endpoint via container and key and returns the old custom object with the in
valueTypeReference specified value type. |
static <T> DeleteCommand<CustomObject<T>> |
CustomObjectDeleteCommand.of(CustomObject<T> customObject,
com.fasterxml.jackson.core.type.TypeReference<T> valueTypeReference)
Deletes a custom object without optimistic concurrency control and uses the delete endpoint via container and key and returns the old custom object with the in
valueTypeReference specified value type. |
static <T> DeleteCommand<CustomObject<T>> |
CustomObjectDeleteCommand.of(CustomObject<T> customObject,
com.fasterxml.jackson.core.type.TypeReference<T> valueTypeReference,
boolean eraseData)
Deletes a custom object without optimistic concurrency control and uses the delete endpoint via container and key and returns the old custom object with the in
valueTypeReference specified value type. |
static <T> DeleteCommand<CustomObject<T>> |
CustomObjectDeleteCommand.of(String id,
Long version,
Class<T> valueClass)
Deletes a custom object by id with optimistic concurrency control and returns the old custom object with the in
valueClass specified value type. |
static <T> DeleteCommand<CustomObject<T>> |
CustomObjectDeleteCommand.of(String id,
Long version,
Class<T> valueClass,
boolean eraseData)
Deletes a custom object by id with optimistic concurrency control and returns the old custom object with the in
valueClass specified value type. |
static <T> DeleteCommand<CustomObject<T>> |
CustomObjectDeleteCommand.of(String id,
Long version,
com.fasterxml.jackson.core.type.TypeReference<T> valueTypeReference)
Deletes a custom object by id with optimistic concurrency control and returns the old custom object with the in
valueTypeReference specified value type. |
static <T> DeleteCommand<CustomObject<T>> |
CustomObjectDeleteCommand.of(String id,
Long version,
com.fasterxml.jackson.core.type.TypeReference<T> valueTypeReference,
boolean eraseData)
Deletes a custom object by id with optimistic concurrency control and returns the old custom object with the in
valueTypeReference specified value type. |
static <T> DeleteCommand<CustomObject<T>> |
CustomObjectDeleteCommand.of(String container,
String key,
Class<T> valueClass)
Deletes a custom object without optimistic concurrency control and uses the delete endpoint via container and key and returns the old custom object with the in
valueTypeReference specified value type. |
static <T> DeleteCommand<CustomObject<T>> |
CustomObjectDeleteCommand.of(String container,
String key,
Class<T> valueClass,
boolean eraseData)
Deletes a custom object without optimistic concurrency control and uses the delete endpoint via container and key and returns the old custom object with the in
valueTypeReference specified value type. |
static <T> DeleteCommand<CustomObject<T>> |
CustomObjectDeleteCommand.of(String container,
String key,
com.fasterxml.jackson.core.type.TypeReference<T> valueTypeReference)
Deletes a custom object without optimistic concurrency control and uses the delete endpoint via container and key and returns the old custom object with the in
valueTypeReference specified value type. |
static <T> DeleteCommand<CustomObject<T>> |
CustomObjectDeleteCommand.of(String container,
String key,
com.fasterxml.jackson.core.type.TypeReference<T> valueTypeReference,
boolean eraseData)
Deletes a custom object without optimistic concurrency control and uses the delete endpoint via container and key and returns the old custom object with the in
valueTypeReference specified value type. |
static DeleteCommand<CustomObject<com.fasterxml.jackson.databind.JsonNode>> |
CustomObjectDeleteCommand.ofJsonNode(CustomObject<?> customObject)
Deletes a custom object without optimistic concurrency control and uses the delete endpoint via container and key and returns the old custom object with a JsonNode value type.
|
static DeleteCommand<CustomObject<com.fasterxml.jackson.databind.JsonNode>> |
CustomObjectDeleteCommand.ofJsonNode(CustomObject<?> customObject,
boolean eraseData)
Deletes a custom object without optimistic concurrency control and uses the delete endpoint via container and key and returns the old custom object with a JsonNode value type.
|
static DeleteCommand<CustomObject<com.fasterxml.jackson.databind.JsonNode>> |
CustomObjectDeleteCommand.ofJsonNode(String id,
Long version)
Deletes a custom object by id with optimistic concurrency control and returns the old custom object with a JsonNode value type.
|
static DeleteCommand<CustomObject<com.fasterxml.jackson.databind.JsonNode>> |
CustomObjectDeleteCommand.ofJsonNode(String id,
Long version,
boolean eraseData)
Deletes a custom object by id with optimistic concurrency control and returns the old custom object with a JsonNode value type.
|
static DeleteCommand<CustomObject<com.fasterxml.jackson.databind.JsonNode>> |
CustomObjectDeleteCommand.ofJsonNode(String container,
String key)
Deletes a custom object without optimistic concurrency control and returns the old custom object with a JsonNode value type.
|
static DeleteCommand<CustomObject<com.fasterxml.jackson.databind.JsonNode>> |
CustomObjectDeleteCommand.ofJsonNode(String container,
String key,
boolean eraseData)
Deletes a custom object without optimistic concurrency control and returns the old custom object with a JsonNode value type.
|
Modifier and Type | Method and Description |
---|---|
static <T> DeleteCommand<CustomObject<T>> |
CustomObjectDeleteCommand.of(CustomObject<T> customObject,
Class<T> valueClass)
Deletes a custom object without optimistic concurrency control and uses the delete endpoint via container and key and returns the old custom object with the in
valueTypeReference specified value type. |
static <T> DeleteCommand<CustomObject<T>> |
CustomObjectDeleteCommand.of(CustomObject<T> customObject,
Class<T> valueClass,
boolean eraseData)
Deletes a custom object without optimistic concurrency control and uses the delete endpoint via container and key and returns the old custom object with the in
valueTypeReference specified value type. |
static <T> DeleteCommand<CustomObject<T>> |
CustomObjectDeleteCommand.of(CustomObject<T> customObject,
com.fasterxml.jackson.core.type.TypeReference<T> valueTypeReference)
Deletes a custom object without optimistic concurrency control and uses the delete endpoint via container and key and returns the old custom object with the in
valueTypeReference specified value type. |
static <T> DeleteCommand<CustomObject<T>> |
CustomObjectDeleteCommand.of(CustomObject<T> customObject,
com.fasterxml.jackson.core.type.TypeReference<T> valueTypeReference,
boolean eraseData)
Deletes a custom object without optimistic concurrency control and uses the delete endpoint via container and key and returns the old custom object with the in
valueTypeReference specified value type. |
static DeleteCommand<CustomObject<com.fasterxml.jackson.databind.JsonNode>> |
CustomObjectDeleteCommand.ofJsonNode(CustomObject<?> customObject)
Deletes a custom object without optimistic concurrency control and uses the delete endpoint via container and key and returns the old custom object with a JsonNode value type.
|
static DeleteCommand<CustomObject<com.fasterxml.jackson.databind.JsonNode>> |
CustomObjectDeleteCommand.ofJsonNode(CustomObject<?> customObject,
boolean eraseData)
Deletes a custom object without optimistic concurrency control and uses the delete endpoint via container and key and returns the old custom object with a JsonNode value type.
|
Modifier and Type | Method and Description |
---|---|
static <T> CustomObjectExpansionModel<CustomObject<T>> |
CustomObjectExpansionModel.of() |
Modifier and Type | Interface and Description |
---|---|
interface |
CustomObjectQueryModel<T extends CustomObject<?>>
Meta model to explore for which fields can be queried in a CustomObject.
|
Modifier and Type | Method and Description |
---|---|
static <T extends CustomObject<?>> |
CustomObjectQueryModel.of() |
Modifier and Type | Method and Description |
---|---|
List<ExpansionPath<CustomObject<T>>> |
CustomObjectByKeyGet.expansionPaths() |
List<ExpansionPath<CustomObject<T>>> |
CustomObjectByIdGet.expansionPaths() |