public interface OrderUpdateCommand extends UpdateCommandDsl<Order,OrderUpdateCommand>, MetaModelReferenceExpansionDsl<Order,OrderUpdateCommand,OrderExpansionModel<Order>>
Order
.
Known UpdateActions
Order
Modifier and Type | Method and Description |
---|---|
static OrderUpdateCommand |
of(Versioned<Order> versioned,
List<? extends UpdateAction<Order>> updateActions)
Creates a command to update a Order selected by its ID using several update actions.
|
static OrderUpdateCommand |
of(Versioned<Order> versioned,
UpdateAction<Order> updateAction,
UpdateAction<Order>... updateActions)
Creates a command to update a Order selected by its ID using one update action.
|
static OrderUpdateCommand |
ofOrderNumber(String orderNumber,
Long version,
List<? extends UpdateAction<Order>> updateActions)
Creates a command to update a Order selected by its orderNumber using several update actions.
|
static OrderUpdateCommand |
ofOrderNumber(String orderNumber,
Long version,
UpdateAction<Order> updateAction)
Creates a command to update a Order selected by its orderNumber using one update action.
|
plusUpdateActions, withAdditionalHttpQueryParameters, withUpdateActions, withVersion, withVersion
getUpdateActions
canDeserialize, deserialize, httpRequestIntent
plusExpansionPaths, withExpansionPaths
plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths
expansionPaths
static OrderUpdateCommand of(Versioned<Order> versioned, List<? extends UpdateAction<Order>> updateActions)
versioned
- the object to update (so directly a Order
) or just the version/ID information of itupdateActions
- the updates@SafeVarargs static OrderUpdateCommand of(Versioned<Order> versioned, UpdateAction<Order> updateAction, UpdateAction<Order>... updateActions)
versioned
- the object to update (so directly a Order
) or just the version/ID information of itupdateAction
- the update to performupdateActions
- additional updates to performstatic OrderUpdateCommand ofOrderNumber(String orderNumber, Long version, List<? extends UpdateAction<Order>> updateActions)
orderNumber
- the orderNumber of the Order to update, see Order.getOrderNumber()
version
- the current version of the Order, see Resource.getVersion()
updateActions
- the updatesstatic OrderUpdateCommand ofOrderNumber(String orderNumber, Long version, UpdateAction<Order> updateAction)
orderNumber
- the orderNumber of the Order to update, see Order.getOrderNumber()
version
- the current version of the Order, see Resource.getVersion()
updateAction
- the update to perform