FileDocCategorySizeDatePackage
PeopleFinderLocal.javaAPI DocExample888Sun Sep 11 17:34:14 BST 2005com.oreilly.jent.people.ejb

PeopleFinderLocal.java

package com.oreilly.jent.people.ejb;

import javax.ejb.EJBLocalObject;

import com.oreilly.jent.people.InvalidSearchException;
import com.oreilly.jent.people.PersistenceException;
import com.oreilly.jent.people.Person;
import com.oreilly.jent.people.SearchArg;


/**
 * Remote client interface for the EJB component
 */
public interface PeopleFinderLocal extends EJBLocalObject {
    /**
     * findPeople: Search the underlying person information using the 
     *   search parameters provided in the arguments.  This method
     *   supports the same search parameters as those supported by the
     *   PersonDAO interface.
     * @param searchParams Search parameters.
     * @return Array of Person beans representing the results.
     * @throws RemoteException
     */
    public Person[] findPeople(SearchArg[] args)
    	    throws InvalidSearchException, PersistenceException;
}