org.moremotion.process
Class CallDefinition

java.lang.Object
  extended by org.moremotion.config.ConditionalListItem
      extended by org.moremotion.process.CallDefinition
Direct Known Subclasses:
ProcessCallDefinition, ProcessTemplateCallDefinition, QueryProcessCallDefinition

public abstract class CallDefinition
extends ConditionalListItem

Represents the Call Definition belonging to one of "callProcess", "callQueryProcess" or "callTemplate" process configuration elements.

Version:
$Id: CallDefinition.java 636 2010-09-20 13:02:17Z erkan $

Constructor Summary
CallDefinition(org.w3c.dom.Element elm, java.lang.Object parent)
           
 
Method Summary
abstract  void execute(MoreMotionRequest request, CallInstance ci, ProcessRecord prec)
           
 java.lang.String getBlockName(MoreMotionRequest request)
          Returns the name of the input process block of the target process
 int getDebugLevel(MoreMotionRequest request)
          Deprecated.  
 LogDefinition getLogDefinition(MoreMotionRequest request)
           
 java.lang.String getLogger()
           
 java.lang.String getPageName()
           
 ProcessConfig getProcessConfig()
           
 java.lang.String getPureStepName()
           
 Expression getRecordFilter(MoreMotionRequest request)
           
 java.lang.String getReset(MoreMotionRequest request)
           
 java.lang.String getStepCaption()
          Returns a caption for this call definition.
 java.lang.String getStepName()
           
 java.lang.String getTargetName()
           
 java.lang.String toString()
           
 
Methods inherited from class org.moremotion.config.ConditionalListItem
getCondition, precondSatisfied, setCondition
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CallDefinition

public CallDefinition(org.w3c.dom.Element elm,
                      java.lang.Object parent)
               throws ConfigurationException
Throws:
ConfigurationException
Method Detail

getPageName

public java.lang.String getPageName()

getLogger

public java.lang.String getLogger()

getTargetName

public java.lang.String getTargetName()

getStepName

public java.lang.String getStepName()

getPureStepName

public java.lang.String getPureStepName()

getStepCaption

public java.lang.String getStepCaption()
Returns a caption for this call definition. It returns the step name if defined, process name otherwise.


getProcessConfig

public ProcessConfig getProcessConfig()

getBlockName

public java.lang.String getBlockName(MoreMotionRequest request)
                              throws ConfigParameterException
Returns the name of the input process block of the target process

Throws:
ConfigParameterException

getRecordFilter

public Expression getRecordFilter(MoreMotionRequest request)
                           throws ConfigParameterException
Throws:
ConfigParameterException

getDebugLevel

public int getDebugLevel(MoreMotionRequest request)
                  throws ConfigParameterException
Deprecated. 

Throws:
ConfigParameterException

getLogDefinition

public LogDefinition getLogDefinition(MoreMotionRequest request)
                               throws ConfigParameterException
Throws:
ConfigParameterException

getReset

public java.lang.String getReset(MoreMotionRequest request)
                          throws ConfigParameterException
Throws:
ConfigParameterException

execute

public abstract void execute(MoreMotionRequest request,
                             CallInstance ci,
                             ProcessRecord prec)
                      throws ProcessException
Throws:
ProcessException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2002-2011 MOR YAZILIM. All Rights Reserved.