org.acegisecurity.domain.validation
Interface IntrospectionManager

All Known Implementing Classes:
IntrospectionManagerHibernate

public interface IntrospectionManager

Indicates a concrete class capable of introspecting a domain object for its immediate children.

Implementations may use a choice of reflective introspection or querying a persistence metadata API to locate the internal children.

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

Method Summary
 void obtainImmediateChildren(Object parentObject, List<Object> allObjects)
          Locates any direct children of a domain object.
 

Method Detail

obtainImmediateChildren

void obtainImmediateChildren(Object parentObject,
                             List<Object> allObjects)
Locates any direct children of a domain object.

Typically used with a ValidationManager to validate each of the located children.

Implementations should only add the immediate layer of children. Grandchildren, great-grandchildren etc should not be added.

Parameters:
parentObject - the immediate parent which all children should share (guaranteed to never be null)
allObjects - the list to which this method should append each immediate child (guaranteed to never be null)


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