CLRA 0.1.2

com.clra.rowing
Interface IRowingSessionHome

All Superinterfaces:
javax.ejb.EJBHome, java.rmi.Remote

public interface IRowingSessionHome
extends javax.ejb.EJBHome

Factory class for IRowingSession instances.

Version:
$Id: IRowingSessionHome.java,v 1.2 2002/02/18 18:04:35 rphall Exp $
Author:
Rick Hall

Method Summary
 IRowingSession create(Date date, RowingSessionLevel level, RowingSessionType type)
          Creates a rowing session on the specified date (and time).
 Collection findAll()
           
 IRowingSession findByPrimaryKey(Integer rowingId)
           
 Collection findInDateRange(Date start, Date finish)
           
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

public IRowingSession create(Date date,
                             RowingSessionLevel level,
                             RowingSessionType type)
                      throws javax.ejb.CreateException,
                             java.rmi.RemoteException
Creates a rowing session on the specified date (and time).

Application classes should not invoke this operation directly, but rather should use RowingUtils.createRowingSession, in order to guarantee that any (future) optimized lists remains up-to-date.

Parameters:
date - the date (and time) on which to create the session.
level - the level of the session (Regular, LTR)
type - the type of the session (Practice, Regatta)
See Also:
RowingUtils#

findByPrimaryKey

public IRowingSession findByPrimaryKey(Integer rowingId)
                                throws javax.ejb.FinderException,
                                       java.rmi.RemoteException

findInDateRange

public Collection findInDateRange(Date start,
                                  Date finish)
                           throws javax.ejb.FinderException,
                                  java.rmi.RemoteException

findAll

public Collection findAll()
                   throws javax.ejb.FinderException,
                          java.rmi.RemoteException

CLRA 0.1.2