org.infoglue.cms.workflow.taglib
Class WorkflowTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.infoglue.deliver.taglib.AbstractTag
          extended by org.infoglue.cms.workflow.taglib.WorkflowTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
ElementTag, FormTag, PropertySetTag, SetPropertySetTag

public abstract class WorkflowTag
extends AbstractTag

Base class for all workflow related tags. Provides access to the propertyset associated with the workflow and the parameters used to identify a workflow.

See Also:
Serialized Form

Field Summary
static java.lang.String ACTION_ID_PARAMETER
          The name used to identify the current workflow action.
static java.lang.String WORKFLOW_ID_PARAMETER
          The name used to identify the current workflow.
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
protected WorkflowTag()
          Default constructor.
 
Method Summary
protected  java.lang.String getActionID()
          Returns the identifier of the current workflow action.
protected  InfoGluePrincipal getPrincipal()
          Returns the principal associated with the current session.
protected  InfogluePropertySet getPropertySet()
          Returns the propertyset associated with the current workflow.
protected  java.lang.String getWorkflowID()
          Returns the identifier of the current workflow.
 
Methods inherited from class org.infoglue.deliver.taglib.AbstractTag
evaluate, evaluateCollection, evaluateInteger, evaluateList, evaluateString, produceResult, setId, setResultAttribute, write
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_ID_PARAMETER

public static final java.lang.String ACTION_ID_PARAMETER
The name used to identify the current workflow action.

See Also:
Constant Field Values

WORKFLOW_ID_PARAMETER

public static final java.lang.String WORKFLOW_ID_PARAMETER
The name used to identify the current workflow.

See Also:
Constant Field Values
Constructor Detail

WorkflowTag

protected WorkflowTag()
Default constructor.

Method Detail

getWorkflowID

protected final java.lang.String getWorkflowID()
Returns the identifier of the current workflow.

Returns:
the workflow identifier.

getActionID

protected final java.lang.String getActionID()
Returns the identifier of the current workflow action.

Returns:
the action identifier.

getPrincipal

protected final InfoGluePrincipal getPrincipal()
Returns the principal associated with the current session.

Returns:
the principal associated with the current session.

getPropertySet

protected final InfogluePropertySet getPropertySet()
Returns the propertyset associated with the current workflow.

Returns:
the propertyset associated with the current workflow.


Copyright © 2005 InfoGlue.org All Rights Reserved.