wt.lifecycle
Class LifeCycleTaskProcessor

java.lang.Object
  extended bywt.enterprise.BasicTemplateProcessor
      extended bywt.templateutil.processor.DefaultTemplateProcessor
          extended bywt.templateutil.processor.GenerateFormProcessor
              extended bywt.workflow.WorkflowProcessor
                  extended bywt.workflow.worklist.WfTaskProcessor
                      extended bywt.lifecycle.LifeCycleTaskProcessor
All Implemented Interfaces:
ContextHolder, ContextTranslator, Evolvable, Externalizable, Serializable, TemplateProcessor

public class LifeCycleTaskProcessor
extends WfTaskProcessor

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

See Also:
"'Customizing the HTML Client' in 'Customizer's Guide'", TemplateProcessor, Serialized Form

Field 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 class wt.enterprise.BasicTemplateProcessor
ADD_HELP_ICON, ALL_CABINETS, BLANK_SPACE, BREAK_SEPARATOR, BREAK_TAG, componentFactory, CONTAINER_NAME, CONTENT_RESOURCE, contextClass, DEFAULT_CHARSET, DEFAULT_HELP_ICON_SELECTOR, DEFAULT_HELP_LABEL, DEFAULT_PREFERENCE_CONTEXT, DOCFROMTEMPLATE, ENABLE_HELP_ICON_PROPERTY_NAME, ENTERPRISE_SEARCH, FEDERATION_SEARCH, GLOBAL_NAVIGATION_ENABLE_HELP_ICON, globalNavBarHelpIconEnabledDefault, HELP_CONTEXT, HELP_ICON_POSITION, HELP_ICON_SELECTOR, HELP_LABEL, HELP_LABEL_RESOURCE, HELP_WINDOW_NAME, helpContext, helpIconEnabled, helpIconEnabledDefault, HOMEPAGE, IDPREFIX, IMPORT, INTEGRATED_SEARCH, isDndMicroAppletEnabled, isDndMicroAppletEnabledInitialized, LABEL_SEPARATOR, linkPrefix, LOCAL_SEARCH, pageContext, PDMLINK_INSTALL_KEY, PERSONAL_CABINET, PREF_WINDOW_NAME, PREFERENCE_CONTEXT, PRESENT_HELP_LABEL, PROJECTLINK_INSTALL_KEY, SEARCH, SHARE_ICON, TEXT_RESOURCE_BUNDLE, URL_RESOURCE, WORKLIST, wtAttribute, WTCORE_IMAGE_DIR
 
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
tag with the post information & hidden fields for refresh action and oid of the workitem.
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.worklist.WfTaskProcessor
activityAttributes, activityAttributesPlain, activityAttributesWithGroup, activityDescription, activityDescriptionLabel, activityInstructions, activityInstructionsLabel, activityName, activityNameFull, activityNotificationUrl, activityVariable, activityVariableDisplayName, activityVariables, adHocActivities, assignee, assigneeLabel, augmentRoles, closeForm, dueDate, dueDateLabel, enumeratedTypeSelector, escapeHtml, formatLabel, generateTaskCompleteButton, getActivity, getActivityDescription, getActivityDescriptionLabel, getActivityInstructions, getActivityInstructionsLabel, getAssignee, getAssigneeLabel, getContextActionLink, getContextRef, getDueDate, getDueDateLabel, getGroup, getGroupLabel, getHelpURL, getMessage, getPriority, getPriorityLabel, getProcess, getProcessDescription, getProcessDescriptionLabel, getProcessInitiator, getProcessInitiatorLabel, getProcessName, getProcessNameLabel, getProjectLinkDueDate, getRequestedPromotionStateLabel, getSimpleName, getTaskUrl, getWorkItem, getWorkItemRole, getWorkItemRoleLabel, group, groupLabel, listProcessContent, notificationActivityAttributes, pageTitle, PJLOrganizationHost, PJLOrganizationHostLabel, PJLProject, PJLProjectDescription, PJLProjectDescriptionLabel, PJLProjectLabel, PJLProjectSponsor, PJLProjectSponsorLabel, plmLinkActivityAttributes, primaryBusinessObjectLink, principalSelector, priority, priorityLabel, processContent, ProcessDescription, processDescriptionLabel, processForum, processInitiator, processInitiatorLabel, processName, processNameLabel, processNotebook, processVariable, processVariables, projectLinkActivityAttributes, projectLinkAttributes, projectLinkAttributes, readExternal, readVersion, role, routingChoices, setContext, setContextObject, setMessage, setWorkItem, showVariable, taskURL, taskURL, updateProjects, updateTeams, workItemRoleLabel, writeBeginForm, writeExternal
 
Methods inherited from class wt.workflow.WorkflowProcessor
columnLabel, createActionButton, createObjectLink, getStyleSheetProps, tableCell, tableCell, tableCellBold, tableOddCell
 
Methods inherited from class wt.templateutil.processor.GenerateFormProcessor
addHiddenProperties, changedContextualValue, contextualValue, contextualValueEncoded, currentFolderId, currentFolderPath, enumeratedTypeMenu, enumeratedTypeMenuForClass, generateAction, generatePostURL, generateUpdatePostURL, getButtonText, getContentHolder, getContextualValue, getDefaultPath, getDelim, getDnDAppletTags, getEnumeratedTypeMenu, getFormat, getFormValueFromSession, getFormValueFromSession, getFormValueFromSessionWithEnumeratedPropertyDefault, getFormValueFromSessionWithPropertyDefault, getLastUpdated, getMessageURL, getObjectIdentity, getPreferenceValue, getPrimary, getPrimary, getPrimaryAttribute, getPrimaryChecksum, getPrimaryChecksum, getPrimaryDownloadURL, getPrimaryDownloadURL, getPrimaryFileName, getPrimaryFileName, getPrimaryOidString, getPrimaryOidString, getPrimaryUploadedFromPath, getPrimaryUploadedFromPath, getPrimaryUploadURL, getPrimaryUploadURL, getResponseExceptions, getResponseFooters, getResponseHeaders, getResponseMessages, getSize, getTargetType, getURLTabLink, getWTContainerRef, handleRequest, holderUploadTable, listLifeCycles, listTeamTemplates, obtainFromCovertProperty, parentFolderPath, readVersion, selectFolderMenu, selectFolderMenuForContainers, setContentHolder
 
Methods inherited from class wt.templateutil.processor.DefaultTemplateProcessor
addHiddenProperty, addToFeedbackCookie, addToFeedbackCookie, getContextPropertyValue, getCurrentUrl, getFeedbackCookieExceptions, getFeedbackCookieMessages, getHtmlTemplateFactory, getMessageSeparator, getPAGE_EXPIRATION, getPageExpirationResource, getTemplate, getTemplateDisplay, hiddenContextString, readVersion, setContextPropertyValue, setHtmlTemplateFactory, setMethodContextProperty, setNameProcessor, setPAGE_EXPIRATION, setPageExpirationResource, writeHiddenContext, writeQueryStringContext
 
