wt.enterprise
Class PartESIProcessor

java.lang.Object
  extended bywt.enterprise.BasicTemplateProcessor
      extended bywt.templateutil.processor.DefaultTemplateProcessor
          extended bywt.templateutil.processor.GenerateFormProcessor
              extended bycom.ptc.core.HTMLtemplateutil.server.processors.WizardProcessor
                  extended bywt.enterprise.PartESIProcessor
All Implemented Interfaces:
ContextHolder, ContextTranslator, Evolvable, Externalizable, Serializable, TemplateProcessor

public class PartESIProcessor
extends WizardProcessor

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. This processor includes methods that can be called to generate the HTML for uniform-width borders and panels with rounded corners. Three styleclass values are expected for the rounded corner components: the styleclass of the outside or border color (outerClass), the styleclass of the line which edges the rounded-corner panel (edgeClass) and the styleclass of the panel color (innerClass).

Supported API: false

Extendable: false

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.ptc.core.HTMLtemplateutil.server.processors.WizardProcessor
 
Field Summary
private static String CLASSNAME
           
private static String CODEBASE
           
private static String DCAESITARGETS
           
private static int PAGE_EXPIRATION
           
private static String RESOURCE
           
private static boolean VERBOSE
           
 
Fields inherited from class com.ptc.core.HTMLtemplateutil.server.processors.WizardProcessor
DEBUG, DEFAULT_FLOAT_INPUT_FIELD_LENGTH, DEFAULT_INTEGER_INPUT_FIELD_LENGTH, DEFAULT_STRING_INPUT_FIELD_LENGTH, DEFAULT_TIMESTAMP_INPUT_FIELD_LENGTH, EXTERNALIZATION_VERSION_UID, FOLDER_LOCATION, FOLDER_PICKER, IMAGE_DIR, MAXIMUM_STRING_INPUT_FIELD_LENGTH, NMOID_STRINGS, OBJECT_REF_STRINGS, OLD_FORMAT_VERSION_UID, SELECT_FOLDER
 
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
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
PartESIProcessor()
           
 
Method Summary
 void esiDistributionList(Properties parameters, Locale locale, OutputStream os)
          Generates the form which supports setting a configuration specification.
static void getPartDistributionListTable(HTTPRequest req, HTTPResponse resp)
          Given an "action" and "oid" uses an application context service to determine a template processor to apply to the object specified by the oid.
 HTMLTemplate getTemplate(Vector preferences, HTTPRequest req)
          

Supported API: false

Extendable: false
 void handleRequest(HTTPRequest req, HTTPResponse resp)
          

Supported API: false

Extendable: false
 void partDistributionListTable(Properties parameters, Locale locale, OutputStream os)
          

Supported API: true

Extendable: false
 
Methods inherited from class com.ptc.core.HTMLtemplateutil.server.processors.WizardProcessor
borderSpacer, createAttributeTooltip, displayOrganizationPicker, folderLocationDropdown, folderLocationRadioButtons, folderLocationRadioButtons, getAttributeInputField, getBodyHeight, getButtons, getDefaultButtonForSelectAttribute, getDefaultButtonForTextAttribute, getFootnote, getFormValue, getHelpButton, getIntroText, getOrganizationFromRule, getParameterValue, getRefreshJavaScript, getSoftAttributesEditFields, getSoftAttributesEditFields, getSoftAttributesEditFields, getSoftAttributesEditTable, getSoftAttributesEditTableForCreate, getSoftAttributesEditTableForCreateOrUpdate, getSoftAttributesEditTableForUpdate, getSpacerGifURL, getSpacerGifURL, getTabs, getTitle, getTutorialButton, getURLProcessorLinkForObj, getWizardObjectIcon, isOrganizationRequired, launchSearchScript, printButton, readExternal, readVersion, roundedCornerBottom, roundedCornerBottomEdge, roundedCornerBottomLeft, roundedCornerBottomRight, roundedCornerLeft, roundedCornerLeftEdge, roundedCornerRight, roundedCornerRightEdge, roundedCornerSpacer, roundedCornerTop, roundedCornerTopEdge, roundedCornerTopLeft, roundedCornerTopRight, writeExternal
 
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, 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

CODEBASE

private static String CODEBASE

VERBOSE

private static boolean VERBOSE

PAGE_EXPIRATION

private static int PAGE_EXPIRATION

DCAESITARGETS

private static final String DCAESITARGETS
See Also:
Constant Field Values

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

PartESIProcessor

public PartESIProcessor()
Method Detail

getPartDistributionListTable

public static void getPartDistributionListTable(HTTPRequest req,
                                                HTTPResponse resp)
                                         throws WTException
Given an "action" and "oid" uses an application context service to determine a template processor to apply to the object specified by the oid.



Supported API: true

Extendable: false

Parameters:
req - The HTTPRequest.
resp - The HTTPResponse
Throws:
WTException

handleRequest

public void handleRequest(HTTPRequest req,
                          HTTPResponse resp)
                   throws WTException


Supported API: false

Extendable: false

Specified by:
handleRequest in interface TemplateProcessor
Overrides:
handleRequest in class GenerateFormProcessor
Throws:
WTException

getTemplate

public HTMLTemplate getTemplate(Vector preferences,
                                HTTPRequest req)
                         throws WTException


Supported API: false

Extendable: false

Throws:
WTException

partDistributionListTable

public void partDistributionListTable(Properties parameters,
                                      Locale locale,
                                      OutputStream os)
                               throws WTException


Supported API: true

Extendable: false

Throws:
WTException

esiDistributionList

public void esiDistributionList(Properties parameters,
                                Locale locale,
                                OutputStream os)
                         throws WTException,
                                IOException
Generates the form which supports setting a configuration specification. Parameter values used in building the form are retrieved from both the query string and the form data of the given HTTPRequest. This method looks for the following values: class - used by form processor and template processor for determining which HTML page to display form - the HTML template form to process for displaying this form return_action - the action to be used after the form has been submitted return_template - the template to be processed after the form has been submitted. return_template_processor - the template processor to be used after the form has been submitted--this is optional. return_oid - the oid of the object to be the context object after the form has been submitted. config_spec - the configuration specification

Throws:
WTException
IOException