Class StreamConfigurationInfoExpressionCreationInterceptor
- java.lang.Object
-
- de.hybris.platform.outboundsync.interceptor.StreamConfigurationInfoExpressionCreationInterceptor
-
- All Implemented Interfaces:
Interceptor,LoadInterceptor<OutboundSyncStreamConfigurationModel>
public class StreamConfigurationInfoExpressionCreationInterceptor extends java.lang.Object implements LoadInterceptor<OutboundSyncStreamConfigurationModel>
Creates an info expression for a newly createdOutboundSyncStreamConfigurationModelbased on theTypeDescriptorderived from the associatedIntegrationObjectModelassociated via theOutboundChannelConfigurationModel
-
-
Constructor Summary
Constructors Constructor Description StreamConfigurationInfoExpressionCreationInterceptor(@NotNull DescriptorFactory factory, @NotNull InfoExpressionGenerator generator, @NotNull OutboundSyncConfiguration configuration)Constructor that instantiates and populates the required class dependencies
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisDeleteFeatureEnabled()voidonLoad(OutboundSyncStreamConfigurationModel streamModel, InterceptorContext context)If a model is loaded from the database this method is called by the model service.
-
-
-
Constructor Detail
-
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 Detail
-
onLoad
public void onLoad(OutboundSyncStreamConfigurationModel streamModel, InterceptorContext context)
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()
-
-