|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.enterprise.BasicTemplateProcessor
wt.enterprise.ObjectPropertiesProcessor
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 object properties template processors.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CODEBASE
Deprecated. |
private String |
displayChangeTable
Deprecated. |
private String |
pOID
Deprecated. |
private static WTProperties |
properties
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 | |
ObjectPropertiesProcessor()
Deprecated. |
Method Summary | |
void |
getOwnerForPersonalCabinet(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
HTMLTemplate |
getTemplate(Vector preferences)
Deprecated. |
private HTMLTemplate |
getTemplate(Vector preferences,
String templateName)
Deprecated. |
void |
handleIncludeRequest(Properties params,
Locale locale,
OutputStream os,
Object contextObject,
String templateName)
Deprecated. Supported API: false |
void |
handleRequest(HTTPRequest req,
HTTPResponse resp)
Deprecated. |
void |
objectChangeAction(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
objectPropertyTR(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
protected static String |
retrieveContextClass(Properties props)
Deprecated. Attempt to retrieve a "class" from the given parameters. |
void |
showSubTemplate(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static WTProperties properties
private static String CODEBASE
private static boolean VERBOSE
private static final String RESOURCE
private String displayChangeTable
private String pOID
Constructor Detail |
public ObjectPropertiesProcessor()
Method Detail |
public void handleRequest(HTTPRequest req, HTTPResponse resp) throws WTException
It is expected that this method will be called via the URLProcessor which would have been invoked via a URL created using an objectActionLink (defined by the BasicTemplateProcessor class) script call within an HTML template file.
The format of the HTML that is output is determined by an HTML template file. The template that is used is chosen from the templates directory based on the class of the contextual object, the locale and the parameters passed to the objectProperties call. The template file is chosen using the ObjectPropertiesTemplateFactory.
Supported API: false
req
- HTTPRequestresp
- HTTPResponse
WTException
URLProcessor
,
ObjectPropertiesTemplateFactory
protected static String retrieveContextClass(Properties props)
public void handleIncludeRequest(Properties params, Locale locale, OutputStream os, Object contextObject, String templateName) throws WTException
WTException
public HTMLTemplate getTemplate(Vector preferences) throws WTException
WTException
private HTMLTemplate getTemplate(Vector preferences, String templateName) throws WTException
WTException
public void objectPropertyTR(Properties parameters, Locale locale, OutputStream os) throws IllegalAccessException, InvocationTargetException, WTIntrospectionException, WTException
It is expected that this method will be invoked as a result of an objectPropertyTR script call in an HTML template file. The format of objectPropertyTR script calls is:
The format of the HTML that is output is dependent on the type of the property value. No HTML formatting is output.
Supported API: false
parameters
- The arguments that were passed to the Windchill script call.locale
- The Locale to send to the invoked methods for localization.os
- The output stream.
IllegalAccessException
InvocationTargetException
WTIntrospectionException
WTException
public void objectChangeAction(Properties parameters, Locale locale, OutputStream os) throws IllegalAccessException, InvocationTargetException, WTIntrospectionException, WTException
It is expected that this method will be invoked as a result of an objectChangeAction script call in an HTML template file. The format of objectChangeAction script calls is:
The format of the HTML that is output is dependent on the type of the property value. No HTML formatting is output.
Supported API: false
parameters
- The arguments that were passed to the Windchill script call.locale
- The Locale to send to the invoked methods for localization.os
- The output stream.
IllegalAccessException
InvocationTargetException
WTIntrospectionException
WTException
public void showSubTemplate(Properties parameters, Locale locale, OutputStream os)
public void getOwnerForPersonalCabinet(Properties parameters, Locale locale, OutputStream os) throws Exception
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |