Skip navigation links
kie-wb-common-command-api 7.39.0.Final-redhat-00005
A B C D E F G H I N O P R S T U V 

A

AbstractCommand<T,V> - Class in org.kie.workbench.common.command.client
Base type for commands
AbstractCommand() - Constructor for class org.kie.workbench.common.command.client.AbstractCommand
 
AbstractCommandEvent<C,V> - Class in org.kie.workbench.common.command.client.event
 
AbstractCommandEvent(Command<C, V>, CommandResult<V>) - Constructor for class org.kie.workbench.common.command.client.event.AbstractCommandEvent
 
addViolation(V) - Method in class org.kie.workbench.common.command.client.CommandResultBuilder
 
addViolations(Collection<V>) - Method in class org.kie.workbench.common.command.client.CommandResultBuilder
 
allow(T) - Method in class org.kie.workbench.common.command.client.AbstractCommand
 
allow(T) - Method in interface org.kie.workbench.common.command.client.Command
Check whether the command operation is allowed.
allow(T, Command<T, V>) - Method in interface org.kie.workbench.common.command.client.CommandManager
Check whether the given command can be executed.
allow(C, Command<C, V>) - Method in class org.kie.workbench.common.command.client.DelegateCommandManager
 
allow(C, Command<C, V>) - Method in class org.kie.workbench.common.command.client.impl.CommandManagerImpl
 

B

BadCommandArgumentsException - Exception in org.kie.workbench.common.command.client.exception
A command argument is not valid.
BadCommandArgumentsException(Command<?, ?>, Object, String) - Constructor for exception org.kie.workbench.common.command.client.exception.BadCommandArgumentsException
 
build() - Method in class org.kie.workbench.common.command.client.CommandResultBuilder
 
buildResult() - Method in class org.kie.workbench.common.command.client.AbstractCommand
 

C

cast() - Method in exception org.kie.workbench.common.command.client.exception.CommandException
 
clear() - Method in interface org.kie.workbench.common.command.client.registry.command.CommandRegistry
Clears the registry.
clear() - Method in class org.kie.workbench.common.command.client.registry.command.CommandRegistryImpl
 
Command<T,V> - Interface in org.kie.workbench.common.command.client
 
CommandException - Exception in org.kie.workbench.common.command.client.exception
Base exception type for runtime command errors.
CommandException(Command<?, ?>) - Constructor for exception org.kie.workbench.common.command.client.exception.CommandException
 
CommandException(String, Command<?, ?>) - Constructor for exception org.kie.workbench.common.command.client.exception.CommandException
 
CommandListener<T,V> - Interface in org.kie.workbench.common.command.client
 
CommandManager<T,V> - Interface in org.kie.workbench.common.command.client
Manager to handle execution of commands in a given context.
CommandManagerImpl<C,V> - Class in org.kie.workbench.common.command.client.impl
 
CommandManagerImpl() - Constructor for class org.kie.workbench.common.command.client.impl.CommandManagerImpl
 
CommandRegistry<C extends Command> - Interface in org.kie.workbench.common.command.client.registry.command
Base registry type for Commands.
CommandRegistryFactory - Interface in org.kie.workbench.common.command.client.registry
Factory for command registry.
CommandRegistryImpl<C extends Command> - Class in org.kie.workbench.common.command.client.registry.command
The default generic implementation for the CommandRegistry type.
CommandRegistryImpl() - Constructor for class org.kie.workbench.common.command.client.registry.command.CommandRegistryImpl
 
CommandResult<T> - Interface in org.kie.workbench.common.command.client
Result from the execution of a command
CommandResult.Type - Enum in org.kie.workbench.common.command.client
 
CommandResultBuilder<V> - Class in org.kie.workbench.common.command.client
 
CommandResultBuilder() - Constructor for class org.kie.workbench.common.command.client.CommandResultBuilder
 
CommandResultBuilder(Collection<V>) - Constructor for class org.kie.workbench.common.command.client.CommandResultBuilder
 
CommandResultImpl<V> - Class in org.kie.workbench.common.command.client.impl
 
CommandResultImpl(CommandResult.Type, Collection<V>) - Constructor for class org.kie.workbench.common.command.client.impl.CommandResultImpl
 
