Package wt.enterprise

Class PartReferencesProcessor

java.lang.Object
wt.enterprise.BasicTemplateProcessor
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:
  • Method Details

    • 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=ObjPropsinvalid input: '&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