trait NodeVariationInternals (View source)

internal  implementation details of command handlers
 

Methods

Events
createEventsForVariations(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, ContentRepository $contentRepository)

No description

Events
handleCreateNodeSpecializationVariant(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, ContentRepository $contentRepository)

No description

array
collectNodeSpecializationVariantsThatWillHaveBeenCreated(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, DimensionSpacePointSet $specializationVisibility, array $events, ContentRepository $contentRepository)

No description

Events
handleCreateNodeGeneralizationVariant(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, ContentRepository $contentRepository)

No description

array
collectNodeGeneralizationVariantsThatWillHaveBeenCreated(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, DimensionSpacePointSet $generalizationVisibility, array $events, ContentRepository $contentRepository)

No description

Events
handleCreateNodePeerVariant(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, ContentRepository $contentRepository)

No description

array
collectNodePeerVariantsThatWillHaveBeenCreated(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, DimensionSpacePointSet $peerVisibility, array $events, ContentRepository $contentRepository)

No description

Details

abstract protected InterDimensionalVariationGraph getInterDimensionalVariationGraph()

No description

protected Events createEventsForVariations(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, ContentRepository $contentRepository)

No description

Parameters

ContentStreamId $contentStreamId
OriginDimensionSpacePoint $sourceOrigin
OriginDimensionSpacePoint $targetOrigin
NodeAggregate $nodeAggregate
ContentRepository $contentRepository

Return Value

Events

protected Events handleCreateNodeSpecializationVariant(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, ContentRepository $contentRepository)

No description

Parameters

ContentStreamId $contentStreamId
OriginDimensionSpacePoint $sourceOrigin
OriginDimensionSpacePoint $targetOrigin
NodeAggregate $nodeAggregate
ContentRepository $contentRepository

Return Value

Events

protected array collectNodeSpecializationVariantsThatWillHaveBeenCreated(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, DimensionSpacePointSet $specializationVisibility, array $events, ContentRepository $contentRepository)

No description

Parameters

ContentStreamId $contentStreamId
OriginDimensionSpacePoint $sourceOrigin
OriginDimensionSpacePoint $targetOrigin
NodeAggregate $nodeAggregate
DimensionSpacePointSet $specializationVisibility
array $events
ContentRepository $contentRepository

Return Value

array

protected Events handleCreateNodeGeneralizationVariant(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, ContentRepository $contentRepository)

No description

Parameters

ContentStreamId $contentStreamId
OriginDimensionSpacePoint $sourceOrigin
OriginDimensionSpacePoint $targetOrigin
NodeAggregate $nodeAggregate
ContentRepository $contentRepository

Return Value

Events

protected array collectNodeGeneralizationVariantsThatWillHaveBeenCreated(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, DimensionSpacePointSet $generalizationVisibility, array $events, ContentRepository $contentRepository)

No description

Parameters

ContentStreamId $contentStreamId
OriginDimensionSpacePoint $sourceOrigin
OriginDimensionSpacePoint $targetOrigin
NodeAggregate $nodeAggregate
DimensionSpacePointSet $generalizationVisibility
array $events
ContentRepository $contentRepository

Return Value

array

protected Events handleCreateNodePeerVariant(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, ContentRepository $contentRepository)

No description

Parameters

ContentStreamId $contentStreamId
OriginDimensionSpacePoint $sourceOrigin
OriginDimensionSpacePoint $targetOrigin
NodeAggregate $nodeAggregate
ContentRepository $contentRepository

Return Value

Events

protected array collectNodePeerVariantsThatWillHaveBeenCreated(ContentStreamId $contentStreamId, OriginDimensionSpacePoint $sourceOrigin, OriginDimensionSpacePoint $targetOrigin, NodeAggregate $nodeAggregate, DimensionSpacePointSet $peerVisibility, array $events, ContentRepository $contentRepository)

No description

Parameters

ContentStreamId $contentStreamId
OriginDimensionSpacePoint $sourceOrigin
OriginDimensionSpacePoint $targetOrigin
NodeAggregate $nodeAggregate
DimensionSpacePointSet $peerVisibility
array $events
ContentRepository $contentRepository

Return Value

array