CommandUtils - Class in org.kie.workbench.common.command.client.util
 
CommandUtils() - Constructor for class org.kie.workbench.common.command.client.util.CommandUtils
 
contains(C) - Method in class org.kie.workbench.common.command.client.registry.command.CommandRegistryImpl
 
contains(T) - Method in interface org.kie.workbench.common.command.client.registry.Registry
 

D

DelegateCommandManager<C,V> - Class in org.kie.workbench.common.command.client
 
DelegateCommandManager() - Constructor for class org.kie.workbench.common.command.client.DelegateCommandManager
 
DynamicRegistry<T> - Interface in org.kie.workbench.common.command.client.registry
Mutable registry that can add or remove items at runtime.

E

execute(T) - Method in interface org.kie.workbench.common.command.client.Command
Executes the command operation.
execute(T, Command<T, V>) - Method in interface org.kie.workbench.common.command.client.CommandManager
Execute the given command.
execute(C, Command<C, V>) - Method in class org.kie.workbench.common.command.client.DelegateCommandManager
 
execute(C, Command<C, V>) - Method in class org.kie.workbench.common.command.client.impl.CommandManagerImpl
 

F

FAILED - Static variable in class org.kie.workbench.common.command.client.CommandResultBuilder
 

G

getArgument() - Method in exception org.kie.workbench.common.command.client.exception.BadCommandArgumentsException
 
getCommand() - Method in class org.kie.workbench.common.command.client.event.AbstractCommandEvent
 
getCommandHistory() - Method in interface org.kie.workbench.common.command.client.registry.command.CommandRegistry
Returns the registered commands, can be composite commands as well.
getCommandHistory() - Method in class org.kie.workbench.common.command.client.registry.command.CommandRegistryImpl
 
getDelegate() - Method in class org.kie.workbench.common.command.client.DelegateCommandManager
 
getRegistry() - Method in interface org.kie.workbench.common.command.client.HasCommandRegistry
Returns the command registry instance.
getResult() - Method in class org.kie.workbench.common.command.client.event.AbstractCommandEvent
 
getSeverity() - Method in enum org.kie.workbench.common.command.client.CommandResult.Type
 
getType() - Method in interface org.kie.workbench.common.command.client.CommandResult
Type of Result
getType(V) - Method in class org.kie.workbench.common.command.client.CommandResultBuilder
 
getType() - Method in class org.kie.workbench.common.command.client.impl.CommandResultImpl
 
getViolations() - Method in interface org.kie.workbench.common.command.client.CommandResult
 
getViolations() - Method in class org.kie.workbench.common.command.client.impl.CommandResultImpl
 

H

HasCommandListener<L extends CommandListener> - Interface in org.kie.workbench.common.command.client
 
HasCommandRegistry<T,V> - Interface in org.kie.workbench.common.command.client
A command manager type that provides command registry integration.
hasError() - Method in class org.kie.workbench.common.command.client.event.AbstractCommandEvent
 

I

isEmpty() - Method in class org.kie.workbench.common.command.client.registry.command.CommandRegistryImpl
 
isEmpty() - Method in interface org.kie.workbench.common.command.client.registry.Registry
 
isError(CommandResult<?>) - Static method in class org.kie.workbench.common.command.client.util.CommandUtils
 

N

newCommandRegistry() - Method in interface org.kie.workbench.common.command.client.registry.CommandRegistryFactory
Creates a new registry instance for commands.

O

onAllow(T, Command<T, V>, CommandResult<V>) - Method in interface org.kie.workbench.common.command.client.CommandListener
 
onExecute(T, Command<T, V>, CommandResult<V>) - Method in interface org.kie.workbench.common.command.client.CommandListener
 
onUndo(T, Command<T, V>, CommandResult<V>) - Method in interface org.kie.workbench.common.command.client.CommandListener
 
org.kie.workbench.common.command.client - package org.kie.workbench.common.command.client
 
org.kie.workbench.common.command.client.event - package org.kie.workbench.common.command.client.event
 
org.kie.workbench.common.command.client.exception - package org.kie.workbench.common.command.client.exception
 
