fferpcore.AnalysisValueServiceglobal with sharing class AnalysisValueService Validate all analysis field values on the specified records that relate to analysis mappings. Methodsvalidateglobal static List<fferpcore.AnalysisValueService.ValidationResult> validate(List<SObject> records) Validate analysis field values on the records. All fields defined by Analysis Mappings are validated. Input Parameters
Return ValueA validation result for each record. This is listed in the same order as the record list. fferpcore.AnalysisValueService.ValidationResultglobal interface ValidationResult The result of validating a single record. MethodsisSuccessBoolean isSuccess() Return ValueTrue if the validation is successful for this object. False if an error occurred. getErrorsList<AnalysisValueService.ValidationError> getErrors() Return ValueErrors that occurred as a result of validating the record. fferpcore.AnalysisValueService.ValidationErrorglobal class ValidationError An error when validating a single analysis field on a record. Methods
ValidationErrorglobal ValidationError(SObjectField field, String message) Input Parameters
|