|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.wcm.toolkit.server.base.WcmDpContainer
com.filenet.wcm.toolkit.server.base.WcmModule
com.filenet.wcm.toolkit.server.base.GlobalEventModule
com.filenet.wcm.toolkit.server.base.WcmUiModule
com.filenet.wcm.toolkit.server.ui.WcmXSLModule
com.filenet.wcm.apps.server.ui.WorkflowExpressionModule
The WorkflowExpressionModule class displays the either the workflow expression or the event filtering. It provides UI to create or modify expressions.
Field Summary | |
static java.lang.String |
EVENT_EXPRESSION_TYPE
|
static java.lang.String |
WORKFLOW_EXPRESSION_TYPE
|
Fields inherited from class com.filenet.wcm.toolkit.server.ui.WcmXSLModule |
transformUtil |
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule |
locale, NAME_DELIMITER |
Constructor Summary | |
WorkflowExpressionModule(java.lang.String type)
Constructor sets the WorkflowExpressionModule type to one of the static String values defined by the WorkflowExpressionModule module. |
Method Summary | |
void |
cleanup()
Cleans up all cached data. |
java.lang.String |
getFormName()
Returns the form name used by WorkflowExpressionSelect page. |
java.util.Iterator |
getValidationErrors()
Implements the panelFinish method. |
void |
initialize()
Initializes data providers, XSL parameters, and other state values. |
void |
onAdd(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the Add event triggered by the user selecting the Add button to add a new criteria to the expression. |
void |
onAddUser(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the AddUser event triggered by the user selecting a user from the Select Grantee page. |
void |
onAnd(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the And event triggered by the user selecting the And button to add or insert an AND operator to the expression. |
void |
onLeft(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the Left event triggered by the user selecting the ( button to add or insert a left parenthesis to the expression. |
void |
onMoveDown(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the MoveDown event triggered by the user selecting the down arrow button to move all selected items down in the expression. |
void |
onMoveUp(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the MoveUp event triggered by the user selecting the up arrow button to move all selected items up in the expression. |
void |
onNot(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the Not event triggered by the user selecting the ! button to add or insert a not (!) operator to the expression. |
void |
onOr(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the Or event triggered by the user selecting the Or button to add or insert an OR operator to the expression. |
void |
onRemove(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the Remove event triggered by the user selecting the Remove button to remove all selected items from the expression. |
void |
onRight(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the Right event triggered by the user selecting the ) button to add or insert a right parenthesis to the expression. |
void |
onSelectProperty(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the SelectProperty event triggered by the user selecting an item from the property combo box. |
void |
onSelectUser(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the SelectUser event triggered by the user selecting the Select User link. |
void |
onStartPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the Start Page event triggered by the controller. |
void |
onViewException(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the ViewException event triggered by the user selecting the Warning icon. |
void |
panelFinish(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Implements the panelFinish method. |
void |
panelSave(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the panelSave event. |
boolean |
panelValidate()
Validates the expressions to determine if it is valid. |
void |
render(java.io.Writer w)
Renders the WorkflowExpressionModule Module HTML. |
Methods inherited from class com.filenet.wcm.toolkit.server.ui.WcmXSLModule |
convertToNodeList, getXML, getXSLParameter, renderXSL, setXML, setXML, setXML, setXML, setXSL, setXSLParameter, setXSLParameter, setXSLParameter, setXSLParameter, setXSLParameter, setXSLParameter |
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmUiModule |
getActive, getBasePath, getBaseUrl, getBaseURLBuilder, getControllerEventUrl, getControllerEventUrl, getEventFormFields, getEventFormFields, getEventFormTag, getEventFormTag, getEventUrl, getEventUrl, getEventUrl, getEventUrl, getFormSubmitUrl, getFormSubmitUrl, getGlobalEventUrl, getGlobalEventUrl, getPageUrl, getPageUrl, getPageUrl, getPageUrl, getUiParent, peekEvent, renderJSP, routeEvent, routeEvent, serverSideInclude, serverSideInclude, setActive, setJSP |
Methods inherited from class com.filenet.wcm.toolkit.server.base.GlobalEventModule |
subscribeGlobalEvent |
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmModule |
addChild, addChild, addChild, debugTrace, getClassProperty, getClassProperty, getClassPropertyKeys, getConfiguration, getController, getDataStore, getModuleProperty, getModuleProperty, getModuleProperty, getModuleProperty, getModulePropertyKeys, getName, getParent, getWindowProperty, getWindowProperty, persist, queryDataProvider, setClassProperty, setClassProperty, setController, setModuleProperty, setModuleProperty, setName, setParent, setPortletParent, setWindowProperty |
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmDpContainer |
addDataProvider, addDataProvider |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface |
addDataProvider, getDataStore, getModuleProperty, getName, getParent, persist, queryDataProvider, setController, setModuleProperty, setName, setParent |
Field Detail |
public static final java.lang.String WORKFLOW_EXPRESSION_TYPE
public static final java.lang.String EVENT_EXPRESSION_TYPE
Constructor Detail |
public WorkflowExpressionModule(java.lang.String type)
type
- String specifying the workflow expression type.Method Detail |
public void initialize() throws java.lang.Exception
initialize
in interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
java.lang.Exception
- All errors.public void onStartPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
The module xsl xml and parameters are set.
onStartPage
in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
request
- The JSP request object.response
- The JSP response object.
java.lang.Exception
- All errors.public void onAdd(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- The JSP request object.response
- The JSP response object.
java.lang.Exception
- All errors.public void onAnd(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- The JSP request object.response
- The JSP response object.
java.lang.Exception
- All errors.public void onOr(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- The JSP request object.response
- The JSP response object.
java.lang.Exception
- All errors.public void onNot(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- The JSP request object.response
- The JSP response object.
java.lang.Exception
- All errors.public void onRight(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- The JSP request object.response
- The JSP response object.
java.lang.Exception
- All errors.public void onLeft(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- The JSP request object.response
- The JSP response object.
java.lang.Exception
- All errors.public void onRemove(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- The JSP request object.response
- The JSP response object.
java.lang.Exception
- All errors.public void onMoveUp(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- The JSP request object.response
- The JSP response object.
java.lang.Exception
- All errors.public void onMoveDown(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- The JSP request object.response
- The JSP response object.
java.lang.Exception
- All errors.public void onSelectProperty(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- The JSP request object.response
- The JSP response object.
java.lang.Exception
- All errors.public void onSelectUser(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- The JSP request object.response
- The JSP response object.
java.lang.Exception
- All errors.public void onAddUser(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- The JSP request object.response
- The JSP response object.
java.lang.Exception
- All errors.public void onViewException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- The JSP request object.response
- The JSP response object.
java.lang.Exception
- All errors.public void render(java.io.Writer w) throws java.lang.Exception
render
in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
w
- Writer object to write the output to.
java.lang.Exception
- All errors.public void panelSave(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
Any changes to the workflow expression or the event expression are saved back the the subscription XML.
panelSave
in interface com.filenet.wcm.toolkit.server.base.WcmPanelInterface
request
- The JSP request object.response
- The JSP response object.
java.lang.Exception
- All errors.public void panelFinish(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
panelFinish
in interface com.filenet.wcm.toolkit.server.base.WcmPanelInterface
java.lang.Exception
public void cleanup() throws java.lang.Exception
cleanup
in interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
java.lang.Exception
- All errors.public java.lang.String getFormName()
getFormName
in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
public boolean panelValidate() throws java.lang.Exception
panelValidate
in interface com.filenet.wcm.toolkit.server.base.WcmPanelValidationInterface
java.lang.Exception
- All Exceptionpublic java.util.Iterator getValidationErrors()
getValidationErrors
in interface com.filenet.wcm.toolkit.server.base.WcmPanelValidationInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |