wt.change2.htmlclient
Class ChangeInvestigationProcessor

java.lang.Object
  extended by wt.enterprise.BasicTemplateProcessor
      extended by wt.templateutil.processor.DefaultTemplateProcessor
          extended by wt.templateutil.processor.GenerateFormProcessor
              extended by wt.change2.htmlclient.ChangeManagementFormProcessor
                  extended by wt.change2.htmlclient.DefaultChangeTaskProcessor
                      extended by wt.change2.htmlclient.ChangeAnalysisProcessor
                          extended by wt.change2.htmlclient.ChangeInvestigationProcessor
All Implemented Interfaces:
Externalizable, Serializable, TemplateProcessor, ContextHolder, ContextTranslator, Evolvable

Deprecated. 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 on a JSP framework in an upcoming release.

public class ChangeInvestigationProcessor
extends ChangeAnalysisProcessor
implements Externalizable



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
 
Fields inherited from class wt.change2.htmlclient.DefaultChangeTaskProcessor
ANALYSIS_ACTIVITY_SECTION_ACTION, ASSOCIATED_WF_PROCESS_ACTION, CHANGE_ACTIVITY_SECTION_ACTION, CHANGE_OBJECT_CREATE_ACTION, CHANGE_OBJECT_DELETE_ACTION, CHANGE_OBJECT_UPDATE_ACTION, CHANGE_OBJECT_VIEW_ACTION, EFFECTIVITY_ACTION, INVESTIGATE_SECTION_ACTION, ORDER_SECTION_ACTION, PROPOSE_SECTION_ACTION, VIEW_EFFECTIVITY_ACTION
 
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
 
Method Summary
protected  boolean checkAllowNewInvestigation(Class investigationClass)
          Deprecated.  
protected  boolean checkNoExistingInvestigation()
          Deprecated.  
 void displayChangeInvestigationTable(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void displayCreateNewObject(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void getNewInvestigationLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
protected  void initializeInvestigationQR()
          Deprecated.  
 
Methods inherited from class wt.change2.htmlclient.ChangeAnalysisProcessor
checkAllowNewAnalysisActivity, displayAnalysisActivityTable, getNewAnalysisActivityLink
 
Methods inherited from class wt.change2.htmlclient.DefaultChangeTaskProcessor
checkNoCurrentAuthorMode, checkObjectCreateAccess, displayAnalysisActivitySection, displayChangeActivitySection, displayChangeInvestigationSection, displayChangeOrderSection, displayChangeProposalSection, displayChangeRequestSection, getAcceptLink, getAddChangeablesLink, getAddEffectivityLink, getAddToProjectLink, getCancelLink, getClassParameter, getContextActionLink, getContextOid, getCopyLink, getDateWithoutTime, getDeleteLink, getESIChangeLink, getForumLink, getHiddenFieldHTML, getImage, getJavascriptNewObjectLink, getLocalizedStringFromParameters, getNewObjectLink, getNewWindowActionLink, getResourceKeyParameter, getScrollToAnchor, getSignatureLink, getStateLink, getStringParameter, getSubmitCheckBox, getSubmitLink, getSubscriptionLink, getTaskDelegateLink, getUpdateLink, getViewEffectivityLink, initializeContext, initiateExpandableTable, initiateSection, outputHiddenField, setHtmlClientState, showErrorMessages, updateChangeAttachmentsTable
 
Methods inherited from class wt.change2.htmlclient.ChangeManagementFormProcessor
createFormConstruct, displayChangeTask, pageTitle
 
Methods inherited from class wt.templateutil.processor.GenerateFormProcessor
listLifeCycles
 
Methods inherited from class wt.templateutil.processor.DefaultTemplateProcessor
displayAttributeLabel, displayAttributeVal, getAttributes, getContextPropertyValue, getHtmlTemplateFactory, getPAGE_EXPIRATION, getPageExpirationResource, getTemplate, setContextPropertyValue, setNameProcessor, setPAGE_EXPIRATION, setPageExpirationResource
 
Methods inherited from class wt.enterprise.BasicTemplateProcessor
addHTMLHelpLink, addToResponseExceptions, addToResponseFooters, addToResponseHeaders, addToResponseMessages, createActionsBar, createGlobalNavigationBar, createNavigationBar, currentTimestamp, getContextAction, getContextClassName, getContextListIn, getContextListOut, getContextObj, getContextProperties, getEncoding, getFormData, getHTMLHelpURL, getHTMLTableService, getLocalizedPrintWriter, getObjectIcon, getPrintWriter, getQueryData, getResourceString, getResponseExceptions, getResponseFooters, getResponseHeaders, getResponseMessages, getResponseString, getStatus, getURLProcessorLink, getWCColor, getWCColor, getWCColorDec, getWCFontFamily, getWCFontFamily, objectActionLink, objectBackground, objectIdentification, objectPropertyName, objectPropertyValue, processSubTemplate, setContextAction, setContextClassName, setContextListIn, setContextListOut, setContextObj, setContextProperties, setFormData, setQueryData, setResponseExceptions, setResponseFooters, setResponseHeaders, setResponseMessages, setResponseString, setStatus, showResponseExceptions, tableService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

displayChangeInvestigationTable

public void displayChangeInvestigationTable(Properties parameters,
                                            Locale locale,
                                            OutputStream os)
                                     throws WTException
Deprecated. 

(Windchill Script method) Insert a table of change investigation objects which can be individually expanded to show more detail.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getNewInvestigationLink

public void getNewInvestigationLink(Properties parameters,
                                    Locale locale,
                                    OutputStream os)
                             throws WTException
Deprecated. 

(Windchill Script method) Insert a "New Investigation Link" if appropriate. This method calls checkAllowNewInvestigation to determine if it is appropriate to insert the link.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

checkAllowNewInvestigation

protected boolean checkAllowNewInvestigation(Class investigationClass)
                                      throws WTException
Deprecated. 

Utility method to check if creating a new Change Investigation is allowed given the current state of the user interface.

Supported API: true

Parameters:
investigationClass -
Returns:
boolean
Throws:
WTException

initializeInvestigationQR

protected void initializeInvestigationQR()
                                  throws WTException
Deprecated. 

Utility method to query for Change Investigation and set a class variable with the resulting Query Result.

Supported API: true

Throws:
WTException

checkNoExistingInvestigation

protected boolean checkNoExistingInvestigation()
                                        throws WTException
Deprecated. 

Utility method to check if there are any existing Change Investigation objects.

Supported API: true

Returns:
boolean
Throws:
WTException

displayCreateNewObject

public void displayCreateNewObject(Properties parameters,
                                   Locale locale,
                                   OutputStream os)
                            throws WTException
Deprecated. 

(Windchill Script method) If the "New" link was clicked for the class matching the "class" parameter, this script method will insert a editable form for creating a new object if all conditions are met. This method overrides the method in the parent class. A check is done to verify that a change investigation does not currently exist for the change request. If this is the case a the superclass method is called and a create form is generated and displayed, otherwise this will be skipped. This was implemented to solve the problem of using the back button which redisplayed the create form even though a change investigation exists.

Supported API: true

Overrides:
displayCreateNewObject in class DefaultChangeTaskProcessor
Parameters:
parameters -
locale -
os -
Throws:
WTException