|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.enterprise.BasicTemplateProcessor
wt.enterprise.FormProcessor
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.
Field Summary | |
private Class |
contextClass
Deprecated. |
private String |
contextMsg
Deprecated. |
private Properties |
contextProperties
Deprecated. |
static String |
CONTEXTUAL_CLASS
Deprecated. |
static String |
CONTEXTUAL_EXCEPTION
Deprecated. |
static String |
CONTEXTUAL_HEADER
Deprecated. |
static String |
CONTEXTUAL_MESSAGE
Deprecated. |
static String |
CONTEXTUAL_OBJECT
Deprecated. |
static String |
CONTEXTUAL_STATUS
Deprecated. |
private static boolean |
DEBUG
Deprecated. |
static String |
DEFAULT_LIFECYCLE
Deprecated. |
private static String |
FEDERATION_ADMIN_ACTION
Deprecated. |
private static String |
FEDERATION_RESOURCE
Deprecated. |
static String |
FOLDER_INPUT_NAME
Deprecated. |
String |
folderLocation
Deprecated. |
static String |
FORM_CLASS
Deprecated. |
private HTTPRequest |
formHttpRequest
Deprecated. |
static String |
LIFE_CYCLE_INPUT_NAME
Deprecated. |
static String |
NAME_HDR
Deprecated. |
static String |
NAVIGATE_METHOD
Deprecated. |
private static String |
NULL_OPTION
Deprecated. |
private static String |
RESOURCE
Deprecated. |
static String |
RESOURCECLASS_PARAMETER
Deprecated. |
static String |
RESOURCEKEY_PARAMETER
Deprecated. |
static String |
RETURN_TEMPLATE
Deprecated. |
private static ReferenceFactory |
RF
Deprecated. |
static String |
STATUS_FATAL_ERROR
Deprecated. |
static String |
STATUS_OK
Deprecated. |
static String |
STATUS_USER_ERROR
Deprecated. |
static String |
TEAMTEMPLATE_INPUT_NAME
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 | |
FormProcessor()
Deprecated. |
|
FormProcessor(Properties props,
HTTPRequest request)
Deprecated. |
|
FormProcessor(String className)
Deprecated. |
|
FormProcessor(WTObject windchillObj,
HTTPRequest request)
Deprecated. |
Method Summary | |
void |
contextualMessage(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
contextualValue(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
createDirTranslationsTabs(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
createFedAdminBar(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
createIETranslationsTabs(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
currentFolderId(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
currentFolderPath(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
dirTranslations(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
private String |
disabledField(String propertyName,
String propertyValue,
Properties parameters,
Locale locale)
Deprecated. |
void |
displayActionTable(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
displayIESystemType(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
displayIESystemTypeOptions(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
displayInterval(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
displayOption(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
displaySearchScope(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
private String |
encodeHTMLString(String s)
Deprecated. |
void |
enumeratedTypeMenu(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
generateAction(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
generateActionTable(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
static void |
generateForm(HTTPRequest request,
HTTPResponse response)
Deprecated. |
void |
getButtonText(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
Properties |
getContextProperties()
Deprecated. Get the contextual properties of a FormProcessor instance. |
void |
getFormProcessorURL(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
HTMLTemplate |
getTemplate(Vector preferences)
Deprecated. |
void |
getTemplateProcessorURL(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
getWorkingLocationName(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
getWorkingLocationValue(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
handleRequest(HTTPRequest req,
HTTPResponse resp)
Deprecated. The initial method called to initiate template processing, its parameters give access to the HTML request and response. |
void |
holderUploadTable(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
IETranslations(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
insertDirTranslationTableCheck(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
insertIETranslationTableCheck(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
static void |
invokeAction(HTTPRequest request,
HTTPResponse response)
Deprecated. |
void |
listDirectoryServices(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
listDirTranslationTables(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
listIETranslationTables(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
listInfoEngineServices(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
listLifeCycles(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
listTeamTemplates(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
static void |
navigateFolders(HTTPRequest request,
HTTPResponse response)
Deprecated. |
static void |
navigateFolders(HTTPRequest request,
HTTPResponse response,
InputStream is)
Deprecated. |
protected Method |
obtainFromCovertProperty(PropertyDescriptor pd)
Deprecated. |
void |
orgDependentField(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. Outputs an input field for 'propertyName' (propertyName=Number by default), that depends on the specification of an organization, 'orgPropertyName' (orgPropertyName=Organization by default) such that the field for 'propertyName' is enabled (as a text input) only if auto-numbering for the target object type is disabled with respect to the specified organization, and disabled (as a hidden field with a string label) otherwise. |
void |
parentFolderPath(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
parseServiceURL(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
static void |
processForm(HTTPRequest request,
HTTPResponse response)
Deprecated. |
static void |
processForm(HTTPRequest request,
HTTPResponse response,
InputStream is)
Deprecated. |
void |
selectFolderMenu(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
serviceLink(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
setContextProperties(Properties props)
Deprecated. |
private String |
textField(String propertyName,
String propertyValue,
Properties parameters,
Locale locale)
Deprecated. |
void |
updateDirTranslationsTabs(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
updateIETranslationsTabs(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
uploadPrimary(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
viewDirTranslationsTabs(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
void |
viewIETranslationsTabs(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
String |
wrapText(String text,
String separators,
int maxLength)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static boolean DEBUG
private static final String FEDERATION_RESOURCE
private static final String FEDERATION_ADMIN_ACTION
private static final String NULL_OPTION
private Class contextClass
private String contextMsg
private Properties contextProperties
private HTTPRequest formHttpRequest
private static final ReferenceFactory RF
public static final String CONTEXTUAL_HEADER
public static final String CONTEXTUAL_MESSAGE
public static final String CONTEXTUAL_OBJECT
public static final String CONTEXTUAL_CLASS
public static final String RETURN_TEMPLATE
public static final String CONTEXTUAL_STATUS
public static final String CONTEXTUAL_EXCEPTION
public static final String STATUS_OK
public static final String STATUS_USER_ERROR
public static final String STATUS_FATAL_ERROR
public static final String LIFE_CYCLE_INPUT_NAME
public static final String TEAMTEMPLATE_INPUT_NAME
public static final String FOLDER_INPUT_NAME
public static final String FORM_CLASS
public static final String NAVIGATE_METHOD
public static final String NAME_HDR
public static final String RESOURCECLASS_PARAMETER
public static final String RESOURCEKEY_PARAMETER
public static String DEFAULT_LIFECYCLE
public String folderLocation
constructor
,
method
Constructor Detail |
public FormProcessor()
public FormProcessor(String className) throws ClassNotFoundException
public FormProcessor(Properties props, HTTPRequest request) throws ClassNotFoundException, WTException, PropertyVetoException
public FormProcessor(WTObject windchillObj, HTTPRequest request) throws ClassNotFoundException, WTException, PropertyVetoException
Method Detail |
public Properties getContextProperties()
getContextProperties
in interface ContextHolder
getContextProperties
in class BasicTemplateProcessor
public void setContextProperties(Properties props)
setContextProperties
in interface ContextHolder
setContextProperties
in class BasicTemplateProcessor
props
- public static void processForm(HTTPRequest request, HTTPResponse response, InputStream is) throws Exception
Exception
public static void processForm(HTTPRequest request, HTTPResponse response) throws Exception
Exception
public static void navigateFolders(HTTPRequest request, HTTPResponse response, InputStream is) throws WTException, PropertyVetoException, IOException, ClassNotFoundException
WTException
PropertyVetoException
IOException
ClassNotFoundException
public static void navigateFolders(HTTPRequest request, HTTPResponse response) throws WTException, IOException, PropertyVetoException, ClassNotFoundException
WTException
IOException
PropertyVetoException
ClassNotFoundException
public static void generateForm(HTTPRequest request, HTTPResponse response) throws WTException, PropertyVetoException, IOException, InvocationTargetException, IllegalAccessException, ClassNotFoundException
WTException
PropertyVetoException
IOException
InvocationTargetException
IllegalAccessException
ClassNotFoundException
public static void invokeAction(HTTPRequest request, HTTPResponse response) throws Exception
Exception
public void contextualValue(Properties parameters, Locale locale, OutputStream os) throws WTException, InvocationTargetException, IllegalAccessException, ClassNotFoundException, InstantiationException
WTException
InvocationTargetException
IllegalAccessException
ClassNotFoundException
InstantiationException
public void enumeratedTypeMenu(Properties parameters, Locale locale, OutputStream os) throws WTException, InvocationTargetException, IllegalAccessException, ClassNotFoundException, InstantiationException
WTException
InvocationTargetException
IllegalAccessException
ClassNotFoundException
InstantiationException
public void listLifeCycles(Properties parameters, Locale locale, OutputStream os) throws WTException, InvocationTargetException, IllegalAccessException, ClassNotFoundException, InstantiationException
WTException
InvocationTargetException
IllegalAccessException
ClassNotFoundException
InstantiationException
public void listTeamTemplates(Properties parameters, Locale locale, OutputStream os) throws WTException, InvocationTargetException, IllegalAccessException, ClassNotFoundException, InstantiationException
WTException
InvocationTargetException
IllegalAccessException
ClassNotFoundException
InstantiationException
public void selectFolderMenu(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void parentFolderPath(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void currentFolderPath(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void currentFolderId(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void holderUploadTable(Properties parameters, Locale locale, OutputStream os) throws WTException, IOException
WTException
IOException
public void uploadPrimary(Properties parameters, Locale locale, OutputStream os) throws WTException, IOException
WTException
IOException
public void generateAction(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void handleRequest(HTTPRequest req, HTTPResponse resp) throws WTException
TemplateProcessor
req
- resp
-
WTException
public HTMLTemplate getTemplate(Vector preferences) throws WTException
WTException
protected Method obtainFromCovertProperty(PropertyDescriptor pd)
public void getWorkingLocationName(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void getWorkingLocationValue(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void getButtonText(Properties parameters, Locale locale, OutputStream os) throws WTException, IOException
WTException
IOException
public void contextualMessage(Properties parameters, Locale locale, OutputStream os) throws WTException
It is expected that this method will be invoked as a result of an contextualMessage script call in an HTML template file. The format of contextualMessage script calls is:
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.
WTException
public void getFormProcessorURL(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void getTemplateProcessorURL(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void createFedAdminBar(Properties parameters, Locale locale, OutputStream os) throws WTException
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.
WTException
public void displayActionTable(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void displayIESystemType(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void displayIESystemTypeOptions(Properties parameters, Locale locale, OutputStream os) throws WTException, InvocationTargetException, IllegalAccessException, ClassNotFoundException, InstantiationException
WTException
InvocationTargetException
IllegalAccessException
ClassNotFoundException
InstantiationException
public void displayInterval(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void displayOption(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void displaySearchScope(Properties parameters, Locale locale, OutputStream os) throws WTException, InvocationTargetException, IllegalAccessException, ClassNotFoundException, InstantiationException
WTException
InvocationTargetException
IllegalAccessException
ClassNotFoundException
InstantiationException
public void generateActionTable(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void parseServiceURL(Properties parameters, Locale locale, OutputStream os) throws WTException, InvocationTargetException, IllegalAccessException, ClassNotFoundException, InstantiationException
WTException
InvocationTargetException
IllegalAccessException
ClassNotFoundException
InstantiationException
public void serviceLink(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public String wrapText(String text, String separators, int maxLength)
public void listDirectoryServices(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void listInfoEngineServices(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void dirTranslations(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void listDirTranslationTables(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void createDirTranslationsTabs(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void updateDirTranslationsTabs(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void viewDirTranslationsTabs(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void IETranslations(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void listIETranslationTables(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void createIETranslationsTabs(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void updateIETranslationsTabs(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
public void viewIETranslationsTabs(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
private String encodeHTMLString(String s)
public void insertDirTranslationTableCheck(Properties parameters, Locale locale, OutputStream os) throws WTException, InvocationTargetException, IllegalAccessException, ClassNotFoundException, InstantiationException
WTException
InvocationTargetException
IllegalAccessException
ClassNotFoundException
InstantiationException
public void insertIETranslationTableCheck(Properties parameters, Locale locale, OutputStream os) throws WTException, InvocationTargetException, IllegalAccessException, ClassNotFoundException, InstantiationException
WTException
InvocationTargetException
IllegalAccessException
ClassNotFoundException
InstantiationException
public void orgDependentField(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
private String disabledField(String propertyName, String propertyValue, Properties parameters, Locale locale) throws WTException
WTException
private String textField(String propertyName, String propertyValue, Properties parameters, Locale locale) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |