Class CMSRelationInitDefaultsInterceptor
java.lang.Object
de.hybris.platform.cms2.servicelayer.interceptor.impl.CMSRelationInitDefaultsInterceptor
- All Implemented Interfaces:
InitDefaultsInterceptor,Interceptor
Provides autogenerated value for
Uid attribute in CMSRelationModel model.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonInitDefaults(Object model, InterceptorContext ctx) Called byModelService.initDefaults(Object)after instantiate a new model.voidsetProcessCodeGenerator(KeyGenerator keyGenerator)
-
Constructor Details
-
CMSRelationInitDefaultsInterceptor
public CMSRelationInitDefaultsInterceptor()
-
-
Method Details
-
onInitDefaults
Called byModelService.initDefaults(Object)after instantiate a new model.- Specified by:
onInitDefaultsin interfaceInitDefaultsInterceptor- Parameters:
model- the model which values should be set to the default valuesctx- theInterceptorContext- Throws:
InterceptorException- if the loading of the default value reports an error.
-
setProcessCodeGenerator
-