Package com.ptc.netmarkets.wp.delivery
Class CreateDeliveryValidator
java.lang.Object
com.ptc.core.ui.validation.DefaultValidationFilter
com.ptc.core.ui.validation.DefaultUIComponentValidator
com.ptc.netmarkets.wp.delivery.CreateDeliveryValidator
- All Implemented Interfaces:
UIComponentValidator,ValidationFilter
Validator for checking on whether to expose the New Delivery action and also for validating user input after the New
Delivery wizard is submitted.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionperformFullPreValidation(UIValidationKey validationKey, UIValidationCriteria validationCriteria, Locale locale) Checks on whether to expose the New Delivery action in Package Actions menu and Package Deliveries table.Methods inherited from class com.ptc.core.ui.validation.DefaultUIComponentValidator
getSubValidator, getSubValidator, performLimitedPreValidation, preValidateAction, preValidateAttribute, preValidateMultiTargetAction, validateSelectedAction, validateSelectedMultiSelectActionMethods inherited from class com.ptc.core.ui.validation.DefaultValidationFilter
populateResultSet
-
Method Details
-
performFullPreValidation
public UIValidationResultSet performFullPreValidation(UIValidationKey validationKey, UIValidationCriteria validationCriteria, Locale locale) throws WTException Checks on whether to expose the New Delivery action in Package Actions menu and Package Deliveries table.
Supported API: true- Specified by:
performFullPreValidationin interfaceUIComponentValidator- Overrides:
performFullPreValidationin classDefaultUIComponentValidator- Parameters:
validationKey- The String identifying the action or component being validated.validationCriteria- 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 The result set is UIValidationStatus.ENABLE if the action is allowed or UIValidation.HIDDEN if the action is not allowed.
- Throws:
WTException- the wT exception- See Also:
-