com.softwareag.centrasite.api.csom.search.validation
Interface Validator


public interface Validator

Validator used to perform the different types of validations.


Method Summary
 java.util.Collection<CSOValidationInfo> validate(CSOSearch csoSearch)
          Perform the validation on given CSOSearch and return the violations as CSOValidationInfo.
 

Method Detail

validate

java.util.Collection<CSOValidationInfo> validate(CSOSearch csoSearch)
                                                 throws CLLException
Perform the validation on given CSOSearch and return the violations as CSOValidationInfo. in case of no violations then return empty collection.

Parameters:
csoSearch - on which the validation rule need to apply.
Returns:
a collection of CSOValidationInfo which holds the details about violated Properties.
Throws:
CLLException - in case of failed to perform the validation.