Skip navigation links
kie-wb-common-command-api 7.40.0.Final
A B C D E F G H I O P 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
 
AbstractCommandRegistryManager<C extends Command> - Class in org.kie.workbench.common.command.client.registry
This bean provides two Registries which can be used to manage the Undo/Redo functionality for an editor Registry doneCommands contains executed commands by the user, while undoneCommand registry holds the undo commands by the user, which can be redo.
AbstractCommandRegistryManager() - Constructor for class org.kie.workbench.common.command.client.registry.AbstractCommandRegistryManager
 
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
 
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
 
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
 

D

DelegateCommandManager<C,V> - Class in org.kie.workbench.common.command.client
 
DelegateCommandManager() - Constructor for class org.kie.workbench.common.command.client.DelegateCommandManager
 
doneCommandsRegistry - Variable in class org.kie.workbench.common.command.client.registry.AbstractCommandRegistryManager
 

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
 
getDelegate() - Method in class org.kie.workbench.common.command.client.DelegateCommandManager
 
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
 
hasError() - Method in class org.kie.workbench.common.command.client.event.AbstractCommandEvent
 

I

isError(CommandResult<?>) - Static method in class org.kie.workbench.common.command.client.util.CommandUtils
 

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.util - package org.kie.workbench.common.command.client.util
 

P

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
 

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
 
setType(CommandResult.Type) - Method in class org.kie.workbench.common.command.client.CommandResultBuilder
 
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(C, Command<C, V>) - Method in class org.kie.workbench.common.command.client.impl.CommandManagerImpl
 
undoneCommandsRegistry - Variable in class org.kie.workbench.common.command.client.registry.AbstractCommandRegistryManager
 

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 O P S T U V 
Skip navigation links
kie-wb-common-command-api 7.40.0.Final

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