|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object PWSResourceFileTagSupport atg.epub.pws.taglib.GetWorkflowDescriptorTag
public class GetWorkflowDescriptorTag
Tag for obtaining a workflow descriptor object for a given workflow. This tag requires that a processId and id/var be supplied. The values will be set in Results.processWorkflow and Results.projectWorkflow. Optionally, if workflowId is supplied, it will return the workflow descriptor only for that workflow and will set the value is Results.workflowDescriptor.
WorkflowDescriptor
Nested Class Summary | |
---|---|
class |
GetWorkflowDescriptorTag.Results
Results class for returning output for the GetWorkflowDescriptorTag. |
static class |
GetWorkflowDescriptorTag.TEI
TagExtraInfo class to handle var/id processing. |
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
GetWorkflowDescriptorTag()
Empty constructor |
Method Summary | |
---|---|
int |
doStartTag()
Finds the process's workflow descriptor and sets it into the variable supplied in id/var. |
java.lang.String |
getProcessId()
|
java.lang.String |
getWorkflowId()
|
void |
release()
|
void |
setProcessId(java.lang.String pProcessId)
Sets the process id to return the workflow descriptor for |
void |
setWorkflowId(java.lang.String string)
Sets the workflow ID to get |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public GetWorkflowDescriptorTag()
Method Detail |
---|
public void setProcessId(java.lang.String pProcessId)
pProcessId
- a valid process idpublic java.lang.String getProcessId()
public void setWorkflowId(java.lang.String string)
string
- the workflow Idpublic java.lang.String getWorkflowId()
public int doStartTag() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- if a workflow instance could not be found or the
given process id is invalidWorkflowDescriptor
public void release()
Tag.release()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |