wt.change2.htmlclient
Class ChangeOrderProcessor

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

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 ChangeOrderProcessor
extends DefaultChangeTaskProcessor
implements Externalizable



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
private static String ADD_ORDER_EFF_ACTION
          Deprecated.  
private static String CLASSNAME
          Deprecated.  
static long EXTERNALIZATION_VERSION_UID
          Deprecated.  
protected static long OLD_FORMAT_VERSION_UID
          Deprecated.  
private static String RESOURCE
          Deprecated.  
(package private) static long serialVersionUID
          Deprecated.  
private static String VIEW_ORDER_EFF_ACTION
          Deprecated.  
 
Fields inherited from class wt.change2.htmlclient.DefaultChangeTaskProcessor
ALTKEY_PARAMETER, ANALYSIS_ACTIVITY_SECTION_ACTION, ASSOCIATED_WF_PROCESS_ACTION, CHANGE_ACTIVITY_SECTION_ACTION, CHANGE_MANAGEMENT_CREATE_URL_ACTION, CHANGE_OBJECT_CREATE_ACTION, CHANGE_OBJECT_DELETE_ACTION, CHANGE_OBJECT_UPDATE_ACTION, CHANGE_OBJECT_VIEW_ACTION, CLASS_PARAMETER, COLLAPSE_GIF, CREATE_CLASS, CREATE_PARENT, EFFECTIVITY_ACTION, ERROR_MESSAGE, EXPAND, EXPAND_GIF, IMG_PARAMETER, INVESTIGATE_SECTION_ACTION, LOCATION_OVERRIDE, LOCATION_OVERRIDE_USEDEFAULT, ORDER_SECTION_ACTION, PROPOSE_SECTION_ACTION, RESOURCECLASS_PARAMETER, RESOURCEKEY_PARAMETER, RESULTS_WINDOW, SUBMIT_ACTION, TOGGLE, UPDATE, UPDATE_TASK_ACTION, VERBOSE, VIEW_EFFECTIVITY_ACTION
 
Fields inherited from class wt.change2.htmlclient.ChangeManagementFormProcessor
 
Fields inherited from class wt.templateutil.processor.GenerateFormProcessor
DEFAULT_LIFECYCLE, ON_CHANGE_EVENT_NAME, TEAMTEMPLATE_INPUT_NAME
 
Fields inherited from class wt.templateutil.processor.DefaultTemplateProcessor
CLASS, CODEBASE, LINE_FEED_DELIMITER, MESSAGE_SEPARATOR
 
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
ChangeOrderProcessor()
          Deprecated.  
 
Method Summary
protected  boolean checkAllowNewChangeActivity(Class changeActivityClass)
          Deprecated.  
protected  boolean checkAllowNewOrder(Class orderClass)
          Deprecated.  
 void displayChangeActivityTable(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void displayChangeOrderTable(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void getAddEffectivityLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void getNewChangeActivityLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void getNewOrderLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void getViewEffectivityLink(Properties parameters, Locale locale, OutputStream os)
          Deprecated.  
 void readExternal(ObjectInput input)
          Deprecated.  
private  boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Deprecated. Reads the non-transient fields of this class from an external source, which is not the current version.
protected  boolean readVersion(ChangeOrderProcessor thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Deprecated.  
 void writeExternal(ObjectOutput output)
          Deprecated.  
 
Methods inherited from class wt.change2.htmlclient.DefaultChangeTaskProcessor
checkNoCurrentAuthorMode, checkObjectCreateAccess, contextualLocation, createShareStatusTable, displayAnalysisActivitySection, displayChangeActivitySection, displayChangeInvestigationSection, displayChangeOrderSection, displayChangeProposalSection, displayChangeRequestSection, displayCreateNewObject, displayLocationField, getAcceptLink, getAddChangeablesLink, getAddToProjectLink, getCancelLink, getClassParameter, getContextActionLink, getContextOid, getCopyLink, getCreateParent, getCurrentContextString, getDateWithoutTime, getDeleteLink, getESIChangeLink, getForumLink, getHiddenFieldHTML, getImage, getImageWithLocalizedAlt, getJavascriptNewObjectLink, getLocalizedStringFromParameters, getNewObjectLink, getNewWindowActionLink, getResourceKeyParameter, getScrollToAnchor, getSignatureLink, getStateLink, getStringParameter, getSubmitCheckBox, getSubmitCheckBox, getSubmitLink, getSubmitLink, getSubscriptionLink, getTaskDelegateLink, getUpdateLink, initializeContext, initiateExpandableTable, initiateSection, outputHiddenField, readVersion, setContextObjToChangeInvestigation, setHtmlClientState, showErrorMessages, updateChangeAttachmentsTable
 
Methods inherited from class wt.change2.htmlclient.ChangeManagementFormProcessor
contextualValue, createFormConstruct, displayChangeTask, escapeSymbol, pageTitle, readVersion
 
Methods inherited from class wt.templateutil.processor.GenerateFormProcessor
addHiddenProperties, changedContextualValue, 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, readContext, 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

RESOURCE

private static final String RESOURCE
Deprecated. 
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Deprecated. 

serialVersionUID

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

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
Deprecated. 
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
Deprecated. 
See Also:
Constant Field Values

ADD_ORDER_EFF_ACTION

private static final String ADD_ORDER_EFF_ACTION
Deprecated. 
See Also:
Constant Field Values

VIEW_ORDER_EFF_ACTION

private static final String VIEW_ORDER_EFF_ACTION
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

ChangeOrderProcessor

public ChangeOrderProcessor()
Deprecated. 
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Deprecated.  

Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class DefaultChangeTaskProcessor
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Deprecated.  

Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class DefaultChangeTaskProcessor
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(ChangeOrderProcessor thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Deprecated.  

Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Deprecated. 
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

displayChangeOrderTable

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

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

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

getNewOrderLink

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

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

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

displayChangeActivityTable

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

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

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

checkAllowNewOrder

protected boolean checkAllowNewOrder(Class orderClass)
                              throws WTException
Deprecated.  

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

Supported API: true

Parameters:
orderClass -
Returns:
boolean
Throws:
WTException

getNewChangeActivityLink

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

(Windchill Script method) Insert a "New Change Activity" link if appropriate. This method calls checkAllowNewChangeActivity to determine if it is appropriate to insert the link.

Supported API: true

Parameters:
parameters -
locale -
os -
Throws:
WTException

checkAllowNewChangeActivity

protected boolean checkAllowNewChangeActivity(Class changeActivityClass)
                                       throws WTException
Deprecated.  

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

Supported API: true

Parameters:
changeActivityClass -
Returns:
boolean
Throws:
WTException

getAddEffectivityLink

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

(Windchill script method) Generate an HTML link to launch the UI to set effectivity from the current context object. This link invokes the refreshForm Javascript method, passing in the context action defined as the static variable CHANGE_OBJECT_VIEW_ACTION. The refreshForm Javascript method submits the form.

Supported API: true

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

getViewEffectivityLink

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

(Windchill script method) Generate an HTML link to launch the UI to view effectivity from the current context object.

Supported API: true

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