org.acegisecurity.domain.validation
Interface ValidationManager

All Known Implementing Classes:
ValidationManagerImpl

public interface ValidationManager

Able to validate any passed domain object instance, including its children.

Version:
$Id: ValidationManager.java,v 1.2 2005/11/17 00:55:50 benalex Exp $
Author:
Ben Alex

Method Summary
 void validate(Object domainObject)
          Validates the passed domain object, along with any children, grandchildren, great-grandchildren etc.
 

Method Detail

validate

void validate(Object domainObject)
              throws BindException,
                     ValidatorNotFoundException
Validates the passed domain object, along with any children, grandchildren, great-grandchildren etc.

Before performing validation, implementations must execute BindBeforeValidation for any domain objects requesting it.

Parameters:
domainObject - to validate (cannot be null)
Throws:
BindException - if a validation problem occurs
ValidatorNotFoundException - if no matching Validator could be found (and the implementation wishes to treat this as an exception condition as opposed to logging it and continuing).


Copyright © 2004-2005 Acegi Technology Pty Limited. All Rights Reserved.