com.googlecode.jpattern.core.command
Class ACommand
java.lang.Object
com.googlecode.jpattern.core.command.ACommand
- All Implemented Interfaces:
- ICommand, java.io.Serializable
public abstract class ACommand
- extends java.lang.Object
- implements ICommand
- Author:
- Francesco Cina'
29/gen/2011
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACommand
public ACommand(ICommand previousCommand)
getProvider
protected final IProvider getProvider()
visit
public final void visit(IProvider aProvider)
- Specified by:
visit in interface ICommand
exec
public final IResult exec()
- Specified by:
exec in interface ICommand
rollback
public final IResult rollback(IResult execResult)
- Specified by:
rollback in interface ICommand
rollback
public final IResult rollback()
- Specified by:
rollback in interface ICommand
result
protected abstract void result(IResult result)
internalRollBack
protected abstract void internalRollBack(IResult rollBackResult)
Copyright © 2011. All Rights Reserved.