public class GetWorkflowDefinitionsTag
extends atg.web.tagsupport.CountTagSupport
WorkflowDescriptor
,
atg.epub.pws.taglib.GetWorkflowDefinitions$Results
,
Serialized FormModifier and Type | Class and Description |
---|---|
class |
GetWorkflowDefinitionsTag.Results
Results class for returning output.
|
static class |
GetWorkflowDefinitionsTag.TEI
TagExtraInfo class to handle var/id processing.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
GetWorkflowDefinitionsTag()
Empty constructor
|
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Finds all the workflow descriptors in the system.
|
protected boolean |
filterWorkflow(java.lang.String pWorkflowName) |
boolean |
getUserOnly() |
void |
release() |
void |
setUserOnly(boolean pUserOnly)
Sets userOnly flag which will cause the workflows which are returned to
include only those which the calling user can start
|
getCount, getCountAsInt, getIndex, getIndexAsInt, getTotalCountVar, setCount, setIndex, setTotalCount, setTotalCount, setTotalCountVar
getDynamoRequest, getId, getVar, isBlank, setId, setPageVariable, setScope, setVar
public void setUserOnly(boolean pUserOnly)
pUserOnly
- false to return all workflow definitions, true to return
only those which the current user can startpublic boolean getUserOnly()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
- if a workflow descriptor cannot be foundWorkflowDescriptor
,
atg.epub.pws.taglib.GetWorkflowDefinitions$Results
protected boolean filterWorkflow(java.lang.String pWorkflowName)
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class atg.web.tagsupport.CountTagSupport
Tag.release()