com.retek.commons.domain.core
Class Command

java.lang.Object
  extended bycom.retek.commons.domain.core.Command

public abstract class Command
extends java.lang.Object


Constructor Summary
Command()
           
 
Method Summary
 void addPostExecutionRule(Rule rule)
           
 void addPreExecutionRule(Rule rule)
           
protected abstract  void doExecute()
           
 void execute()
           
 DistributedContext getContext()
           
 boolean isExecuted()
           
protected  void processRules(java.util.Iterator iter)
           
 void setContext(DistributedContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Command

public Command()
Method Detail

execute

public final void execute()
                   throws SystemException,
                          BusinessException
Throws:
SystemException
BusinessException

processRules

protected void processRules(java.util.Iterator iter)
                     throws SystemException,
                            BusinessException
Throws:
SystemException
BusinessException

addPreExecutionRule

public void addPreExecutionRule(Rule rule)

addPostExecutionRule

public void addPostExecutionRule(Rule rule)

doExecute

protected abstract void doExecute()
                           throws SystemException,
                                  BusinessException
Throws:
SystemException
BusinessException

isExecuted

public boolean isExecuted()

getContext

public DistributedContext getContext()

setContext

public void setContext(DistributedContext context)


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25