org.infoglue.cms.applications.workflowtool.condition
Class HasErrors

java.lang.Object
  extended by org.infoglue.cms.applications.workflowtool.util.InfoglueWorkflowBase
      extended by org.infoglue.cms.applications.workflowtool.condition.InfoglueCondition
          extended by org.infoglue.cms.applications.workflowtool.condition.HasErrors
All Implemented Interfaces:
com.opensymphony.workflow.Condition

public class HasErrors
extends InfoglueCondition

Workflow condition used to determine if there are any (mainly content validation) errors reported.


Field Summary
 
Fields inherited from class org.infoglue.cms.applications.workflowtool.util.InfoglueWorkflowBase
ERROR_PROPERTYSET_PREFIX, FUNCTION_STATUS_PROPERTYSET_KEY, UTF8_ENCODING, WORKFLOW_PROPERTYSET_PREFIX
 
Constructor Summary
HasErrors()
          Default constructor.
 
Method Summary
protected  boolean passesCondition()
          Determines if a condition should signal pass or fail.
 
Methods inherited from class org.infoglue.cms.applications.workflowtool.condition.InfoglueCondition
passesCondition
 
Methods inherited from class org.infoglue.cms.applications.workflowtool.util.InfoglueWorkflowBase
argumentExists, getArgument, getArgument, getDatabase, getLogger, getParameter, getParameter, getParameter, getParameters, getPropertySet, getPropertySetDataString, getPropertySetString, getVariableFromMaps, initialize, parameterExists, propertySetContains, removeFromPropertySet, removeFromPropertySet, setParameter, setPropertySetDataString, setPropertySetString, storeContext, throwException, throwException, translate, translateVariables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HasErrors

public HasErrors()
Default constructor.

Method Detail

passesCondition

protected boolean passesCondition()
                           throws com.opensymphony.workflow.WorkflowException
Determines if a condition should signal pass or fail.

Specified by:
passesCondition in class InfoglueCondition
Returns:
true if the condition passes; false otherwise.
Throws:
com.opensymphony.workflow.WorkflowException - if an error (such as missing required argument) occurs while evaluating the condition.


Copyright © 2005 InfoGlue.org All Rights Reserved.