001 package com.croftsoft.apps.wyrm.entity; 002 003 import java.rmi.*; 004 import java.util.*; 005 006 import javax.ejb.*; 007 008 /********************************************************************* 009 * Local home interface for User EJB. 010 * 011 * @version 012 * 2002-10-03 013 * @since 014 * 2002-09-30 015 * @author 016 * <a href="http://alumni.caltech.edu/~croft">David Wallace Croft</a> 017 *********************************************************************/ 018 019 public interface UserLocalHome 020 extends EJBLocalHome 021 ////////////////////////////////////////////////////////////////////// 022 ////////////////////////////////////////////////////////////////////// 023 { 024 025 public UserLocal create ( String username ) 026 throws CreateException, EJBException; 027 028 public UserLocal findByPrimaryKey ( Long id ) 029 throws FinderException, EJBException; 030 031 public UserLocal findByUsername ( String username ) 032 throws FinderException, EJBException; 033 034 public Collection findAll ( ) 035 throws FinderException, EJBException; 036 037 public String [ ] getUsernames ( ) 038 throws FinderException, EJBException; 039 040 ////////////////////////////////////////////////////////////////////// 041 ////////////////////////////////////////////////////////////////////// 042 }