org.kuali.student.common.ui.client.validator
Class ValidatorClientUtils

java.lang.Object
  extended by org.kuali.student.common.ui.client.validator.ValidatorClientUtils

public class ValidatorClientUtils
extends Object


Constructor Summary
ValidatorClientUtils()
           
 
Method Summary
static boolean hasErrors(List<ValidationResultInfo> validationResults)
          Inspect the validation result to determine if there are any errors.
static boolean hasWarnings(List<ValidationResultInfo> validationResults)
          Inspect the validation result to determine if there are any errors.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatorClientUtils

public ValidatorClientUtils()
Method Detail

hasErrors

public static boolean hasErrors(List<ValidationResultInfo> validationResults)
Inspect the validation result to determine if there are any errors.

Parameters:
validationResults -
Returns:
true if at least one validation result is an error.

hasWarnings

public static boolean hasWarnings(List<ValidationResultInfo> validationResults)
Inspect the validation result to determine if there are any errors.

Parameters:
validationResults -
Returns:
true if at least one validation result is an error.


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.