- All Superinterfaces:
- javax.ejb.EJBHome, java.rmi.Remote
- public interface IParticipantHome
- extends javax.ejb.EJBHome
Factory class for IParticipant instances.
- Version:
- $Id: IParticipantHome.java,v 1.4 2003/02/26 03:38:45 rphall Exp $
create
public IParticipant create(java.lang.Integer memberId,
java.lang.Integer rowingId,
SeatPreference preferred)
throws javax.ejb.CreateException,
java.rmi.RemoteException
create
public IParticipant create(com.clra.member.MemberSnapshot member,
RowingSessionSnapshot rowing)
throws javax.ejb.CreateException,
java.rmi.RemoteException
- Creates an "extra" participant; that is, a participant who is
present at a rowing session without signing up and who isn't
substituting for another member. The participant is constructed in
the PRESENT state.
create
public IParticipant create(com.clra.member.MemberSnapshot member,
ParticipantSnapshot replaces)
throws javax.ejb.CreateException,
java.rmi.RemoteException
- Creates a "substitute" participant; that is, a participant who is
present at a rowing session as a substitute for another, signed-up
participant. The substitute is constructed in the PRESENT state,
and the signed-up participant transitions to the ABSENT state.
findByPrimaryKey
public IParticipant findByPrimaryKey(java.lang.Integer participantId)
throws javax.ejb.FinderException,
java.rmi.RemoteException
findByMemberIdRowingId
public java.util.Collection findByMemberIdRowingId(java.lang.Integer memberId,
java.lang.Integer rowingId)
throws javax.ejb.FinderException,
java.rmi.RemoteException
- The memberId and rowingId of a participant form an alternate key
to the Participant table, so the collection that is returned has
at most one IParticipant element.
findByRowingId
public java.util.Collection findByRowingId(java.lang.Integer rowingId)
throws javax.ejb.FinderException,
java.rmi.RemoteException
findAll
public java.util.Collection findAll()
throws javax.ejb.FinderException,
java.rmi.RemoteException