Methods inherited from class wt.enterprise.BasicTemplateProcessor
AccessOK, addHTMLHelpLink, addToResponseExceptions, addToResponseFooters, addToResponseHeaders, addToResponseMessages, allVersions, bcwti, buildFormProcessorURL, buildFormProcessorURL, comment, createActionsBar, createFederationNavigationBar, createGlobalNavigationBar, createNavigationBar, createParentFolderLink, currentTimestamp, displayAllCabinets, displayAttributeName, displayAttributesTable, displayAttributeValue, displayFolderContents, displayFolderObject, displayFolderTrail, displayGoToLatestLink, displayOrganizationIdentifier, displayPendingChangeIndicator, displayStyleSheetAttributesTable, displayVisualData, formatDate, getActionPairs, getAllCabinetsURL, getBaselineItems, getCharsetEncoding, getCheckedOutFolderURL, getClassIcon, getClassInfo, getContextAction, getContextClass, getContextClassName, getContextListIn, getContextListOut, getContextObj, getContextProperties, getContextServiceName, getDisplayName, getDomainPath, getEnabledVersion, getEncoding, getFederationSearchURL, getFolderLocation, getFolderPath, getFormData, getGenericInstanceIconImgTag, getGlyphImageTag, getGlyphsArray, getGlyphTagsNoDnD, getHelpContext, getHomepageURL, getHTMLComponentFactory, getHTMLHelpLink, getHTMLHelpURL, getHTMLHelpURL, getHTMLTableService, getIconResource, getIconResource, getIconResource, getIconSelector, getId, getJavaScriptManager, getLocalizedDateFormatMessage, getLocalizedMessage, getLocalizedPrintWriter, getLocalizedString, getObjectDnDIcon, getObjectIcon, getObjectIconDnDTag, getObjectIconGlyphs, getObjectIconImgTag, getObjectIconImgTag, getObjectIconImgTag, getObjectIconImgTag, getObjectIconImgTag, getObjectIconImgTag, getObjectPropertyValueString, getObjectPropertyValueString, getPageContext, getParentFolderLink, getPersonalCabinet, getPersonalCabinetURL, getPreferenceValue, getPrincipalEmailLink, getPrincipalEmailLink, getPrintWriter, getPropertyFromPropertyFile, getQuery, getQueryData, getReferenceString, getReferenceString, getResourceString, getResourceString, getResponseExceptions, getResponseFooters, getResponseHeaders, getResponseMessages, getResponseString, getSearchCriteriaURL, getSearchCriteriaURL, getSearchResultsURL, getShareImage, getShareImage, getState, getStatus, getStringFromResourceBundle, getStringFromResourceBundle, getTemplateDisplayGeneral, getTrailId, getTrlIdAttribute, getURLActions, getURLActions, getURLActions, getURLActions, getURLActionsString, getURLActionsString, getURLFactory, getURLFromDelegate, getURLProcessorLink, getURLProcessorLink, getURLProcessorLink, getURLProcessorLinkWithLabel, getUsedByLinks, getWCColor, getWCColor, getWCColorDec, getWCColorDec, getWCFontFamily, getWCFontFamily, getWorklistURL, getWTAttribute, getWTContainerByName, handleExceptionTP, handleExceptionTP, handleProcessorException, include, initJavaScriptManager, isDndMicroAppletEnabled, isEqual, listContent, objectActionLink, objectActionLinkAux, objectActionLinkAux, objectActionLinkAux, objectActionLinkAux, objectActionLinkAux, objectActionLinkAux, objectActionLinkAux, objectBackground, objectIdentification, objectIdentifier, objectProperties, objectPropertyName, objectPropertyNameAux, objectPropertyNameAux2, objectPropertyValue, objectPropertyValueAux, objectPropertyValueAux2, objectPropertyValueString, outputLink, outputPropertyFromPropertyFile, parameterValue, partUsedBy, PDMLinkIsInstalled, printQueryTable, printTable, printTextArea, processSubTemplate, readVersion, setColumnProperties, setContextAction, setContextClass, setContextClassName, setContextListIn, setContextListOut, setContextObj, setContextProperties, setFormData, setHelpContext, setHTMLTableService, setJavaScriptManager, setPageContext, setQueryData, setResponseExceptions, setResponseFooters, setResponseHeaders, setResponseMessages, setResponseString, setState, setStatus, showResponseExceptions, showResponseFooters, showResponseHeaders, showResponseMessage, showResponseMessages, showVersions, sortQueryResult, splitStringIntoTokens, tableService, translateToHtml, useProcessorService, visualizationIsEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
Deprecated. 
See Also:
Constant Field Values

LIFECYCLE_RESOURCE

protected static final String LIFECYCLE_RESOURCE
Deprecated. 
See Also:
Constant Field Values

WORK_RESOURCE

protected static final String WORK_RESOURCE
Deprecated. 
See Also:
Constant Field Values

URLPROCESSOR_CLASSNAME

protected static final String URLPROCESSOR_CLASSNAME
Deprecated. 
See Also:
Constant Field Values

URLPROCESSOR_METHODNAME

protected static final String URLPROCESSOR_METHODNAME
Deprecated. 
See Also:
Constant Field Values

FORMPROCESSOR_METHODNAME

protected static final String FORMPROCESSOR_METHODNAME
Deprecated. 
See Also:
Constant Field Values

DO_SUBMIT_ACTION

public static final String DO_SUBMIT_ACTION
Deprecated. 
See Also:
Constant Field Values

SUBMIT_TASK_ACTION

public static final String SUBMIT_TASK_ACTION
Deprecated. 
See Also:
Constant Field Values

PROMOTE_TASK_ACTION

public static final String PROMOTE_TASK_ACTION
Deprecated. 
See Also:
Constant Field Values

REVIEW_TASK_ACTION

public static final String REVIEW_TASK_ACTION
Deprecated. 
See Also:
Constant Field Values

OBSERVE_TASK_ACTION

public static final String OBSERVE_TASK_ACTION
Deprecated. 
See Also:
Constant Field Values

