public class GetTasksTag
extends atg.epub.pws.taglib.PWSResourceFileTagSupport
TaskInfo
,
Serialized FormModifier and Type | Class and Description |
---|---|
class |
GetTasksTag.Results
Results class for returning output for this tag
|
static class |
GetTasksTag.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 |
---|
GetTasksTag()
Empty Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Sets the page variable defined in the id/var property to a collection
of TaskInfo objects.
|
boolean |
getActive() |
java.lang.String |
getProcessId() |
java.lang.String |
getTaskElementId() |
boolean |
getUnowned() |
boolean |
getUserOnly() |
java.lang.String |
getWorkflowId() |
void |
release() |
void |
setActive(boolean pActive)
Sets a flag indicating whether or not to return active tasks, default is true.
|
void |
setProcessId(java.lang.String string)
Sets the processId to get the tasks for
|
void |
setTaskElementId(java.lang.String string)
Sets the task element ID to get a specific taskInfo
|
void |
setUnowned(boolean pUnowned)
Sets a flag indicating whether or not to return unowned tasks.
|
void |
setUserOnly(boolean pUserOnly)
Sets the userOnly flag which indicates that only the tasks for the current
user should be returned
|
void |
setWorkflowId(java.lang.String string)
Sets the workflow ID to get tasks for a specific workflow in the process
|
getCount, getCountAsInt, getIndex, getIndexAsInt, getTotalCountVar, setCount, setIndex, setTotalCount, setTotalCount, setTotalCountVar
getDynamoRequest, getId, getVar, isBlank, setId, setPageVariable, setScope, setVar
public void setUserOnly(boolean pUserOnly)
pUserOnly
- true to return only the tasks for the current user, false
to return all taskspublic boolean getUserOnly()
public void setUnowned(boolean pUnowned)
pUnowned
- flag indicating whether or not to return unowned taskspublic boolean getUnowned()
public void setActive(boolean pActive)
pActive
- a flag indicating whether or not to return active taskspublic boolean getActive()
public void setProcessId(java.lang.String string)
string
- the processId to get the tasks forpublic java.lang.String getProcessId()
public void setWorkflowId(java.lang.String string)
string
- the workflow Idpublic java.lang.String getWorkflowId()
public void setTaskElementId(java.lang.String string)
string
- the task element Idpublic java.lang.String getTaskElementId()
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 error occurs or if active is true
and projectId is nullTaskInfo
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class atg.web.tagsupport.CountTagSupport
Tag.release()