is.idega.idegaweb.golf.entity
Interface TournamentHome

All Superinterfaces:
javax.ejb.EJBLocalHome, com.idega.data.IDOHome
All Known Implementing Classes:
TournamentHomeImpl

public interface TournamentHome
extends com.idega.data.IDOHome


Method Summary
 Tournament create()
           
 Tournament createLegacy()
           
 java.util.Collection<Tournament> findAll(java.sql.Date startingDateFrom, java.sql.Date startingDateTo, java.util.Collection<java.lang.String> unionIds, java.lang.Integer indexFrom, java.lang.Integer entitiesAmount)
           
 java.util.Collection<Tournament> findAll(java.util.Date startingDateFrom, java.util.Date startingDateTo, java.util.Collection<java.lang.String> unionIds, java.lang.Integer indexFrom, java.lang.Integer entitiesAmount)
           
 int findAmount(java.sql.Date startingDateFrom, java.sql.Date startingDateTo, java.util.Collection<java.lang.String> unionIds)
           
 int findAmount(java.util.Date startingDateFrom, java.util.Date startingDateTo, java.util.Collection<java.lang.String> unionIds)
           
 Tournament findByPrimaryKey(int id)
           
 Tournament findByPrimaryKey(java.lang.Object pk)
           
 Tournament findByPrimaryKeyLegacy(int id)
           
 java.util.Collection<Tournament> findByPrimaryKeys(java.util.Collection<?> primaryKeys)
           
 java.util.Collection findByUnionIdAndView(int unionID, java.lang.String view, com.idega.util.IWTimestamp start, com.idega.util.IWTimestamp end)
           
 
Methods inherited from interface com.idega.data.IDOHome
createIDO, decode, decode, findByPrimaryKeyCollection, findByPrimaryKeyIDO, getDatasource, getEntityCollectionForPrimaryKeys, setDatasource, setDatasource
 
Methods inherited from interface javax.ejb.EJBLocalHome
remove
 

Method Detail

create

Tournament create()
                  throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

findByPrimaryKey

Tournament findByPrimaryKey(java.lang.Object pk)
Parameters:
pk - is EJBLocalObject.getPrimaryKey(), not null;
Returns:
entity or null on failure;

createLegacy

Tournament createLegacy()

findByPrimaryKey

Tournament findByPrimaryKey(int id)
                            throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

findByPrimaryKeyLegacy

Tournament findByPrimaryKeyLegacy(int id)
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

findByUnionIdAndView

java.util.Collection findByUnionIdAndView(int unionID,
                                          java.lang.String view,
                                          com.idega.util.IWTimestamp start,
                                          com.idega.util.IWTimestamp end)
                                          throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

findByPrimaryKeys

java.util.Collection<Tournament> findByPrimaryKeys(java.util.Collection<?> primaryKeys)
Parameters:
primaryKeys - is Collection of EJBLocalObject.getPrimaryKey()s, not null;
Returns:
entities by primary keys or Collections.emptyList()

findAll

java.util.Collection<Tournament> findAll(java.sql.Date startingDateFrom,
                                         java.sql.Date startingDateTo,
                                         java.util.Collection<java.lang.String> unionIds,
                                         java.lang.Integer indexFrom,
                                         java.lang.Integer entitiesAmount)
Parameters:
startingDateFrom - is floor of Tournament.getStartTime(), skipped if null;
startingDateTo - is ceiling of Tournament.getStartTime(), skipped if null;
unionIds - is Collection of EJBLocalObject.getPrimaryKey()s to filter by, skipped if null;
indexFrom - is number of record to start fetching entities, skipped in null;
entitiesAmount - is number of entities to fetch from data source, skipped if null;
Returns:
entities by criteria of Collections.emptyList() on failure;

findAll

java.util.Collection<Tournament> findAll(java.util.Date startingDateFrom,
                                         java.util.Date startingDateTo,
                                         java.util.Collection<java.lang.String> unionIds,
                                         java.lang.Integer indexFrom,
                                         java.lang.Integer entitiesAmount)
Parameters:
startingDateFrom - is floor of Tournament.getStartTime(), skipped if null;
startingDateTo - is ceiling of Tournament.getStartTime(), skipped if null;
unionIds - is Collection of EJBLocalObject.getPrimaryKey()s to filter by, skipped if null;
indexFrom - is number of record to start fetching entities, skipped in null;
entitiesAmount - is number of entities to fetch from data source, skipped if null;
Returns:
entities by criteria of Collections.emptyList() on failure;

findAmount

int findAmount(java.sql.Date startingDateFrom,
               java.sql.Date startingDateTo,
               java.util.Collection<java.lang.String> unionIds)
Parameters:
startingDateFrom - is floor of Tournament.getStartTime(), skipped if null;
startingDateTo - is ceiling of Tournament.getStartTime(), skipped if null;
unionIds - is Collection of EJBLocalObject.getPrimaryKey()s to filter by, skipped if null;
Returns:
number of entities or 0 on failure;

findAmount

int findAmount(java.util.Date startingDateFrom,
               java.util.Date startingDateTo,
               java.util.Collection<java.lang.String> unionIds)
Parameters:
startingDateFrom - is floor of Tournament.getStartTime(), skipped if null;
startingDateTo - is ceiling of Tournament.getStartTime(), skipped if null;
unionIds - is Collection of EJBLocalObject.getPrimaryKey()s to filter by, skipped if null;
Returns:
number of entities or 0 on failure;


Copyright © 2000-2014 idega software. All Rights Reserved.