EXCEPTION_TASK_ACTION

protected static final String EXCEPTION_TASK_ACTION
Deprecated. 
See Also:
Constant Field Values

APPROVE_VOTE

public static final String APPROVE_VOTE
Deprecated. 
See Also:
Constant Field Values

DO_NOT_APPROVE_VOTE

public static final String DO_NOT_APPROVE_VOTE
Deprecated. 
See Also:
Constant Field Values

PROMOTE_VOTE

public static final String PROMOTE_VOTE
Deprecated. 
See Also:
Constant Field Values

DENY_VOTE

public static final String DENY_VOTE
Deprecated. 
See Also:
Constant Field Values

DEMOTE_VOTE

public static final String DEMOTE_VOTE
Deprecated. 
See Also:
Constant Field Values

DROP_VOTE

public static final String DROP_VOTE
Deprecated. 
See Also:
Constant Field Values

COMMENT_AREA

public static final String COMMENT_AREA
Deprecated. 
See Also:
Constant Field Values

VOTE_ACTION

public static final String VOTE_ACTION
Deprecated. 
See Also:
Constant Field Values

CHECKED

public static final String CHECKED
Deprecated. 
See Also:
Constant Field Values

VERBOSE

protected static boolean VERBOSE
Deprecated. 

bgTableCell

protected static final String bgTableCell
Deprecated. 

fontFace

protected static final String fontFace
Deprecated. 

TABLE_DATA_ATTRIBUTES

protected static final String TABLE_DATA_ATTRIBUTES
Deprecated. 

FONT_ATTRIBUTES

protected static final String FONT_ATTRIBUTES
Deprecated. 

SELECTED_GIF

private static String SELECTED_GIF
Deprecated. 

m_LCMObject

private LifeCycleManaged m_LCMObject
Deprecated. 

m_Locale

private Locale m_Locale
Deprecated. 

m_MessageText

private String m_MessageText
Deprecated. 

m_Role

private Role m_Role
Deprecated. 

m_Task

private String m_Task
Deprecated. 

m_Action

private String m_Action
Deprecated. 

m_LangPrefs

private Vector m_LangPrefs
Deprecated. 
Constructor Detail

LifeCycleTaskProcessor

public LifeCycleTaskProcessor()
Deprecated. 
Method Detail

readContext

public void readContext(HTTPRequest request)
                 throws WTException
Deprecated. 
Initialize the 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.

Specified by:
readContext in interface ContextTranslator
Overrides:
readContext in class WfTaskProcessor
Parameters:
request - The HTTPRequest
Throws:
WTException

soloTaskCompleteButton

public void soloTaskCompleteButton(Properties parameters,
                                   Locale locale,
                                   OutputStream os)
                            throws WTException
Deprecated. 
Print the HTML to generate the Submit button.

Overrides:
soloTaskCompleteButton in class WfTaskProcessor
Parameters:
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.
Throws:
WTException

beginForm

public void beginForm(Properties parameters,
                      Locale locale,
                      OutputStream os)
               throws WTException
Deprecated. 
Print tag with the post information & hidden fields for refresh action and oid of the workitem. This overrides the method in wt.workflow.worklist.WfTaskProcessor to supplic the correct action for the SUBMIT post

Overrides:
beginForm in class WfTaskProcessor
Parameters:
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.
Throws:
WTException

createWfNavigationBar

public void createWfNavigationBar(Properties parameters,
                                  Locale locale,
                                  OutputStream os)
                           throws WTException
Deprecated. 
Create the html navigation bar

Overrides:
createWfNavigationBar in class WfTaskProcessor
Parameters:
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.

Supported API: false
Throws:
WTException

getReviewRows

public void getReviewRows(Properties parameters,
                          Locale locale,
                          OutputStream os)
                   throws WTException
Deprecated. 
Outputs a table of reviews for the current task. The first column is the fullname of the principal. The second column contains the role that person plays. The third column contains their vote (yes/no/pending). The fourth column contains the reviewer's comments.

Throws:
WTException

getAllReviewRows

public void getAllReviewRows(Properties parameters,
                             Locale locale,
                             OutputStream os)
                      throws WTException
Deprecated. 
Outputs a table of reviews for the current task. The first column is the fullname of the principal. The second column contains the role that person plays. The third column contains their vote (yes/no/pending). The fourth column contains the reviewer's comments.

Throws:
WTException

getReviewCaptions

