Class AbstractBusinessRulesResultsTable
java.lang.Object
com.ptc.mvc.components.AbstractComponentConfigBuilder
com.ptc.mvc.components.AbstractComponentBuilder
com.ptc.core.htmlcomp.components.AbstractConfigurableTableBuilder
com.ptc.windchill.enterprise.businessRules.mvc.builders.AbstractBusinessRulesResultsTable
- All Implemented Interfaces:
ConfigurableTableBuilder,ComponentConfigBuilder,com.ptc.mvc.components.ComponentConfigFactoryAware,ComponentDataBuilder
- Direct Known Subclasses:
BusinessRulesResultsTable
Given the result of executing the business rules displays the failed results.
The results will be displayed a table or tree depending on the table view
selected. When the "Group by Object" table view is selected the results are
listed by object in a table. When the "Group by Rule" table view is selected
a tree table is used to display the rule that failed and the objects that
failed for the rule.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionbuildComponentData(ComponentConfig config, ComponentParams params) If the view selected is "Group by Object" the results fromgetRuleValidationResultSet(NmCommandBean)will be returned.abstract RuleValidationResultSetgetRuleValidationResultSet(NmCommandBean clientData) The validation results of executing the business rules.Methods inherited from class com.ptc.mvc.components.AbstractComponentConfigBuilder
getComponentConfigFactory, getMessageSource, setComponentConfigFactory
-
Method Details
-
buildComponentData
If the view selected is "Group by Object" the results fromgetRuleValidationResultSet(NmCommandBean)will be returned. If the "Group by Rule" view has been select a tree handler will be returned which will also use the results fromgetRuleValidationResultSet(NmCommandBean).
Supported API: true- Parameters:
config-params-- Returns:
- A ComponentData or a supported raw object type
- Throws:
Exception
-
getRuleValidationResultSet
public abstract RuleValidationResultSet getRuleValidationResultSet(NmCommandBean clientData) throws WTException The validation results of executing the business rules. For more details about executing business rule seecom.ptc.core.businessRules.engine.BusinessRulesEngine.
Supported API: true- Parameters:
clientData-- Returns:
- RuleValdiationResultSet
- Throws:
WTException- See Also:
-