public class ImpExMediaInitDefaultsInterceptor extends Object implements InitDefaultsInterceptor
ImpExMediaModel. Sets some default values needed by impex.| Constructor and Description |
|---|
ImpExMediaInitDefaultsInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onInitDefaults(Object model,
InterceptorContext ctx)
Called by
ModelService.initDefaults(Object) after instantiate a new model. |
void |
setMediaCodeGenerator(KeyGenerator mediaCodeGenerator) |
void |
setMediaService(MediaService mediaService) |
public void onInitDefaults(Object model, InterceptorContext ctx) throws InterceptorException
InitDefaultsInterceptorModelService.initDefaults(Object) after instantiate a new model.onInitDefaults in interface InitDefaultsInterceptormodel - the model which values should be set to the default valuesctx - the InterceptorContextInterceptorException - if the loading of the default value reports an error.public void setMediaCodeGenerator(KeyGenerator mediaCodeGenerator)
public void setMediaService(MediaService mediaService)
Copyright © 2017 SAP SE. All Rights Reserved.