public class ImpExMediaInitDefaultsInterceptor extends java.lang.Object implements InitDefaultsInterceptor
ImpExMediaModel. Sets some default values needed by impex.| Constructor and Description |
|---|
ImpExMediaInitDefaultsInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onInitDefaults(java.lang.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(java.lang.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 © 2018 SAP SE. All Rights Reserved.