org.kie.workbench.common.command.client.impl - package org.kie.workbench.common.command.client.impl
 
org.kie.workbench.common.command.client.registry - package org.kie.workbench.common.command.client.registry
 
org.kie.workbench.common.command.client.registry.command - package org.kie.workbench.common.command.client.registry.command
 
org.kie.workbench.common.command.client.util - package org.kie.workbench.common.command.client.util
 

P

peek() - Method in interface org.kie.workbench.common.command.client.registry.command.CommandRegistry
Peek the command from the registry.
peek() - Method in class org.kie.workbench.common.command.client.registry.command.CommandRegistryImpl
 
pop() - Method in interface org.kie.workbench.common.command.client.registry.command.CommandRegistry
Peek and remove the command from the registry.
pop() - Method in class org.kie.workbench.common.command.client.registry.command.CommandRegistryImpl
 
postAllow(C, Command<C, V>, CommandResult<V>) - Method in class org.kie.workbench.common.command.client.DelegateCommandManager
 
postExecute(C, Command<C, V>, CommandResult<V>) - Method in class org.kie.workbench.common.command.client.DelegateCommandManager
 
postUndo(C, Command<C, V>, CommandResult<V>) - Method in class org.kie.workbench.common.command.client.DelegateCommandManager
 
preAllow(C, Command<C, V>) - Method in class org.kie.workbench.common.command.client.DelegateCommandManager
 
preExecute(C, Command<C, V>) - Method in class org.kie.workbench.common.command.client.DelegateCommandManager
 
preUndo(C, Command<C, V>) - Method in class org.kie.workbench.common.command.client.DelegateCommandManager
 

R

register(C) - Method in interface org.kie.workbench.common.command.client.registry.command.CommandRegistry
Registers a single or more than one command/s.
register(C) - Method in class org.kie.workbench.common.command.client.registry.command.CommandRegistryImpl
 
register(T) - Method in interface org.kie.workbench.common.command.client.registry.DynamicRegistry
 
Registry<T> - Interface in org.kie.workbench.common.command.client.registry
Base type for any registry implementations.
remove(C) - Method in class org.kie.workbench.common.command.client.registry.command.CommandRegistryImpl
 
remove(T) - Method in interface org.kie.workbench.common.command.client.registry.DynamicRegistry
 

S

setCommandListener(L) - Method in interface org.kie.workbench.common.command.client.HasCommandListener
 
setCommandListener(CommandListener<C, V>) - Method in class org.kie.workbench.common.command.client.impl.CommandManagerImpl
 
setMaxSize(int) - Method in class org.kie.workbench.common.command.client.registry.command.CommandRegistryImpl
 
setMaxSize(int) - Method in interface org.kie.workbench.common.command.client.registry.SizeConstrainedRegistry
 
setType(CommandResult.Type) - Method in class org.kie.workbench.common.command.client.CommandResultBuilder
 
SizeConstrainedRegistry - Interface in org.kie.workbench.common.command.client.registry
Registry types that are size constrained must implement this type.
SUCCESS - Static variable in class org.kie.workbench.common.command.client.CommandResultBuilder
 

T

toList(Iterable<V>) - Static method in class org.kie.workbench.common.command.client.util.CommandUtils
 
toString() - Method in class org.kie.workbench.common.command.client.impl.CommandResultImpl
 

U

undo(T) - Method in interface org.kie.workbench.common.command.client.Command
Undo the changes done by this command execution.
undo(T, Command<T, V>) - Method in interface org.kie.workbench.common.command.client.CommandManager
Undo an executed command.
undo(C, Command<C, V>) - Method in class org.kie.workbench.common.command.client.DelegateCommandManager
 
undo(T) - Method in interface org.kie.workbench.common.command.client.HasCommandRegistry
Undo latest command present in the registry.
undo(C, Command<C, V>) - Method in class org.kie.workbench.common.command.client.impl.CommandManagerImpl
 

V

valueOf(String) - Static method in enum org.kie.workbench.common.command.client.CommandResult.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.kie.workbench.common.command.client.CommandResult.Type
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I N O P R S T U V 
Skip navigation links
kie-wb-common-command-api 7.39.0.Final-redhat-00005

Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.