|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.enterprise.BasicTemplateProcessor
wt.enterprise.PartUsedByProcessor
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 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: false
Extendable: false
TemplateProcessor
,
Serialized FormField Summary | |
private static String |
CODEBASE
Deprecated. |
private static int |
PAGE_EXPIRATION
Deprecated. |
private static String |
RESOURCE
Deprecated. |
private static boolean |
VERBOSE
Deprecated. |
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 | |
PartUsedByProcessor()
Deprecated. |
Method Summary | |
String |
addLink(WTPart usedBy)
Deprecated. Get an HTML link to the usedBy. |
static void |
getPartUsedByTable(HTTPRequest req,
HTTPResponse resp)
Deprecated. |
HTMLTemplate |
getTemplate(Vector preferences)
Deprecated. Returns the initialized template templates/objectProperties/PartUsedByTable. |
void |
handleRequest(HTTPRequest req,
HTTPResponse resp)
Deprecated. 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 |
partUsedByTable(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
printTableRow(WTPart usedBy,
PrintWriter out,
Locale locale)
Deprecated. Prints a row based on the usedBy. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static String CODEBASE
private static boolean VERBOSE
private static int PAGE_EXPIRATION
private static final String RESOURCE
Constructor Detail |
public PartUsedByProcessor()
Method Detail |
public static void getPartUsedByTable(HTTPRequest req, HTTPResponse resp) throws WTException
req
- The HTTPRequest.resp
- The HTTPResponse
WTException
public void handleRequest(HTTPRequest req, HTTPResponse resp) throws WTException
Supported API: false
Extendable: false
req
- The HTTPRequest.resp
- The HTTPResponse
WTException
public HTMLTemplate getTemplate(Vector preferences) throws WTException
Supported API: false
Extendable: false
preferences
- A Vector of preferences used to initialize the template.
WTException
public void partUsedByTable(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void printTableRow(WTPart usedBy, PrintWriter out, Locale locale) throws WTException
Supported API: false
Extendable: false
usedBy
- The WTPartout
- The PrintWriterlocale
- The Locale
WTException
public String addLink(WTPart usedBy)
Supported API: false
Extendable: false
usedBy
- The WTPart
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |