|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface UIComponentValidator
This Interface defines the APIs that all delegates used by the UIComponentValidationService need to implement. It is
recommended that application developers not implement this Interface directly, but rather extend the default
implementation of this interface - DefaultUIComponentValidator.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
UIValidationResultSet |
performFullPreValidation(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationCriteria validationCriteria,
Locale locale)
This method will be invoked by a client wanting to get an accurate indication of whether or not an action or component should be enabled, disabled, or hidden in the UI. |
UIValidationResultSet |
performLimitedPreValidation(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationCriteria validationCriteria,
Locale locale)
This method will be invoked by a client wanting to get a quick indication of whether or not an action or component should be enabled, disabled, or hidden in the UI. |
UIValidationResult |
validateFormSubmission(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationCriteria validationCriteria,
Locale locale)
This method will be invoked by a client wanting to perform some server-side validation when a user tries to submit a form (e.g., a single wizard step, or an entire wizard). |
UIValidationResult |
validateSelectedAction(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationCriteria validationCriteria,
Locale locale)
This method will be invoked by a client who wants to verify whether or not an action that the user is trying to perform should be allowed to proceed. |
UIValidationResultSet |
validateSelectedMultiSelectAction(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationCriteria validationCriteria,
Locale locale)
This method will be invoked by a client who wants to verify whether or not an action that the user is trying to perform should be allowed to proceed. |
| Methods inherited from interface com.ptc.core.ui.validation.ValidationFilter |
|---|
preValidateAction, preValidateAttribute, preValidateMultiTargetAction |
| Method Detail |
|---|
UIValidationResultSet performFullPreValidation(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationCriteria validationCriteria,
Locale locale)
throws WTException
validationKey - A UIValidationKey object representing the action or UI component to be 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.
WTException
UIValidationResultSet performLimitedPreValidation(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationCriteria validationCriteria,
Locale locale)
throws WTException
validationKey - A UIValidationKey object representing the action or UI component to be 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.
WTException
UIValidationResult validateFormSubmission(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationCriteria validationCriteria,
Locale locale)
throws WTException
validationKey - A UIValidationKey object representing the action or UI component to be 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.
WTException
UIValidationResult validateSelectedAction(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationCriteria validationCriteria,
Locale locale)
throws WTException
validationKey - A UIValidationKey object representing the action or UI component to be 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.
WTException
UIValidationResultSet validateSelectedMultiSelectAction(com.ptc.core.ui.validation.UIValidationKey validationKey,
UIValidationCriteria validationCriteria,
Locale locale)
throws WTException
validationKey - A UIValidationKey object representing the action or UI component to be 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.
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||