package com.ibm.websphere.userprofile.beans;

import java.util.Enumeration;

//Read-only home extension


public interface UPBaseChildReadOnlyHome extends javax.ejb.EJBHome{
 

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

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

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

        UPbaseChildReadOnly 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;

}