Interface IFD2VRulesProvider
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultFD2VRulesProvider
public interface IFD2VRulesProvider extends Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.alibaba.fastjson.JSONObjectcreateVRulesJSON(Locale locale)Map<String,XFormPluginDatatypeRule>determineVRules(Locale locale)XFormDatatypeValidationLogicRetValexecuteValidationLogic(XFormDatatypeValidationLogicParams params)Executes the custom validation logic for a given validation rule.
-
-
-
Method Detail
-
createVRulesJSON
com.alibaba.fastjson.JSONObject createVRulesJSON(Locale locale)
-
determineVRules
Map<String,XFormPluginDatatypeRule> determineVRules(Locale locale)
-
executeValidationLogic
XFormDatatypeValidationLogicRetVal executeValidationLogic(XFormDatatypeValidationLogicParams params)
Executes the custom validation logic for a given validation rule. If the ruledoes not have custom validation logic, this method always returns a valid validation result.- Parameters:
params- The parameters for the validation logic, containing the value to validate and the validation rule to apply.- Returns:
- The result of the validation logic, indicating whether the value is valid and providing an error message if it is not valid.
- Since:
- 8.5.4
-
-