public void getReviewCaptions(Properties parameters,
                              Locale locale,
                              OutputStream os)
Deprecated. 
outputs table heading captions for the review table (Reviewer, Role, Approve, Comments)


getRole

public void getRole(Properties parameters,
                    Locale locale,
                    OutputStream os)
             throws WTException
Deprecated. 
outputs the role the user plays for this task

Throws:
WTException

getTask

public void getTask(Properties parameters,
                    Locale locale,
                    OutputStream os)
Deprecated. 
output the current task


promotionCriteria

public void promotionCriteria(Properties parameters,
                              Locale locale,
                              OutputStream os)
                       throws WTException
Deprecated. 
Print the promotion criteria as rows of checkboxes in a table. This method does not print the table tags, it assumes those have been supplied in the html template. If the task is to observe, only the criteria is printed, not the checkboxes.

Parameters:
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.
Throws:
WTException

voteActions

public void voteActions(Properties parameters,
                        Locale locale,
                        OutputStream os)
                 throws WTException
Deprecated. 
Print the possible voting actions as radio button selections. The votes are registered when the TaskComplete button is pressed. Possible actions: Observe: None Review: Approve; Do not approve Promote: Promote; Deny; Demote; Drop

Parameters:
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.
Throws:
WTException

hiddenVoteActions

public void hiddenVoteActions(Properties parameters,
                              Locale locale,
                              OutputStream os)
                       throws WTException
Deprecated. 
Print a hidden field to force the voting action without the user being presented with a choice. This script call can be used instead of voteActions. The following actions will be taken: Observe: None Review: Approve Promote: Promote

Parameters:
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.
Throws:
WTException

enterComments

public void enterComments(Properties parameters,
                          Locale locale,
                          OutputStream os)
                   throws WTException
Deprecated. 
Print the a "Comments" caption & text area for entering comments. If the task is "Observe", nothing is done.

Overrides:
enterComments in class WfTaskProcessor
Parameters:
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.
Throws:
WTException

setLCMObject

public void setLCMObject(LifeCycleManaged lcm)
Deprecated. 

getLCMObject

public LifeCycleManaged getLCMObject()
Deprecated. 

getMessageText

public String getMessageText()
Deprecated. 

setMessageText

public void setMessageText(String messageText)
Deprecated. 

setTask

public void setTask(String task)
Deprecated. 

getTask

public String getTask()
Deprecated. 

setRole

public void setRole(Role role)
Deprecated. 

getRole

public Role getRole()
Deprecated. 

setLangPrefs

public void setLangPrefs(Vector langPrefs)
Deprecated. 

getLangPrefs

public Vector getLangPrefs()
Deprecated. 

getLocale

public Locale getLocale()
Deprecated. 
Derive the locale if not already set. The locale is derived from the browser's language preferences if available, otherwise from WTContext.


setLocale

public void setLocale(Locale locale)
Deprecated. 

taskCompleteButton

public void taskCompleteButton(Properties parameters,
                               Locale locale,
                               OutputStream os)
                        throws WTException
Deprecated. at R5.0 See soloTaskCompleteButton

Generates the appropriate URL (sometimes a form button) to complete the task.

Overrides:
taskCompleteButton in class WfTaskProcessor
Parameters:
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.

Supported API: false
Throws:
WTException
See Also:
beginForm, closeForm, soloTaskCompleteButton, routingChoices

messageText

public void messageText(Properties parameters,
                        Locale locale,
                        OutputStream os)
                 throws WTException
Deprecated. at R5.0

Display a message to the user. This method is only called if something has gone wrong constructing the lifecycle tasks. In particular, if the primary business object has been deleted we have no way to recover. In that case a message is constructed, the task template is changed to WfMessage and information for the user is displayed via this script call.

Overrides:
messageText in class WfTaskProcessor
Parameters:
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.
Throws:
WTException

buildUrl

public static String buildUrl(LifeCycleManaged object,
                              Role role,
                              State state)
                       throws WTException
Deprecated. Since R2

Constructs a URL that links to the Promote, Review, Observe, and Submit windows.

Throws:
WTException - throws WTException if the URL cannot be built

isWorkItemOwner

public boolean isWorkItemOwner()
Deprecated. 
Checks to see if the currently authenticated user owns this workitem. Returns true is so, otherwise it returns false. TIV

Overrides:
isWorkItemOwner in class WfTaskProcessor