public class DefaultQuotePrepareInterceptor extends java.lang.Object implements PrepareInterceptor<QuoteModel>
QuoteModel instances:
| Constructor and Description |
|---|
DefaultQuotePrepareInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected QuoteState |
getInitialState() |
protected java.lang.Integer |
getInitialVersion() |
protected KeyGenerator |
getKeyGenerator() |
protected java.lang.String |
getLocalizedTypeName() |
void |
onPrepare(QuoteModel quote,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setInitialState(QuoteState initialState) |
void |
setInitialVersion(java.lang.Integer initialVersion) |
void |
setKeyGenerator(KeyGenerator keyGenerator) |
public void onPrepare(QuoteModel quote, InterceptorContext ctx) throws InterceptorException
PrepareInterceptormodelService.saveAll() method. Prepares the values of the given model.onPrepare in interface PrepareInterceptor<QuoteModel>quote - the model which values has to be preparedctx - the InterceptorContextInterceptorException - if an error occured during the preparationprotected java.lang.String getLocalizedTypeName()
protected java.lang.Integer getInitialVersion()
public void setInitialVersion(java.lang.Integer initialVersion)
protected QuoteState getInitialState()
public void setInitialState(QuoteState initialState)
protected KeyGenerator getKeyGenerator()
public void setKeyGenerator(KeyGenerator keyGenerator)
Copyright © 2018 SAP SE. All Rights Reserved.