public class AutoCometJobPreparer extends Object implements PrepareInterceptor
AutoCometJobModel. Sets an unique id for the AutoCometJobModel.id attribute.| Constructor and Description |
|---|
AutoCometJobPreparer() |
| Modifier and Type | Method and Description |
|---|---|
void |
onPrepare(Object model,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setKeyGenerator(KeyGenerator keyGenerator) |
public void setKeyGenerator(KeyGenerator keyGenerator)
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 preparationCopyright © 2017 SAP SE. All Rights Reserved.