wt.enterprise
Class ReferencedByProcessor

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

public class ReferencedByProcessor
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 getReferencedByTable(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.
 
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

getReferencedByTable

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