public class PlaceOrderCommand extends AbstractCommand<CartModel>
operation| Constructor and Description |
|---|
PlaceOrderCommand() |
| Modifier and Type | Method and Description |
|---|---|
OrderModel |
execute(CartModel resrcEntity,
java.lang.Object reqEntity)
Executes a Command operation on an entity.
|
createResponseEntity, getNamedtoToModel, getDtoToModelContext, getLocalNodeConfig, getLocalNodeConfig, getModelToDtoContext, getResource, modelToDto, modelToDto, modelToDto, modelToDto, setObjectGraph, setResourcebuild, build, getRequestValue, getResourceValue, getRespEntity, getResponse, getServiceLocator, processException, processRequest, processRequest, setRequestValuepublic OrderModel execute(CartModel resrcEntity, java.lang.Object reqEntity) throws java.lang.Exception
CommandresrcEntity - this is the entity the command is executed for, it is always a Hybris ModelreqEntity - this is a parameter which is passed and shall be applied to the entity, as this is always a DTO it may
itself provide many single parameters as DTO membersjava.lang.ExceptionCopyright © 2018 SAP SE. All Rights Reserved.