Class CayenneFillResponseStage
java.lang.Object
io.agrest.runtime.processor.update.stage.UpdateFillResponseStage
io.agrest.cayenne.processor.update.stage.CayenneFillResponseStage
- All Implemented Interfaces:
Processor<UpdateContext<?>>
- Direct Known Subclasses:
CayenneCreatedOrOkResponseStage,CayenneCreatedResponseStage,CayenneOkResponseStage
- Since:
- 2.7
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassignChildrenToParent(org.apache.cayenne.DataObject root, ResourceEntity<?> entity) protected <T extends org.apache.cayenne.DataObject>
voiddoExecute(UpdateContext<T> context) execute(UpdateContext<?> context) protected abstract <T extends org.apache.cayenne.DataObject>
intgetHttpStatus(UpdateContext<T> context) Methods inherited from class io.agrest.runtime.processor.update.stage.UpdateFillResponseStage
getInstance
-
Constructor Details
-
CayenneFillResponseStage
public CayenneFillResponseStage()
-
-
Method Details
-
execute
- Specified by:
executein interfaceProcessor<UpdateContext<?>>- Overrides:
executein classUpdateFillResponseStage
-
getHttpStatus
protected abstract <T extends org.apache.cayenne.DataObject> int getHttpStatus(UpdateContext<T> context) -
doExecute
-
assignChildrenToParent
-