|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.enterprise.BasicTemplateProcessor
wt.templateutil.processor.DefaultTemplateProcessor
wt.templateutil.processor.GenerateFormProcessor
wt.workflow.WorkflowProcessor
wt.workflow.worklist.WfTaskProcessor
wt.lifecycle.LifeCycleTaskProcessor
Deprecation Notice: This class is still valid for this release, however
this serves as advance notice that it will be removed in the future.
All user interfaces built using the Windchill HTML Template Processing
client architecture will be rewritten using a different framework in
an upcoming release.
Provide Windchill script support for the LifeCycle html templates (Submit, Promote, Review, Observe).
Supported API: false
Extendable: false
TemplateProcessor
,
Serialized FormField Summary | |
static String |
APPROVE_VOTE
Deprecated. |
protected static String |
bgTableCell
Deprecated. |
static String |
CHECKED
Deprecated. |
static String |
COMMENT_AREA
Deprecated. |
static String |
DEMOTE_VOTE
Deprecated. |
static String |
DENY_VOTE
Deprecated. |
static String |
DO_NOT_APPROVE_VOTE
Deprecated. |
static String |
DO_SUBMIT_ACTION
Deprecated. |
static String |
DROP_VOTE
Deprecated. |
protected static String |
EXCEPTION_TASK_ACTION
Deprecated. |
protected static String |
FONT_ATTRIBUTES
Deprecated. |
protected static String |
fontFace
Deprecated. |
protected static String |
FORMPROCESSOR_METHODNAME
Deprecated. |
protected static String |
LIFECYCLE_RESOURCE
Deprecated. |
private String |
m_Action
Deprecated. |
private Vector |
m_LangPrefs
Deprecated. |
private LifeCycleManaged |
m_LCMObject
Deprecated. |
private Locale |
m_Locale
Deprecated. |
private String |
m_MessageText
Deprecated. |
private Role |
m_Role
Deprecated. |
private String |
m_Task
Deprecated. |
static String |
OBSERVE_TASK_ACTION
Deprecated. |
static String |
PROMOTE_TASK_ACTION
Deprecated. |
static String |
PROMOTE_VOTE
Deprecated. |
static String |
REVIEW_TASK_ACTION
Deprecated. |
private static String |
SELECTED_GIF
Deprecated. |
(package private) static long |
serialVersionUID
Deprecated. |
static String |
SUBMIT_TASK_ACTION
Deprecated. |
protected static String |
TABLE_DATA_ATTRIBUTES
Deprecated. |
protected static String |
URLPROCESSOR_CLASSNAME
Deprecated. |
protected static String |
URLPROCESSOR_METHODNAME
Deprecated. |
protected static boolean |
VERBOSE
Deprecated. |
static String |
VOTE_ACTION
Deprecated. |
protected static String |
WORK_RESOURCE
Deprecated. |
Fields inherited from class wt.workflow.worklist.WfTaskProcessor |
AD_HOC_CREATE, AD_HOC_CREATE_VALUE, CODEBASE, COLUMNS, CONTENT_UPDATE, CONTENT_UPDATE_VALUE, DEFAULT_COLUMN_NUMBER, DEFAULT_FORMATTED_VALUE, DEFAULT_ROW_NUMBER, EXTERNALIZATION_VERSION_UID, FORMATTED, JIT_PROJECTS_UPDATE, JIT_PROJECTS_UPDATE_VALUE, JIT_TEAMS_UPDATE, JIT_TEAMS_UPDATE_VALUE, PDM_INSTALLED, pdmlContext, pjlContext, ROLES_UPDATE, ROLES_UPDATE_VALUE, ROUTER_EVENT, ROWS, TABLE_ATTRIBUTES |
Fields inherited from class wt.workflow.WorkflowProcessor |
fontHeader, t1bgcolhead, t1bgevenrow, t1fcolhead, TABLE_DATA_FONT, TABLE_DATA_ODD_ATTRIBUTES, TABLE_HEAD_ATTRIBUTES, TABLE_HEAD_FONT, tableEvenRow, tableHeader, tableOddRow |
Fields inherited from class wt.templateutil.processor.GenerateFormProcessor |
DEFAULT_LIFECYCLE, OLD_FORMAT_VERSION_UID, ON_CHANGE_EVENT_NAME, TEAMTEMPLATE_INPUT_NAME |
Fields inherited from class wt.templateutil.processor.DefaultTemplateProcessor |
ACTION, CLASS, LINE_FEED_DELIMITER, MESSAGE_SEPARATOR, OID |
Fields inherited from interface wt.templateutil.processor.ContextTranslator |
CONTEXT_LIST_IN, CONTEXT_LIST_OUT |
Fields inherited from interface wt.templateutil.processor.ContextHolder |
CONTEXT_ACTION, CONTEXT_CLASS_NAME, CONTEXT_OBJ, CONTEXT_PROPERTIES, FORM_DATA, QUERY_DATA, RESPONSE_EXCEPTIONS, RESPONSE_FOOTERS, RESPONSE_HEADERS, RESPONSE_MESSAGES, RESPONSE_STRING, STATUS |
Constructor Summary | |
LifeCycleTaskProcessor()
Deprecated. |
Method Summary | |
void |
beginForm(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. Print |
static String |
buildUrl(LifeCycleManaged object,
Role role,
State state)
Deprecated. Since R2 |
void |
createWfNavigationBar(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. Create the html navigation bar |
void |
enterComments(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. Print the a "Comments" caption & text area for entering comments. |
void |
getAllReviewRows(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. Outputs a table of reviews for the current task. |
Vector |
getLangPrefs()
Deprecated. |
LifeCycleManaged |
getLCMObject()
Deprecated. |
Locale |
getLocale()
Deprecated. Derive the locale if not already set. |
String |
getMessageText()
Deprecated. |
void |
getReviewCaptions(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. outputs table heading captions for the review table (Reviewer, Role, Approve, Comments) |
void |
getReviewRows(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. Outputs a table of reviews for the current task. |
Role |
getRole()
Deprecated. |
void |
getRole(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. outputs the role the user plays for this task |
String |
getTask()
Deprecated. |
void |
getTask(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. output the current task |
void |
hiddenVoteActions(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. Print a hidden field to force the voting action without the user being presented with a choice. |
boolean |
isWorkItemOwner()
Deprecated. Checks to see if the currently authenticated user owns this workitem. |
void |
messageText(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. at R5.0 |
void |
promotionCriteria(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. Print the promotion criteria as rows of checkboxes in a table. |
void |
readContext(HTTPRequest request)
Deprecated. Initialize the LifeCycleTaskProcessor attributes
from the query string parameters. |
void |
setLangPrefs(Vector langPrefs)
Deprecated. |
void |
setLCMObject(LifeCycleManaged lcm)
Deprecated. |
void |
setLocale(Locale locale)
Deprecated. |
void |
setMessageText(String messageText)
Deprecated. |
void |
setRole(Role role)
Deprecated. |
void |
setTask(String task)
Deprecated. |
void |
soloTaskCompleteButton(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. Print the HTML to generate the Submit button. |
void |
taskCompleteButton(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. at R5.0 See soloTaskCompleteButton |
void |
voteActions(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. Print the possible voting actions as radio button selections. |
Methods inherited from class wt.workflow.WorkflowProcessor |
columnLabel, createActionButton, createObjectLink, getStyleSheetProps, tableCell, tableCell, tableCellBold, tableOddCell |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final long serialVersionUID
protected static final String LIFECYCLE_RESOURCE
protected static final String WORK_RESOURCE
protected static final String URLPROCESSOR_CLASSNAME
protected static final String URLPROCESSOR_METHODNAME
protected static final String FORMPROCESSOR_METHODNAME
public static final String DO_SUBMIT_ACTION
public static final String SUBMIT_TASK_ACTION
public static final String PROMOTE_TASK_ACTION
public static final String REVIEW_TASK_ACTION
public static final String OBSERVE_TASK_ACTION
protected static final String EXCEPTION_TASK_ACTION
public static final String APPROVE_VOTE
public static final String DO_NOT_APPROVE_VOTE
public static final String PROMOTE_VOTE
public static final String DENY_VOTE
public static final String DEMOTE_VOTE
public static final String DROP_VOTE
public static final String COMMENT_AREA
public static final String VOTE_ACTION
public static final String CHECKED
protected static boolean VERBOSE
protected static final String bgTableCell
protected static final String fontFace
protected static final String TABLE_DATA_ATTRIBUTES
protected static final String FONT_ATTRIBUTES
private static String SELECTED_GIF
private LifeCycleManaged m_LCMObject
private Locale m_Locale
private String m_MessageText
private Role m_Role
private String m_Task
private String m_Action
private Vector m_LangPrefs
Constructor Detail |
public LifeCycleTaskProcessor()
Method Detail |
public void readContext(HTTPRequest request) throws WTException
LifeCycleTaskProcessor
attributes
from the query string parameters. If something is wrong with the task
the contextAction is set to "WfMessage" to display what went wrong.
readContext
in interface ContextTranslator
readContext
in class WfTaskProcessor
request
- The HTTPRequest
WTException
public void soloTaskCompleteButton(Properties parameters, Locale locale, OutputStream os) throws WTException
soloTaskCompleteButton
in class WfTaskProcessor
parameters
- The arguments that were passed to the Windchill script call.locale
- The Locale to send to the invoked methods for localization.os
- The output stream.
WTException
public void beginForm(Properties parameters, Locale locale, OutputStream os) throws WTException
public void createWfNavigationBar(Properties parameters, Locale locale, OutputStream os) throws WTException
createWfNavigationBar
in class WfTaskProcessor
parameters
- The arguments that were passed to the Windchill script call.locale
- The Locale to send to the invoked methods for localization.os
- The output stream.
WTException
public void getReviewRows(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void getAllReviewRows(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void getReviewCaptions(Properties parameters, Locale locale, OutputStream os)
public void getRole(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void getTask(Properties parameters, Locale locale, OutputStream os)
public void promotionCriteria(Properties parameters, Locale locale, OutputStream os) throws WTException
parameters
- The arguments that were passed to the Windchill script call.locale
- The Locale to send to the invoked methods for localization.os
- The output stream.
WTException
public void voteActions(Properties parameters, Locale locale, OutputStream os) throws WTException
parameters
- The arguments that were passed to the Windchill script call.locale
- The Locale to send to the invoked methods for localization.os
- The output stream.
WTException
public void hiddenVoteActions(Properties parameters, Locale locale, OutputStream os) throws WTException
parameters
- The arguments that were passed to the Windchill script call.locale
- The Locale to send to the invoked methods for localization.os
- The output stream.
WTException
public void enterComments(Properties parameters, Locale locale, OutputStream os) throws WTException
enterComments
in class WfTaskProcessor
parameters
- The arguments that were passed to the Windchill script call.locale
- The Locale to send to the invoked methods for localization.os
- The output stream.
WTException
public void setLCMObject(LifeCycleManaged lcm)
public LifeCycleManaged getLCMObject()
public String getMessageText()
public void setMessageText(String messageText)
public void setTask(String task)
public String getTask()
public void setRole(Role role)
public Role getRole()
public void setLangPrefs(Vector langPrefs)
public Vector getLangPrefs()
public Locale getLocale()
public void setLocale(Locale locale)
public void taskCompleteButton(Properties parameters, Locale locale, OutputStream os) throws WTException
taskCompleteButton
in class WfTaskProcessor
parameters
- The arguments that were passed to the Windchill script call.locale
- The Locale to send to the invoked methods for localization.os
- The output stream.
WTException
beginForm
,
closeForm
,
soloTaskCompleteButton
,
routingChoices
public void messageText(Properties parameters, Locale locale, OutputStream os) throws WTException
messageText
in class WfTaskProcessor
parameters
- The arguments that were passed to the Windchill script call.locale
- The Locale to send to the invoked methods for localization.os
- The output stream.
WTException
public static String buildUrl(LifeCycleManaged object, Role role, State state) throws WTException
WTException
- throws WTException if the URL cannot be builtpublic boolean isWorkItemOwner()
isWorkItemOwner
in class WfTaskProcessor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |