|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.enterprise.BasicTemplateProcessor
wt.templateutil.processor.DefaultTemplateProcessor
wt.templateutil.processor.GenerateFormProcessor
wt.workflow.WorkflowProcessor
wt.workflow.TableTemplateProcessor
wt.workflow.work.AssociatedProcessProcessor
Class AssociatedProcessProcessor
creates an html page
displaying attributes of the workflow processes associated with the
business object specified by the OID parameter of the URL.
AssociatedProcessOwner
,
wt.workflow.work.ProcessName
,
wt.workflow.work.ProcessState
,
wt.workflow.work.ProcessLoadAction
,
Supported API: false
Extendable: true
,
Serialized FormField Summary | |
protected static String |
CODEBASE
|
private static ResourceBundle |
rb
|
private static String |
RESOURCE
Resources for localizing message text |
private static boolean |
VERBOSE
|
Fields inherited from class wt.workflow.TableTemplateProcessor |
COLUMN_DEFINITION, GROUPBY_SELECTOR, LOCALE, MODEL, NO_GROUPKEY, NO_SORTKEY, sortableAttributes, SORTBY_SELECTOR |
Fields inherited from class wt.workflow.WorkflowProcessor |
fontHeader, t1bgcolhead, t1bgevenrow, t1fcolhead, TABLE_ATTRIBUTES, TABLE_DATA_ATTRIBUTES, TABLE_DATA_FONT, TABLE_DATA_ODD_ATTRIBUTES, TABLE_HEAD_ATTRIBUTES, TABLE_HEAD_FONT, tableEvenRow, tableHeader, tableOddRow |
Fields inherited from class wt.templateutil.processor.GenerateFormProcessor |
DEFAULT_LIFECYCLE, EXTERNALIZATION_VERSION_UID, OLD_FORMAT_VERSION_UID, ON_CHANGE_EVENT_NAME, TEAMTEMPLATE_INPUT_NAME |
Fields inherited from class wt.templateutil.processor.DefaultTemplateProcessor |
ACTION, CLASS, LINE_FEED_DELIMITER, MESSAGE_SEPARATOR, OID |
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 | |
AssociatedProcessProcessor()
A no argument constructor with no side effects. |
|
AssociatedProcessProcessor(Object context)
Constructs a AssociatedProcessProcessor. |
Method Summary | |
void |
createTableButton(Properties parameters,
Locale locale,
OutputStream os)
Create the button to create a new table with the supplied customizations |
void |
createTableForm(Properties parameters,
Locale locale,
OutputStream os)
Create the FORM construct to specify the url to invoke a new table |
WTTableModel |
createTableModel(String loadAction,
Vector groupBy,
Vector sortBy,
WTObject contextObject,
Locale locale)
This method is used to construct a worklist on the server and return it to the client. |
WTTableModel |
getModel(Locale locale)
Create a WTTableModel containing information about the workflow procesess related to the context object specified by the OID paramater of the URL |
HTMLTemplate |
getTemplate(Vector preferences)
|
void |
handleRequest(HTTPRequest req,
HTTPResponse resp)
This method handles HTTP GET requests to produce an HTML page which enables the user to initiate a workflow process based on the previously selected workflow template The format of the HTML output is determined by the WorkList template. |
void |
objectNameHeadline(Properties parameters,
Locale locale,
OutputStream os)
Headline for the table identifying the object used in all the displayed processes |
void |
pageTitle(Properties parameters,
Locale locale,
OutputStream os)
Create a localized title for the page |
Methods inherited from class wt.workflow.TableTemplateProcessor |
columnHeaders, formatSeparatorRow, getDataSetKey, getGroupKey, getNumberOfColumns, getSortableAttributes, getSortKey, groupBySelector, setDataSetKey, setGroupKey, setNumberOfColumns, setSortableAttributes, setSortKey, sortBySelector, tableItems |
Methods inherited from class wt.workflow.WorkflowProcessor |
columnLabel, createActionButton, createObjectLink, getStyleSheetProps, tableCell, tableCell, tableCellBold, tableOddCell |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static boolean VERBOSE
protected static String CODEBASE
private static final String RESOURCE
private static final ResourceBundle rb
Constructor Detail |
public AssociatedProcessProcessor()
public AssociatedProcessProcessor(Object context)
context
- The contextual object of the AssociatedProcessProcessor.Method Detail |
public HTMLTemplate getTemplate(Vector preferences) throws WTException
WTException
public void handleRequest(HTTPRequest req, HTTPResponse resp) throws WTException
handleRequest
in interface TemplateProcessor
handleRequest
in class GenerateFormProcessor
req
- HTTPRequestresp
- HTTPResponse
WTException
public void pageTitle(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 objectNameHeadline(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 createTableForm(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 WTTableModel getModel(Locale locale) throws WTException
WTException
public WTTableModel createTableModel(String loadAction, Vector groupBy, Vector sortBy, WTObject contextObject, Locale locale) throws WTException
loadAction
- The type of load action to be performed on the work list. Valid values are 'worklist-load-user' to load work items for the current user, or 'worklist-load-admin' to load work items for all users.groupBy
- The ordered list of columns to be grouped for the work list. If no grouping is required then this parameter may be set to 'null' or an empty Vector may be sent in. Otherwise, this parameter takes a vector (of Strings) of column names to be grouped. The first column listed in the vector will be the first column grouped.sortBy
- The ordered list of columns to be sorted for the work list. If no sorting is required then this parameter may be set to 'null' or an empty Vector may be sent in. Otherwise, this parameter takes a vector (of Strings) of column names to be sorted. The first column listed in the vector will be the first column sorted.
WTException
public void createTableButton(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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |