public interface CustomerUpdateCommand extends UpdateCommandDsl<Customer,CustomerUpdateCommand>, MetaModelReferenceExpansionDsl<Customer,CustomerUpdateCommand,CustomerExpansionModel<Customer>>
Customer.isEmailVerified() or Customer.getPassword() special commands are required which are documented in the customer Javadoc.
Known UpdateActions
Customer| Modifier and Type | Method and Description |
|---|---|
static CustomerUpdateCommand |
of(Versioned<Customer> versioned,
List<? extends UpdateAction<Customer>> updateActions)
Creates a command to update a Customer selected by its ID using several update actions.
|
static CustomerUpdateCommand |
of(Versioned<Customer> versioned,
UpdateAction<Customer> updateAction,
UpdateAction<Customer>... updateActions)
Creates a command to update a Customer selected by its ID using one update action.
|
static CustomerUpdateCommand |
ofKey(String key,
Long version,
List<? extends UpdateAction<Customer>> updateActions)
Creates a command to update a Customer selected by its key using several update actions.
|
static CustomerUpdateCommand |
ofKey(String key,
Long version,
UpdateAction<Customer> updateAction)
Creates a command to update a Customer selected by its key using one update action.
|
plusUpdateActions, withAdditionalHttpQueryParameters, withUpdateActions, withVersion, withVersiongetUpdateActionscanDeserialize, deserialize, httpRequestIntentplusExpansionPaths, withExpansionPathsplusExpansionPaths, plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPathsexpansionPathsstatic CustomerUpdateCommand of(Versioned<Customer> versioned, List<? extends UpdateAction<Customer>> updateActions)
versioned - the object to update (so directly a Customer) or just the version/ID information of itupdateActions - the updates@SafeVarargs static CustomerUpdateCommand of(Versioned<Customer> versioned, UpdateAction<Customer> updateAction, UpdateAction<Customer>... updateActions)
versioned - the object to update (so directly a Customer) or just the version/ID information of itupdateAction - the update to performupdateActions - additional updates to performstatic CustomerUpdateCommand ofKey(String key, Long version, List<? extends UpdateAction<Customer>> updateActions)
key - the key of the Customer to update, see Customer.getKey()version - the current version of the Customer, see Resource.getVersion()updateActions - the updatesstatic CustomerUpdateCommand ofKey(String key, Long version, UpdateAction<Customer> updateAction)
key - the key of the Customer to update, see Customer.getKey()version - the current version of the Customer, see Resource.getVersion()updateAction - the update to perform