package com.ibm.websphere.userprofile.beans;

import java.util.Enumeration;
 

/*******************************************************************************
*                                                                                                                                                           *
* This is an example of extending the User Profile EJB Home Interface.                                                  *
* Since you cannot extend the Home interface of the base User Profile, you                                            *
* must define here all the methods in UPBaseHome. For methods which return                                       *
* UPBase in UPBaseHome, make the return type as UPBaseChild in UPBaseChildHome.                     *
*                                                                                                                                                           *
********************************************************************************/
public interface UPBaseChildHome extends javax.ejb.EJBHome{
 

        UPBaseChild create ( java.lang.String primaryKey)
              throws javax.ejb.CreateException, java.rmi.RemoteException;
 

        UPBaseChild create (String primaryKey, String legacyPrimaryKey)
              throws javax.ejb.CreateException, java.rmi.RemoteException;
 

        UPBaseChild findByPrimaryKey(com.ibm.servlet.personalization.userprofile.UserProfileKey key)
              throws java.rmi.RemoteException, javax.ejb.FinderException;
 

        UPBaseChild findUserProfilesByPrimaryKey(String name)
              throws java.rmi.RemoteException, javax.ejb.FinderException;
 

        Enumeration findUserProfilesByAddress1(String address1)
              throws java.rmi.RemoteException, javax.ejb.FinderException;

        Enumeration findUserProfilesByAddress2(String address2)
              throws java.rmi.RemoteException, javax.ejb.FinderException;

        Enumeration findUserProfilesByNation(String country)
              throws java.rmi.RemoteException, javax.ejb.FinderException;

        Enumeration findUserProfilesByDayPhone(String dayPhone)
              throws java.rmi.RemoteException, javax.ejb.FinderException;

        Enumeration findUserProfilesByEMail(String eMail)
              throws java.rmi.RemoteException, javax.ejb.FinderException;

        Enumeration findUserProfilesByEmployer(String employer)
              throws java.rmi.RemoteException, javax.ejb.FinderException;

        Enumeration findUserProfilesByFax(String fax)
              throws java.rmi.RemoteException, javax.ejb.FinderException;

        Enumeration findUserProfilesByFirstName(String firstName)
              throws java.rmi.RemoteException, javax.ejb.FinderException;

        Enumeration findUserProfilesByLanguage(String language)
              throws java.rmi.RemoteException, javax.ejb.FinderException;

        Enumeration findUserProfilesBySurName(String surName)
              throws java.rmi.RemoteException, javax.ejb.FinderException;

        Enumeration findUserProfilesByNightPhone(String nightPhone)
              throws java.rmi.RemoteException, javax.ejb.FinderException;

        Enumeration findUserProfilesByStateOrProvince(String state)
              throws java.rmi.RemoteException, javax.ejb.FinderException;

        Enumeration findUserProfilesByCity(String town)
              throws java.rmi.RemoteException, javax.ejb.FinderException;

        Enumeration findUserProfilesByPostalCode(String zipCode)
              throws java.rmi.RemoteException, javax.ejb.FinderException;

}