org.openamf.examples
Class Directory

java.lang.Object
  extended byorg.openamf.examples.Directory
All Implemented Interfaces:
java.io.Serializable

public class Directory
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision: 1.4 $, $Date: 2005/07/05 22:04:06 $
Author:
Jason Calabrese
See Also:
Serialized Form

Field Summary
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
Directory()
           
 
Method Summary
 void addPerson(Person person)
           
 void addPerson(Person person, Authentication authentication)
           
 java.util.List getPeople(int zipCode)
           
 java.util.List getPeople(int zipCode, Authentication authentication)
           
 java.util.List getPeople(java.lang.String name)
           
 java.util.List getPeople(java.lang.String name, Authentication authentication)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

Directory

public Directory()
Method Detail

addPerson

public void addPerson(Person person)

addPerson

public void addPerson(Person person,
                      Authentication authentication)

getPeople

public java.util.List getPeople(java.lang.String name)

getPeople

public java.util.List getPeople(java.lang.String name,
                                Authentication authentication)

getPeople

public java.util.List getPeople(int zipCode)

getPeople

public java.util.List getPeople(int zipCode,
                                Authentication authentication)

toString

public java.lang.String toString()