Class BasicDynamicCommandProcessor
java.lang.Object
ai.stapi.graphsystem.dynamiccommandprocessor.BasicDynamicCommandProcessor
- All Implemented Interfaces:
SpecificDynamicCommandProcessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final GenericCommandEventGraphMappingProviderprotected final GenericGraphEventFactoryprotected final ai.stapi.graphoperations.objectGraphMapper.model.GenericObjectGraphMapper -
Constructor Summary
ConstructorsConstructorDescriptionBasicDynamicCommandProcessor(ai.stapi.graphoperations.objectGraphMapper.model.GenericObjectGraphMapper objectGraphMapper, GenericGraphEventFactory genericEventFactory, GenericCommandEventGraphMappingProvider commandEventGraphMappingProvider) -
Method Summary
Modifier and TypeMethodDescriptionList<? extends AggregateGraphUpdatedEvent<? extends ai.stapi.identity.UniqueIdentifier>>processCommand(AbstractCommand<? extends ai.stapi.identity.UniqueIdentifier> command, ai.stapi.graph.Graph currentAggregateState, ai.stapi.graphoperations.objectGraphMapper.model.MissingFieldResolvingStrategy missingFieldResolvingStrategy) booleansupports(AbstractCommand<? extends ai.stapi.identity.UniqueIdentifier> command) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ai.stapi.graphsystem.dynamiccommandprocessor.SpecificDynamicCommandProcessor
processCommand
-
Field Details
-
objectGraphMapper
protected final ai.stapi.graphoperations.objectGraphMapper.model.GenericObjectGraphMapper objectGraphMapper -
genericEventFactory
-
commandEventGraphMappingProvider
-
-
Constructor Details
-
BasicDynamicCommandProcessor
public BasicDynamicCommandProcessor(ai.stapi.graphoperations.objectGraphMapper.model.GenericObjectGraphMapper objectGraphMapper, GenericGraphEventFactory genericEventFactory, GenericCommandEventGraphMappingProvider commandEventGraphMappingProvider)
-
-
Method Details
-
processCommand
public List<? extends AggregateGraphUpdatedEvent<? extends ai.stapi.identity.UniqueIdentifier>> processCommand(AbstractCommand<? extends ai.stapi.identity.UniqueIdentifier> command, ai.stapi.graph.Graph currentAggregateState, ai.stapi.graphoperations.objectGraphMapper.model.MissingFieldResolvingStrategy missingFieldResolvingStrategy) - Specified by:
processCommandin interfaceSpecificDynamicCommandProcessor
-
supports
- Specified by:
supportsin interfaceSpecificDynamicCommandProcessor
-