com.ptc.core.ca.co.client.doer
Interface CoActionValidator

All Known Implementing Classes:
CoAbstractSimpleActionValidator, CoDefaultActionValidator, CoWizardDialogActionValidator, CoWizardStepActionValidator

Deprecated.

@Deprecated
public interface CoActionValidator

The interface action validators implement. A validator is a class helping to determine whether an action is relevant to the current situation and whether it can be triggered.

Supported API: true

Extendable: true


Method Summary
 boolean canExecute(CoConfigFeature validatorConfig, CoActionHandlerData execData)
          Deprecated. The method to determine whether an action is can be triggered in the current situation.
 boolean isRelevant(CoConfigFeature validatorConfig, CoActionHandlerData execData)
          Deprecated. The method to determine whether an action is relevant to the current situation.
 

Method Detail

canExecute

boolean canExecute(CoConfigFeature validatorConfig,
                   CoActionHandlerData execData)
                   throws WTException
Deprecated. 
The method to determine whether an action is can be triggered in the current situation.

Supported API: true

Parameters:
validatorConfig -
execData -
Returns:
boolean
Throws:
WTException

isRelevant

boolean isRelevant(CoConfigFeature validatorConfig,
                   CoActionHandlerData execData)
                   throws WTException
Deprecated. 
The method to determine whether an action is relevant to the current situation.

Supported API: true

Parameters:
validatorConfig -
execData -
Returns:
boolean
Throws:
WTException