Package | Description |
---|---|
io.sphere.sdk.productselections |
Provides model classes and builders for product selections.
|
io.sphere.sdk.productselections.commands |
Provides types to change the state of product selection.
|
io.sphere.sdk.productselections.expansion |
Provides reference expansion models for product selections.
|
io.sphere.sdk.productselections.queries |
Provides types to retrieve the state of product selections.
|
io.sphere.sdk.stores | |
io.sphere.sdk.stores.commands.updateactions |
Modifier and Type | Method and Description |
---|---|
Reference<ProductSelection> |
AssignedProductSelection.getProductSelection() |
Reference<ProductSelection> |
ProductSelectionAssignment.getProductSelection() |
static Reference<ProductSelection> |
ProductSelection.reference(ProductSelection productType) |
static Reference<ProductSelection> |
ProductSelection.reference(String id) |
static Reference<ProductSelection> |
ProductSelection.referenceOfId(String id) |
default Reference<ProductSelection> |
ProductSelection.toReference() |
static com.fasterxml.jackson.core.type.TypeReference<ProductSelection> |
ProductSelection.typeReference()
Creates a container which contains the full Java type information to deserialize this class from JSON.
|
Modifier and Type | Method and Description |
---|---|
static Reference<ProductSelection> |
ProductSelection.reference(ProductSelection productType) |
Modifier and Type | Method and Description |
---|---|
static ProductSelectionAssignment |
ProductSelectionAssignment.of(Reference<Product> productReference,
Reference<ProductSelection> productSelectionReference) |
static AssignedProductSelection |
AssignedProductSelection.of(Reference<ProductSelection> productSelectionReference) |
Modifier and Type | Method and Description |
---|---|
static ProductSelectionDeleteCommand |
ProductSelectionDeleteCommand.of(Versioned<ProductSelection> versioned)
Creates a command object to delete a
ProductSelection by ID. |
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.of(Versioned<ProductSelection> versioned,
List<? extends UpdateAction<ProductSelection>> updateActions)
Creates a command to update a ProductSelection selected by its ID using several update actions.
|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.of(Versioned<ProductSelection> versioned,
List<? extends UpdateAction<ProductSelection>> updateActions)
Creates a command to update a ProductSelection selected by its ID using several update actions.
|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.of(Versioned<ProductSelection> versioned,
UpdateAction<ProductSelection> updateAction,
UpdateAction<ProductSelection>... updateActions)
Creates a command to update a ProductSelection selected by its ID using one update action.
|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.of(Versioned<ProductSelection> versioned,
UpdateAction<ProductSelection> updateAction,
UpdateAction<ProductSelection>... updateActions)
Creates a command to update a ProductSelection selected by its ID using one update action.
|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.ofId(String id,
Long version,
List<? extends UpdateAction<ProductSelection>> updateActions)
Creates a command to update a ProductSelection selected by its id using several update actions.
|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.ofId(String id,
Long version,
UpdateAction<ProductSelection> updateAction)
Creates a command to update a ProductSelection selected by its id using one update action.
|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<ProductSelection>> updateActions)
Creates a command to update a ProductSelection selected by its key using several update actions.
|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.ofKey(String key,
Long version,
UpdateAction<ProductSelection> updateAction)
Creates a command to update a ProductSelection selected by its key using one update action.
|
Modifier and Type | Method and Description |
---|---|
static ProductSelectionExpansionModel<ProductSelection> |
ProductSelectionExpansionModel.of() |
Modifier and Type | Method and Description |
---|---|
List<ExpansionPath<ProductSelection>> |
ProductSelectionByIdProductGet.expansionPaths() |
List<ExpansionPath<ProductSelection>> |
ProductSelectionByKeyProductGet.expansionPaths() |
List<ExpansionPath<ProductSelection>> |
ProductSelectionByIdGet.expansionPaths() |
List<ExpansionPath<ProductSelection>> |
ProductSelectionByKeyGet.expansionPaths() |
StringQuerySortingModel<ProductSelection> |
ProductSelectionQueryModel.key() |
LocalizedStringQuerySortingModel<ProductSelection> |
ProductSelectionQueryModel.name() |
LongQuerySortingModel<ProductSelection> |
ProductSelectionQueryModel.productCount() |
ReferenceQueryModel<ProductSelectionAssignment,ProductSelection> |
ProductSelectionAssignmentQueryModel.productSelection() |
static com.fasterxml.jackson.core.type.TypeReference<PagedQueryResult<ProductSelection>> |
ProductSelectionQuery.resultTypeReference()
Creates a container which contains the full Java type information to deserialize the query result (NOT this class) from JSON.
|
Modifier and Type | Method and Description |
---|---|
Reference<ProductSelection> |
ProductSelectionSetting.getProductSelection() |
ResourceIdentifier<ProductSelection> |
ProductSelectionSettingDraft.getProductSelection() |
ResourceIdentifier<ProductSelection> |
ProductSelectionSettingDraftBuilder.getProductSelection() |
ResourceIdentifier<ProductSelection> |
ProductSelectionSettingDraftDsl.getProductSelection() |
Modifier and Type | Method and Description |
---|---|
static ProductSelectionSetting |
ProductSelectionSetting.of(Reference<ProductSelection> productSelectionReference,
Boolean active) |
static ProductSelectionSettingDraftBuilder |
ProductSelectionSettingDraftBuilder.of(ResourceIdentifier<ProductSelection> productSelection,
Boolean active)
Creates a new object initialized with the given values.
|
static ProductSelectionSettingDraftDsl |
ProductSelectionSettingDraftDsl.of(ResourceIdentifier<ProductSelection> productSelection,
Boolean active)
Creates a new object initialized with the given values.
|
ProductSelectionSettingDraftBuilder |
ProductSelectionSettingDraftBuilder.productSelection(ResourceIdentifier<ProductSelection> productSelection)
Sets the
productSelection property of this builder. |
ProductSelectionSettingDraftDsl |
ProductSelectionSettingDraftDsl.withProductSelection(ResourceIdentifier<ProductSelection> productSelection) |
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier<ProductSelection> |
ChangeProductSelection.getProductSelection() |
ResourceIdentifier<ProductSelection> |
RemoveProductSelection.getProductSelection() |
Modifier and Type | Method and Description |
---|---|
static RemoveProductSelection |
RemoveProductSelection.of(ResourceIdentifier<ProductSelection> productSelection) |
static ChangeProductSelection |
ChangeProductSelection.of(ResourceIdentifier<ProductSelection> productSelection,
Boolean active) |