Uses of Record Class
com.vaadin.signals.Id
Packages that use Id
-
Uses of Id in com.vaadin.hilla.signals.internal
Methods in com.vaadin.hilla.signals.internal that return IdMethods in com.vaadin.hilla.signals.internal with parameters of type IdModifier and TypeMethodDescriptionSignalsRegistry.getAllClientSignalIdsFor(Id signalId) Returns the Set of registered client signal ids for the providedsignalId.SignalsRegistry.getBySignalId(Id signalId) Get a signal instance by the providedsignalId.voidSignalsRegistry.unregister(Id signalId) Removes a signal instance by the providedsignalId. -
Uses of Id in com.vaadin.signals
Fields in com.vaadin.signals declared as IdModifier and TypeFieldDescriptionstatic final IdId.EDGEId representing the edge of a list.static final IdId.MAXSpecial id value reserved for internal bookkeeping.static final IdId.ZERODefault or initial id in various contexts.Methods in com.vaadin.signals that return IdModifier and TypeMethodDescriptionListSignal.ListPosition.after()Returns the value of theafterrecord component.ListSignal.ListPosition.before()Returns the value of thebeforerecord component.SignalCommand.AdoptAsCommand.childId()Returns the value of thechildIdrecord component.SignalCommand.AdoptAtCommand.childId()Returns the value of thechildIdrecord component.SignalCommand.PositionCondition.childId()Returns the value of thechildIdrecord component.SignalCommand.AdoptAsCommand.commandId()Returns the value of thecommandIdrecord component.SignalCommand.AdoptAtCommand.commandId()Returns the value of thecommandIdrecord component.SignalCommand.ClearCommand.commandId()Returns the value of thecommandIdrecord component.SignalCommand.ClearOwnerCommand.commandId()Returns the value of thecommandIdrecord component.SignalCommand.commandId()Gets the unique command id used to track the status of this command.SignalCommand.IncrementCommand.commandId()Returns the value of thecommandIdrecord component.SignalCommand.InsertCommand.commandId()Returns the value of thecommandIdrecord component.SignalCommand.KeyCondition.commandId()Returns the value of thecommandIdrecord component.SignalCommand.LastUpdateCondition.commandId()Returns the value of thecommandIdrecord component.SignalCommand.PositionCondition.commandId()Returns the value of thecommandIdrecord component.SignalCommand.PutCommand.commandId()Returns the value of thecommandIdrecord component.SignalCommand.PutIfAbsentCommand.commandId()Returns the value of thecommandIdrecord component.SignalCommand.RemoveByKeyCommand.commandId()Returns the value of thecommandIdrecord component.SignalCommand.RemoveCommand.commandId()Returns the value of thecommandIdrecord component.SignalCommand.SetCommand.commandId()Returns the value of thecommandIdrecord component.SignalCommand.SnapshotCommand.commandId()Returns the value of thecommandIdrecord component.SignalCommand.TransactionCommand.commandId()Returns the value of thecommandIdrecord component.SignalCommand.ValueCondition.commandId()Returns the value of thecommandIdrecord component.SignalCommand.KeyCondition.expectedChild()Returns the value of theexpectedChildrecord component.SignalCommand.LastUpdateCondition.expectedLastUpdate()Returns the value of theexpectedLastUpdaterecord component.SignalCommand.RemoveCommand.expectedParentId()Returns the value of theexpectedParentIdrecord component.AbstractSignal.id()Gets the unique id of this signal instance.Node.Data.lastUpdate()Returns the value of thelastUpdaterecord component.SignalCommand.ClearOwnerCommand.ownerId()Returns the value of theownerIdrecord component.Node.Data.parent()Returns the value of theparentrecord component.static IdParses the given base64 string as an id.static IdId.random()Creates a random id.Node.Data.scopeOwner()Returns the value of thescopeOwnerrecord component.SignalCommand.InsertCommand.scopeOwner()Returns the value of thescopeOwnerrecord component.SignalCommand.PutIfAbsentCommand.scopeOwner()Returns the value of thescopeOwnerrecord component.SignalCommand.ScopeOwnerCommand.scopeOwner()The owner id.Node.Alias.target()Returns the value of thetargetrecord component.SignalCommand.AdoptAsCommand.targetNodeId()Returns the value of thetargetNodeIdrecord component.SignalCommand.AdoptAtCommand.targetNodeId()Returns the value of thetargetNodeIdrecord component.SignalCommand.ClearCommand.targetNodeId()Returns the value of thetargetNodeIdrecord component.default IdSignalCommand.GlobalCommand.targetNodeId()SignalCommand.IncrementCommand.targetNodeId()Returns the value of thetargetNodeIdrecord component.SignalCommand.InsertCommand.targetNodeId()Returns the value of thetargetNodeIdrecord component.SignalCommand.KeyCondition.targetNodeId()Returns the value of thetargetNodeIdrecord component.SignalCommand.LastUpdateCondition.targetNodeId()Returns the value of thetargetNodeIdrecord component.SignalCommand.PositionCondition.targetNodeId()Returns the value of thetargetNodeIdrecord component.SignalCommand.PutCommand.targetNodeId()Returns the value of thetargetNodeIdrecord component.SignalCommand.PutIfAbsentCommand.targetNodeId()Returns the value of thetargetNodeIdrecord component.SignalCommand.RemoveByKeyCommand.targetNodeId()Returns the value of thetargetNodeIdrecord component.SignalCommand.RemoveCommand.targetNodeId()Returns the value of thetargetNodeIdrecord component.SignalCommand.SetCommand.targetNodeId()Returns the value of thetargetNodeIdrecord component.SignalCommand.targetNodeId()Gets the id of the signal node that is targeted by this command.SignalCommand.ValueCondition.targetNodeId()Returns the value of thetargetNodeIdrecord component.Methods in com.vaadin.signals that return types with arguments of type IdModifier and TypeMethodDescriptionNode.Data.listChildren()Returns the value of thelistChildrenrecord component.Node.Data.mapChildren()Returns the value of themapChildrenrecord component.SignalCommand.SnapshotCommand.nodes()Returns the value of thenodesrecord component.Methods in com.vaadin.signals with parameters of type IdMethod parameters in com.vaadin.signals with type arguments of type IdModifier and TypeMethodDescriptionprotected <I extends AbstractSignal<?>>
InsertOperation<I> AbstractSignal.submitInsert(SignalCommand command, Function<Id, I> childFactory) Submits a command for this signal and creates and insert operation that is updated once the command result is confirmed.Constructors in com.vaadin.signals with parameters of type IdModifierConstructorDescriptionprotectedAbstractSignal(SignalTree tree, Id id, Predicate<SignalCommand> validator) Creates a new signal instance with the given id and validator for the given signal tree.AdoptAsCommand(Id commandId, Id targetNodeId, Id childId, String key) Creates an instance of aAdoptAsCommandrecord class.AdoptAtCommand(Id commandId, Id targetNodeId, Id childId, ListSignal.ListPosition position) Creates an instance of aAdoptAtCommandrecord class.Creates an instance of aAliasrecord class.ClearCommand(Id commandId, Id targetNodeId) Creates an instance of aClearCommandrecord class.ClearOwnerCommand(Id commandId, Id ownerId) Creates an instance of aClearOwnerCommandrecord class.Data(Id parent, Id lastUpdate, Id scopeOwner, tools.jackson.databind.JsonNode value, List<Id> listChildren, Map<String, Id> mapChildren) Creates a new data node.IncrementCommand(Id commandId, Id targetNodeId, double delta) Creates an instance of aIncrementCommandrecord class.InsertCommand(Id commandId, Id targetNodeId, Id scopeOwner, tools.jackson.databind.JsonNode value, ListSignal.ListPosition position) Creates an instance of aInsertCommandrecord class.KeyCondition(Id commandId, Id targetNodeId, String key, Id expectedChild) Creates an instance of aKeyConditionrecord class.LastUpdateCondition(Id commandId, Id targetNodeId, Id expectedLastUpdate) Creates an instance of aLastUpdateConditionrecord class.ListPosition(Id after, Id before) Creates an instance of aListPositionrecord class.protectedListSignal(SignalTree tree, Id id, Predicate<SignalCommand> validator, Class<T> elementType) Creates a new list signal instance with the given id and validator for the given signal tree with the given element type.protectedMapSignal(SignalTree tree, Id id, Predicate<SignalCommand> validator, Class<T> elementType) Creates a new map signal instance with the given id and validator for the given signal tree with the given element type.protectedNodeSignal(SignalTree tree, Id id, Predicate<SignalCommand> validator) Creates a new node signal based on the given tree, node id and validator.protectedNumberSignal(SignalTree tree, Id id, Predicate<SignalCommand> validator) Creates a new number signal instance with the given id and validator for the given signal tree.PositionCondition(Id commandId, Id targetNodeId, Id childId, ListSignal.ListPosition position) Creates an instance of aPositionConditionrecord class.PutCommand(Id commandId, Id targetNodeId, String key, tools.jackson.databind.JsonNode value) Creates an instance of aPutCommandrecord class.PutIfAbsentCommand(Id commandId, Id targetNodeId, Id scopeOwner, String key, tools.jackson.databind.JsonNode value) Creates an instance of aPutIfAbsentCommandrecord class.RemoveByKeyCommand(Id commandId, Id targetNodeId, String key) Creates an instance of aRemoveByKeyCommandrecord class.RemoveCommand(Id commandId, Id targetNodeId, Id expectedParentId) Creates an instance of aRemoveCommandrecord class.SetCommand(Id commandId, Id targetNodeId, tools.jackson.databind.JsonNode value) Creates an instance of aSetCommandrecord class.SnapshotCommand(Id commandId, Map<Id, Node> nodes) Creates an instance of aSnapshotCommandrecord class.TransactionCommand(Id commandId, List<SignalCommand> commands) Creates an instance of aTransactionCommandrecord class.ValueCondition(Id commandId, Id targetNodeId, tools.jackson.databind.JsonNode expectedValue) Creates an instance of aValueConditionrecord class.protectedValueSignal(SignalTree tree, Id id, Predicate<SignalCommand> validator, Class<T> valueType) Creates a new value signal instance with the given id and validator for the given signal tree with the given value type.Constructor parameters in com.vaadin.signals with type arguments of type IdModifierConstructorDescriptionData(Id parent, Id lastUpdate, Id scopeOwner, tools.jackson.databind.JsonNode value, List<Id> listChildren, Map<String, Id> mapChildren) Creates a new data node.Data(Id parent, Id lastUpdate, Id scopeOwner, tools.jackson.databind.JsonNode value, List<Id> listChildren, Map<String, Id> mapChildren) Creates a new data node.SnapshotCommand(Id commandId, Map<Id, Node> nodes) Creates an instance of aSnapshotCommandrecord class. -
Uses of Id in com.vaadin.signals.impl
Methods in com.vaadin.signals.impl that return IdModifier and TypeMethodDescriptionSignalTree.id()Gets the id of this signal tree.TreeRevision.ownerId()Gets the id of the tree that this revision belongs to.Methods in com.vaadin.signals.impl that return types with arguments of type IdModifier and TypeMethodDescriptionMutableTreeRevision.applyAndGetResults(List<SignalCommand> commands) Applies a sequence of commands and collects the results to a map.CommandsAndHandlers.getResultHandlers()Gets an unmodifiable map of the result handlers.TreeRevision.nodes()Gets the nodes that make up this revision.CommandResult.Accept.originalInserts()Returns the value of theoriginalInsertsrecord component.TreeRevision.originalInserts()Gets a map of signal commands for creating any nodes owned by this tree.static Map<Id, CommandResult> CommandResult.rejectAll(Map<Id, CommandResult> results, String reason) Creates a copy of the given map of command results where all accepted results are replaced with the same rejection.CommandResult.Accept.updates()Returns the value of theupdatesrecord component.Methods in com.vaadin.signals.impl with parameters of type IdModifier and TypeMethodDescriptionGet the data node for the given node id, if present.SignalTree.observeNextChange(Id nodeId, TransientListener observer) Registers an observer for a node in this tree.Method parameters in com.vaadin.signals.impl with type arguments of type IdModifier and TypeMethodDescriptionvoidMutableTreeRevision.apply(SignalCommand command, BiConsumer<Id, CommandResult> resultCollector) Applies a single command and passes the results to the provided handler.protected voidSignalTree.notifyProcessedCommandSubscribers(List<SignalCommand> commands, Map<Id, CommandResult> results) Notifies all subscribers after a command is processed.voidCommandsAndHandlers.notifyResultHandlers(Map<Id, CommandResult> results) Notifies and removes result handlers for the given results.voidCommandsAndHandlers.notifyResultHandlers(Map<Id, CommandResult> results, List<SignalCommand> commandOrder) Notifies and removes result handlers for the given results in the given order.static Map<Id, CommandResult> CommandResult.rejectAll(Map<Id, CommandResult> results, String reason) Creates a copy of the given map of command results where all accepted results are replaced with the same rejection.voidCommandsAndHandlers.removeHandledCommands(Collection<Id> handledCommandIds) Removes commands based on a collection of handled commands.Constructors in com.vaadin.signals.impl with parameters of type IdModifierConstructorDescriptionCreates an empty snapshot.TreeRevision(Id ownerId, Map<Id, Node> nodes, Map<Id, SignalCommand.ScopeOwnerCommand> originalInserts) Creates a new revision based on the given owner id, map of signal nodes and map of original inserts.Constructor parameters in com.vaadin.signals.impl with type arguments of type IdModifierConstructorDescriptionAccept(Map<Id, CommandResult.NodeModification> updates, Map<Id, SignalCommand.ScopeOwnerCommand> originalInserts) Creates an instance of aAcceptrecord class.CommandsAndHandlers(List<SignalCommand> commands, Map<Id, Consumer<CommandResult>> resultHandlers) Creates a new command list with the given commands and result handlers.TreeRevision(Id ownerId, Map<Id, Node> nodes, Map<Id, SignalCommand.ScopeOwnerCommand> originalInserts) Creates a new revision based on the given owner id, map of signal nodes and map of original inserts.