Class ChangeBaselineReportValidator
java.lang.Object
com.ptc.core.ui.validation.DefaultValidationFilter
com.ptc.core.ui.validation.DefaultUIComponentValidator
com.ptc.windchill.enterprise.change2.validators.ChangeBaselineReportValidator
- All Implemented Interfaces:
UIComponentValidator,ValidationFilter
Validates the "Change Baseline Report" action. The "Change Baseline Report"
will only be displayed when the Change "Change Baseline Report Display"
preference is set to "Yes".
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionperformLimitedPreValidation(UIValidationKey key, UIValidationCriteria criteria, Locale locale) Calls the preference service to validate that the "Change Baseline Report Display" preference is enabled.Methods inherited from class com.ptc.core.ui.validation.DefaultUIComponentValidator
getSubValidator, getSubValidator, preValidateAction, preValidateAttribute, preValidateMultiTargetAction, validateFormSubmission, validateSelectedAction, validateSelectedMultiSelectActionMethods inherited from class com.ptc.core.ui.validation.DefaultValidationFilter
populateResultSet
-
Method Details
-
performLimitedPreValidation
public UIValidationResultSet performLimitedPreValidation(UIValidationKey key, UIValidationCriteria criteria, Locale locale) throws WTException Calls the preference service to validate that the "Change Baseline Report Display" preference is enabled. If the preference is not enabled the status for the action is set to hidden.
Supported API: true- Specified by:
performLimitedPreValidationin interfaceUIComponentValidator- Overrides:
performLimitedPreValidationin classDefaultUIComponentValidator- Parameters:
key- A UIValidationKey object representing the action or UI component to be validated.criteria- Object holding information required to perform validation tasks.locale- The user's Locale. If a null value is passed in, the session locale will be used.- Returns:
- UIValidationResultSet
- Throws:
WTException
-