|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.jpattern.core.command.ICommand
public abstract class ICommand
| Constructor Summary | |
|---|---|
ICommand()
|
|
| Method Summary | |
|---|---|
abstract ICommandResult |
exec()
This method launch the execution of the command (or chain of commands) using the default DefaultCommandExecutor. |
abstract ICommandResult |
exec(ICommandExecutor aCommandExecutor)
This method launch the execution of the command (or chain of commands). |
abstract ICommandResult |
rollback()
This method launch the rollback of the command (or chain of commands) using the default DefaultCommandExecutor. |
abstract ICommandResult |
rollback(ICommandExecutor aCommandExecutor)
This method launch the rollback of the command (or chain of commands). |
abstract ICommandResult |
rollback(ICommandResult execResult)
This method launch the rollback of the command (or chain of commands) only if the ICommandExecutor passed as parameter is not valid. |
abstract ICommandResult |
rollback(ICommandResult execResult,
ICommandExecutor aCommandExecutor)
This method launch the rollback of the command (or chain of commands) only if the ICommandExecutor passed as parameter is not valid. |
abstract void |
visit(IProvider provider)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ICommand()
| Method Detail |
|---|
public abstract void visit(IProvider provider)
public abstract ICommandResult exec()
public abstract ICommandResult exec(ICommandExecutor aCommandExecutor)
aCommandExecutor - the pool in which the command will runs
public abstract ICommandResult rollback()
public abstract ICommandResult rollback(ICommandExecutor aCommandExecutor)
aCommandExecutor - the pool in which the command will runs
public abstract ICommandResult rollback(ICommandResult execResult)
execResult - the result of a Command execution
public abstract ICommandResult rollback(ICommandResult execResult,
ICommandExecutor aCommandExecutor)
execResult - the result of a Command executionaCommandExecutor - the pool in which the command will runs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||