Class AddAggregateGraphStateModificator
java.lang.Object
ai.stapi.graphsystem.aggregategraphstatemodifier.AbstractAggregateGraphStateModificator
ai.stapi.graphsystem.aggregategraphstatemodifier.AddAggregateGraphStateModificator
- All Implemented Interfaces:
AggregateGraphStateModificator
-
Field Summary
Fields inherited from class ai.stapi.graphsystem.aggregategraphstatemodifier.AbstractAggregateGraphStateModificator
dynamicOgmProvider, objectGraphMapper, structureSchemaFinder -
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) Methods inherited from class ai.stapi.graphsystem.aggregategraphstatemodifier.AbstractAggregateGraphStateModificator
getMappedObject, getOgm, getTraversingStartNode, traverseToModifiedNode
-
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) -
supports
public boolean supports(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition)
-