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

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.PropertysetContains
All Implemented Interfaces:
com.opensymphony.workflow.Condition

public class PropertysetContains
extends InfoglueCondition

Workflow condition used to determine if the value of a propertyset key is as expected.


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
PropertysetContains()
          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

PropertysetContains

public PropertysetContains()
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.