ArcFM Desktop Overview > Process Framework Overview > Filters and Build Objects |
The user sees filters in a Process Framework extension such as Session Manager or Workflow Manager. These filter buttons that allow the user to modify which sessions or designs are displayed in the tree. For example, a Session Manager user will click the My Sessions filter to populate the tree with sessions for which he is the current owner.
Session Manager and Workflow Manager are installed with the default filters shown below. You may add default filters by creating custom filter and build objects. This section discusses creating and implementing custom filter and build objects. |
|
Filter and build objects work together to populate the tree in Session Manager or Workflow Manager with specific information. The filter object determines which items should be included in the list. The builder object uses the information provided by the filter to build the list of items to be displayed.
When the user selects a filter, the filter’s execute method is called which creates an MMPxNodeList and sets the list’s BuildObject property to the appropriate Build Object.
A build object is responsible for performing the necessary queries to create the contents of the list. Each node has a build object that builds the node’s children when needed. The list for a node is not generated by the build object until the user requests the contents by expanding the node in the tree. Since the child nodes in the dynamic list are built only when they are needed, large lists may be displayed quickly in Process Framework.
The BuildObject is also responsible for initializing the PxNode with an ID and NodeType, and setting the DisplayName.
To ensure the build and filter objects are implemented correctly, they will need to be registered to the MMFilter category using RegX.exe.
Once the filter and build object have been written, you may implement the custom filter using the Process Framework Administration tool. Details about using the Process Framework Administration tool are available in the Configuration Guide.