Betty v1.1.0

christophedelory.betty.interfaces
Interface LocalBetHome

All Superinterfaces:
EJBLocalHome

public interface LocalBetHome
extends EJBLocalHome

Local home interface for BetEJB.

Version:
1.1.0
Author:
Christophe Delory
See Also:
UserDetails

Field Summary
static String COMP_NAME
           
static String JNDI_NAME
           
 
Method Summary
 LocalBet create(LocalPlayerScore dbPlayerScore, LocalUser dbUser)
           
 Collection<LocalBet> findAll()
           
 Collection<LocalBet> findByEvent(LocalEvent dbEvent)
           
 Collection<LocalBet> findByEventAndUser(LocalEvent dbEvent, LocalUser dbUser)
           
 Collection<LocalBet> findByPlayerScore(LocalPlayerScore dbPlayerScore)
           
 LocalBet findByPlayerScoreAndUser(LocalPlayerScore dbPlayerScore, LocalUser dbUser)
           
 LocalBet findByPrimaryKey(Object pk)
           
 Collection<LocalBet> findByUser(LocalUser dbUser)
           
 
Methods inherited from interface javax.ejb.EJBLocalHome
remove
 

Field Detail

COMP_NAME

static final String COMP_NAME
See Also:
Constant Field Values

JNDI_NAME

static final String JNDI_NAME
See Also:
Constant Field Values
Method Detail

create

LocalBet create(LocalPlayerScore dbPlayerScore,
                LocalUser dbUser)
                throws CreateException
Throws:
CreateException

findAll

Collection<LocalBet> findAll()
                             throws FinderException
Throws:
FinderException

findByPlayerScore

Collection<LocalBet> findByPlayerScore(LocalPlayerScore dbPlayerScore)
                                       throws FinderException
Throws:
FinderException

findByUser

Collection<LocalBet> findByUser(LocalUser dbUser)
                                throws FinderException
Throws:
FinderException

findByEvent

Collection<LocalBet> findByEvent(LocalEvent dbEvent)
                                 throws FinderException
Throws:
FinderException

findByEventAndUser

Collection<LocalBet> findByEventAndUser(LocalEvent dbEvent,
                                        LocalUser dbUser)
                                        throws FinderException
Throws:
FinderException

findByPlayerScoreAndUser

LocalBet findByPlayerScoreAndUser(LocalPlayerScore dbPlayerScore,
                                  LocalUser dbUser)
                                  throws FinderException
Throws:
FinderException

findByPrimaryKey

LocalBet findByPrimaryKey(Object pk)
                          throws FinderException
Throws:
FinderException

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.