Uses of Interface
com.vaadin.signals.SignalCommand
Packages that use SignalCommand
-
Uses of SignalCommand in com.vaadin.signals
Subinterfaces of SignalCommand in com.vaadin.signalsModifier and TypeInterfaceDescriptionstatic interfaceA signal command that doesn't apply any change but only performs a test that will be part of determining whether a transaction passes.static interfaceA signal command that doesn't target a specific node.static interfaceA signal command that targets a map entry by key.static interfaceA signal command that creates a new signal node that might have an owner.static interfaceA signal command that sets the value of a signal.Classes in com.vaadin.signals that implement SignalCommandModifier and TypeClassDescriptionstatic final recordAdopts the given node as a child with the given key.static final recordAdopts the given node as a child at the given insertion position.static final recordRemoves all children from the target node.static final recordRemoves all nodes that have its scope owner set as the given id.static final recordIncrements the value of the given node by the given delta.static final recordInserts a new node with the given value at the given list insert position.static final recordTests whether the given node has the expected child for a specific map key.static final recordTests that the given node was last updated by the command with the given id.static final recordTests whether the given node has a given child at a given position.static final recordStores the given value in a child node with the given key.static final recordStores the given value in a child node with the given key if it doesn't already exist.static final recordRemoves the child with the given key, if present.static final recordRemoves the given node from its parent, optionally verifying that the parent is as expected.static final recordSets the value of the given node.static final recordInitializes a tree based on a collection of pre-existing nodes.static final recordA sequence of commands that should be applied atomically and only if all commands are individually accepted.static final recordTests whether the given node has the expected value, based on JSON equality.Methods in com.vaadin.signals that return types with arguments of type SignalCommandModifier and TypeMethodDescriptionSignalCommand.TransactionCommand.commands()Returns the value of thecommandsrecord component.Methods in com.vaadin.signals with parameters of type SignalCommandModifier and TypeMethodDescriptionstatic booleanSignalUtils.isValid(AbstractSignal<?> signal, SignalCommand command) Checks whether the given command is considered valid by the validator instance of the provided signal.protected SignalOperation<Void> AbstractSignal.submit(SignalCommand command) Submits a command for this signal and updates the created operation without a value once the command result is confirmed.protected <R> SignalOperation<R> AbstractSignal.submit(SignalCommand command, AbstractSignal.ResultConverter<R> resultConverter) Submits a command for this signal and uses the provided result converter to updates the created operation once the command result is confirmed.protected <R,O extends SignalOperation<R>>
OAbstractSignal.submit(SignalCommand command, AbstractSignal.ResultConverter<R> resultConverter, O operation) Submits a command for this signal and updates the given operation using the given result converter once the command result is confirmed.protected <I extends AbstractSignal<?>>
InsertOperation<I> AbstractSignal.submitInsert(SignalCommand command, AbstractSignal.ChildSignalFactory<I> childFactory) Submits a command for this signal and creates and insert operation that is updated once the command result is confirmed.protected <O extends SignalOperation<Void>>
OAbstractSignal.submitVoidOperation(SignalCommand command, O operation) Submits a command for this signal and updates the given operation without a value once the command result is confirmed.Constructor parameters in com.vaadin.signals with type arguments of type SignalCommandModifierConstructorDescriptionTransactionCommand(Id commandId, List<SignalCommand> commands) Creates an instance of aTransactionCommandrecord class. -
Uses of SignalCommand in com.vaadin.signals.function
Methods in com.vaadin.signals.function with parameters of type SignalCommandModifier and TypeMethodDescriptionbooleanCommandValidator.isValid(SignalCommand command) Tests whether the given command is valid and should be allowed to execute. -
Uses of SignalCommand in com.vaadin.signals.impl
Methods in com.vaadin.signals.impl that return types with arguments of type SignalCommandModifier and TypeMethodDescriptionCommandsAndHandlers.getCommands()Gets an unmodifiable view of the commands.Methods in com.vaadin.signals.impl with parameters of type SignalCommandModifier and TypeMethodDescriptionvoidMutableTreeRevision.apply(SignalCommand command, com.vaadin.signals.impl.MutableTreeRevision.CommandDispatcher resultCollector) Applies a single command and passes the results to the provided handler.voidSignalTree.commitSingleCommand(SignalCommand command) Applies a single command to this tree without listening for the result.voidSignalTree.commitSingleCommand(SignalCommand command, CommandsAndHandlers.CommandResultHandler resultHandler) Applies a single command to this tree.voidStagedTransaction.include(SignalTree tree, SignalCommand command, CommandsAndHandlers.CommandResultHandler resultHandler, boolean applyToTree) voidTransaction.include(SignalTree tree, SignalCommand command, CommandsAndHandlers.CommandResultHandler resultHandler) Includes the given command to the given tree in the context of this transaction and sets the command to be applied to the underlying signal tree.protected abstract voidTransaction.include(SignalTree tree, SignalCommand command, CommandsAndHandlers.CommandResultHandler resultHandler, boolean applyToTree) Includes the given command to the given tree in the context of this transaction and optionally also sets the command to be applied to the underlying signal tree.voidSignalTree.CommandSubscriber.onCommandProcessed(SignalCommand command, CommandResult result) Called when a command has been processed.Method parameters in com.vaadin.signals.impl with type arguments of type SignalCommandModifier and TypeMethodDescriptionvoidMutableTreeRevision.apply(List<SignalCommand> commands) Applies a sequence of commands and ignores the results.MutableTreeRevision.applyAndGetResults(List<SignalCommand> commands) Applies a sequence of commands and collects the results to a map.voidAsynchronousSignalTree.confirm(List<SignalCommand> commands) Adds a sequence of commands to the confirmed snapshot.protected voidSignalTree.notifyProcessedCommandSubscribers(List<SignalCommand> commands, Map<Id, CommandResult> results) Notifies all subscribers after a command is processed.voidCommandsAndHandlers.notifyResultHandlers(Map<Id, CommandResult> results, List<SignalCommand> commandOrder) Notifies and removes result handlers for the given results in the given order.protected abstract voidAsynchronousSignalTree.submit(List<SignalCommand> commands) Submits a sequence of commands to the event log.Constructors in com.vaadin.signals.impl with parameters of type SignalCommandModifierConstructorDescriptionCommandsAndHandlers(SignalCommand command, CommandsAndHandlers.CommandResultHandler resultHandler) Creates a new command list with a single command and optional result handler.Constructor parameters in com.vaadin.signals.impl with type arguments of type SignalCommandModifierConstructorDescriptionCommandsAndHandlers(List<SignalCommand> commands, Map<Id, CommandsAndHandlers.CommandResultHandler> resultHandlers) Creates a new command list with the given commands and result handlers.