Class StreamConfigurationInfoExpressionCreationInterceptor
java.lang.Object
de.hybris.platform.outboundsync.interceptor.StreamConfigurationInfoExpressionCreationInterceptor
- All Implemented Interfaces:
Interceptor,LoadInterceptor<OutboundSyncStreamConfigurationModel>
public class StreamConfigurationInfoExpressionCreationInterceptor
extends Object
implements LoadInterceptor<OutboundSyncStreamConfigurationModel>
Creates an info expression for a newly created
OutboundSyncStreamConfigurationModel based on the TypeDescriptor
derived from the associated IntegrationObjectModel associated via the OutboundChannelConfigurationModel-
Constructor Summary
ConstructorsConstructorDescriptionStreamConfigurationInfoExpressionCreationInterceptor(@NotNull DescriptorFactory factory, @NotNull InfoExpressionGenerator generator, @NotNull OutboundSyncConfiguration configuration) Constructor that instantiates and populates the required class dependencies -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanvoidonLoad(OutboundSyncStreamConfigurationModel streamModel, InterceptorContext context) If a model is loaded from the database this method is called by the model service.
-
Constructor Details
-
StreamConfigurationInfoExpressionCreationInterceptor
public StreamConfigurationInfoExpressionCreationInterceptor(@NotNull @NotNull DescriptorFactory factory, @NotNull @NotNull InfoExpressionGenerator generator, @NotNull @NotNull OutboundSyncConfiguration configuration) Constructor that instantiates and populates the required class dependencies- Parameters:
factory-DescriptorFactorygenerator-InfoExpressionGenerator
-
-
Method Details
-
onLoad
Description copied from interface:LoadInterceptorIf a model is loaded from the database this method is called by the model service.- Specified by:
onLoadin interfaceLoadInterceptor<OutboundSyncStreamConfigurationModel>- Parameters:
streamModel- the model to be loadedcontext- theInterceptorContext
-
isDeleteFeatureEnabled
protected boolean isDeleteFeatureEnabled()
-