Class AddAggregateGraphStateModificator
java.lang.Object
ai.stapi.graphsystem.aggregategraphstatemodifier.AddAggregateGraphStateModificator
- All Implemented Interfaces:
AggregateGraphStateModificator
public class AddAggregateGraphStateModificator
extends Object
implements AggregateGraphStateModificator
-
Constructor Summary
ConstructorsConstructorDescriptionAddAggregateGraphStateModificator(ai.stapi.schema.structureSchemaProvider.StructureSchemaFinder structureSchemaFinder, DynamicOgmProvider dynamicOgmProvider, GenericObjectGraphMapper objectGraphMapper) -
Method Summary
Modifier and TypeMethodDescriptionmodify(String aggregateType, ai.stapi.graph.Graph currentAggregateState, DynamicCommand command, CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationStructureType, MissingFieldResolvingStrategy missingFieldResolvingStrategy) booleansupports(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition)
-
Constructor Details
-
AddAggregateGraphStateModificator
public AddAggregateGraphStateModificator(ai.stapi.schema.structureSchemaProvider.StructureSchemaFinder structureSchemaFinder, DynamicOgmProvider dynamicOgmProvider, GenericObjectGraphMapper objectGraphMapper)
-
-
Method Details
-
modify
public GraphMappingResult modify(String aggregateType, ai.stapi.graph.Graph currentAggregateState, DynamicCommand command, CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationStructureType, MissingFieldResolvingStrategy missingFieldResolvingStrategy) - Specified by:
modifyin interfaceAggregateGraphStateModificator
-
supports
public boolean supports(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition) - Specified by:
supportsin interfaceAggregateGraphStateModificator
-