Betty v1.1.0

christophedelory.betty.interfaces
Interface LocalResourceHome

All Superinterfaces:
EJBLocalHome

public interface LocalResourceHome
extends EJBLocalHome

Local home interface for ResourceEJB.

Version:
1.1.0
Author:
Christophe Delory
See Also:
ResourceDetails

Field Summary
static String COMP_NAME
           
static String JNDI_NAME
           
 
Method Summary
 LocalResource create(String id, LocalChampionship dbChampionship)
           
 Collection<LocalResource> findAll()
           
 Collection<LocalResource> findByChampionship(LocalChampionship dbChampionship)
           
 Collection<LocalResource> findById(String id)
           
 LocalResource findByIdAndChampionship(String id, LocalChampionship dbChampionship)
           
 LocalResource findByIdAndNoChampionship(String id)
           
 Collection<LocalResource> findByNoChampionship()
           
 LocalResource findByPrimaryKey(Object pk)
           
 
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

LocalResource create(String id,
                     LocalChampionship dbChampionship)
                     throws CreateException
Throws:
CreateException

findAll

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

findByNoChampionship

Collection<LocalResource> findByNoChampionship()
                                               throws FinderException
Throws:
FinderException

findByChampionship

Collection<LocalResource> findByChampionship(LocalChampionship dbChampionship)
                                             throws FinderException
Throws:
FinderException

findById

Collection<LocalResource> findById(String id)
                                   throws FinderException
Throws:
FinderException

findByIdAndNoChampionship

LocalResource findByIdAndNoChampionship(String id)
                                        throws FinderException
Throws:
FinderException

findByIdAndChampionship

LocalResource findByIdAndChampionship(String id,
                                      LocalChampionship dbChampionship)
                                      throws FinderException
Throws:
FinderException

findByPrimaryKey

LocalResource findByPrimaryKey(Object pk)
                               throws FinderException
Throws:
FinderException

© 2008-2009 Christophe Delory

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