CommandExecutorServiceDefault (record)
Default implementation of CommandExecutorService .
API
record CommandExecutorServiceDefault {
Try<Bookmark> executeCommand(Command command)
Try<Bookmark> executeCommand(InteractionContextPolicy interactionContextPolicy, Command command)
Try<Bookmark> executeCommand(CommandDto dto)
Try<Bookmark> executeCommand(InteractionContextPolicy interactionContextPolicy, CommandDto dto)
void applyActionAdvisorPolicy(InteractionAdvisorPolicy policy, ObjectAction action, ManagedObject target, InteractionHead interactionHead, Can<ManagedObject> arguments)
void applyPropertyAdvisorPolicy(InteractionAdvisorPolicy policy, OneToOneAssociation property, ManagedObject target, ManagedObject proposedValue)
Can<ManagedObject> argAdaptersForParentedCollectionNavigation(ActionDto actionDto, ObjectAction objectAction, SchemaValueMarshaller valueMarshaller) (1)
}
| 1 | argAdaptersForParentedCollectionNavigation(ActionDto, ObjectAction, SchemaValueMarshaller)
Reconstructs replay arguments for a synthetic parented-collection selector action. |
Members
argAdaptersForParentedCollectionNavigation(ActionDto, ObjectAction, SchemaValueMarshaller)
Reconstructs replay arguments for a synthetic parented-collection selector action.
Such an action’s parameters are the collection’s optional column filters, which can be added, removed, or reordered between the time a command is recorded and the time it is replayed. Rather than bind positionally (which would silently mis-align on any such change), each current action parameter is matched to the recorded DTO parameter with the same stable id (falling back to friendly name); any current parameter with no corresponding recorded parameter is padded with an empty/unselected value.
Package-private and static to allow focused testing.