wt.enterprise
Class PartReferencesProcessor

java.lang.Object
  extended by wt.enterprise.BasicTemplateProcessor
      extended by wt.enterprise.PartReferencesProcessor
All Implemented Interfaces:
Externalizable, Serializable, TemplateProcessor, ContextHolder, ContextTranslator, Evolvable

public class PartReferencesProcessor
extends BasicTemplateProcessor

This class provides methods to process URLs and determine the action to be taken via the arguments of the URL.

The arguments to the URL are an "action" and an "oid". The method specified in the URL will use the arguments and possibly an application context service (wt.services.applicationcontext.*) to determine what to do next.

Generally this class will not be used directly, but instead will be instantiated via the TemplateProcessor.objectActionLink() method.

Supported API: true

Extendable: false

See Also:
TemplateProcessor, Serialized Form

Field Summary
 
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
static void getPartReferencesTable(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.
 void partReferencesTable(Properties parameters, Locale locale, OutputStream os)
          

Supported API: true

Extendable: false
 
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

getPartReferencesTable

public static void getPartReferencesTable(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.

Example:
http://kozak.windchill.com/wtcgi/wtcgi.exe/wt.enterprise.PartReferencesProcessor/getPartReferencesTable?action=ObjProps&oid=wt.part.WTPart%3A4002


Supported API: true

Extendable: false

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

partReferencesTable

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


Supported API: true

Extendable: false

Throws:
WTException