public class WorkflowActionDefaultCodeInterceptor extends Object implements PrepareInterceptor
| Constructor and Description |
|---|
WorkflowActionDefaultCodeInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onPrepare(Object model,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setKeyGenerator(KeyGenerator keyGenerator) |
public WorkflowActionDefaultCodeInterceptor()
public void onPrepare(Object model, InterceptorContext ctx) throws InterceptorException
PrepareInterceptormodelService.saveAll() method. Prepares the values of the given model.onPrepare in interface PrepareInterceptormodel - the model which values has to be preparedctx - the InterceptorContextInterceptorException - if an error occured during the preparationpublic void setKeyGenerator(KeyGenerator keyGenerator)
keyGenerator - the keyGenerator to setCopyright © 2017 SAP SE. All Rights Reserved.