Class TextSearchTool.TextSearchCommand
java.lang.Object
com.levigo.jadice.web.demo.enterprise.client.TextSearchTool.TextSearchCommand
- All Implemented Interfaces:
Command
- Enclosing class:
TextSearchTool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanExecute(Collection<Object> args) Permission checking for a command works as follows:voidexecute(Collection<Object> args) Execute the command.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.levigo.jadice.web.client.util.command.Command
getID, isAvailable, isAvailable, isSelected
-
Constructor Details
-
TextSearchCommand
public TextSearchCommand()
-
-
Method Details
-
execute
Description copied from interface:CommandExecute the command. -
canExecute
Description copied from interface:CommandPermission checking for a command works as follows:1. Check user privileges if the command is executable.
2. Ask if the command is executable with the given objects.- Specified by:
canExecutein interfaceCommand- Parameters:
args- arguments for the command- Returns:
true- executable with these arguments,
false- impossible to execute this command with these arguments
-