is.idega.idegaweb.golf.entity
Class StatisticHomeImpl

java.lang.Object
  extended by com.idega.data.IDOFactory
      extended by is.idega.idegaweb.golf.entity.StatisticHomeImpl
All Implemented Interfaces:
com.idega.data.IDOHome, StatisticHome, java.io.Serializable, javax.ejb.EJBLocalHome

public class StatisticHomeImpl
extends com.idega.data.IDOFactory
implements StatisticHome

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.idega.data.IDOFactory
dataSource
 
Constructor Summary
StatisticHomeImpl()
           
 
Method Summary
 Statistic create()
           
 Statistic createLegacy()
           
 Statistic findByPrimaryKey(int id)
           
 Statistic findByPrimaryKey(java.lang.Object pk)
           
 Statistic findByPrimaryKeyLegacy(int id)
           
 java.util.Collection findByScorecard(Scorecard scorecard)
           
 Statistic findByScorecardAndTee(Scorecard scorecard, Tee tee)
           
 java.util.Collection findByTeeID(java.util.Collection teeIDs)
           
 Statistic findLongestDrive(int member, java.sql.Date fromDate, java.sql.Date toDate)
           
 int getCountByTeeId(java.util.Collection teeIDs)
           
 int getCountDrivesByMember(int member, java.sql.Date fromDate, java.sql.Date toDate)
           
 int getCountFairwaysByMember(int member, java.sql.Date fromDate, java.sql.Date toDate)
           
 int getCountOnGreenByMember(int member, java.sql.Date fromDate, java.sql.Date toDate)
           
 java.lang.Class getEntityInterfaceClass()
           
 int getNumberOnFairwayByMember(int member, java.sql.Date fromDate, java.sql.Date toDate)
           
 int getNumberOnFairwayByTeeID(java.util.Collection teeIDs)
           
 int getNumberOnGreenByMember(int member, java.sql.Date fromDate, java.sql.Date toDate)
           
 int getNumberOnGreenByTeeID(java.util.Collection teeIDs)
           
 double getPuttAverageByMember(int member, java.sql.Date fromDate, java.sql.Date toDate)
           
 double getPuttAverageByTeeID(java.util.Collection teeIDs)
           
 int getPuttSumByMember(int member, java.sql.Date fromDate, java.sql.Date toDate)
           
 int getSumOfDrivesByMember(int member, java.sql.Date fromDate, java.sql.Date toDate)
           
 
Methods inherited from class com.idega.data.IDOFactory
createEntity, createIDO, decode, decode, findByPrimaryKeyCollection, findByPrimaryKeyIDO, findByPrimaryKeyIDO, findSubTypeByPrimaryKeyIDO, findSubTypesByPrimaryKeysIDO, getDatasource, getEntityBeanClass, getEntityCollectionForPrimaryKeys, getEntitySetForPrimaryKeys, getHomesForSubtypes, getHomesForSubtypes, idoCheckInPooledEntity, idoCheckOutPooledEntity, idoCreate, idoCreate, idoFindByPrimaryKey, idoFindByPrimaryKey, idoFindByPrimaryKey, idoFindByPrimaryKey, idoFindByPrimaryKey, idoFindByPrimaryKey, remove, setDatasource, setDatasource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Constructor Detail

StatisticHomeImpl

public StatisticHomeImpl()
Method Detail

getEntityInterfaceClass

public java.lang.Class getEntityInterfaceClass()
Specified by:
getEntityInterfaceClass in class com.idega.data.IDOFactory

create

public Statistic create()
                 throws javax.ejb.CreateException
Specified by:
create in interface StatisticHome
Throws:
javax.ejb.CreateException

findByPrimaryKey

public Statistic findByPrimaryKey(java.lang.Object pk)
                           throws javax.ejb.FinderException
Specified by:
findByPrimaryKey in interface StatisticHome
Throws:
javax.ejb.FinderException

createLegacy

public Statistic createLegacy()
Specified by:
createLegacy in interface StatisticHome

findByPrimaryKey

public Statistic findByPrimaryKey(int id)
                           throws javax.ejb.FinderException
Specified by:
findByPrimaryKey in interface StatisticHome
Throws:
javax.ejb.FinderException

findByPrimaryKeyLegacy

public Statistic findByPrimaryKeyLegacy(int id)
                                 throws java.sql.SQLException
Specified by:
findByPrimaryKeyLegacy in interface StatisticHome
Throws:
java.sql.SQLException

findByScorecard

public java.util.Collection findByScorecard(Scorecard scorecard)
                                     throws javax.ejb.FinderException
Specified by:
findByScorecard in interface StatisticHome
Throws:
javax.ejb.FinderException

findByScorecardAndTee

public Statistic findByScorecardAndTee(Scorecard scorecard,
                                       Tee tee)
                                throws javax.ejb.FinderException
Specified by:
findByScorecardAndTee in interface StatisticHome
Throws:
javax.ejb.FinderException

findByTeeID

public java.util.Collection findByTeeID(java.util.Collection teeIDs)
                                 throws javax.ejb.FinderException
Specified by:
findByTeeID in interface StatisticHome
Throws:
javax.ejb.FinderException

getNumberOnFairwayByTeeID

public int getNumberOnFairwayByTeeID(java.util.Collection teeIDs)
                              throws com.idega.data.IDOException
Specified by:
getNumberOnFairwayByTeeID in interface StatisticHome
Throws:
com.idega.data.IDOException

getCountByTeeId

public int getCountByTeeId(java.util.Collection teeIDs)
                    throws com.idega.data.IDOException
Specified by:
getCountByTeeId in interface StatisticHome
Throws:
com.idega.data.IDOException

getNumberOnGreenByTeeID

public int getNumberOnGreenByTeeID(java.util.Collection teeIDs)
                            throws com.idega.data.IDOException
Specified by:
getNumberOnGreenByTeeID in interface StatisticHome
Throws:
com.idega.data.IDOException

getPuttAverageByTeeID

public double getPuttAverageByTeeID(java.util.Collection teeIDs)
                             throws com.idega.data.IDOException
Specified by:
getPuttAverageByTeeID in interface StatisticHome
Throws:
com.idega.data.IDOException

getPuttAverageByMember

public double getPuttAverageByMember(int member,
                                     java.sql.Date fromDate,
                                     java.sql.Date toDate)
                              throws com.idega.data.IDOException
Specified by:
getPuttAverageByMember in interface StatisticHome
Throws:
com.idega.data.IDOException

getPuttSumByMember

public int getPuttSumByMember(int member,
                              java.sql.Date fromDate,
                              java.sql.Date toDate)
                       throws com.idega.data.IDOException
Specified by:
getPuttSumByMember in interface StatisticHome
Throws:
com.idega.data.IDOException

getCountFairwaysByMember

public int getCountFairwaysByMember(int member,
                                    java.sql.Date fromDate,
                                    java.sql.Date toDate)
                             throws com.idega.data.IDOException
Specified by:
getCountFairwaysByMember in interface StatisticHome
Throws:
com.idega.data.IDOException

getCountOnGreenByMember

public int getCountOnGreenByMember(int member,
                                   java.sql.Date fromDate,
                                   java.sql.Date toDate)
                            throws com.idega.data.IDOException
Specified by:
getCountOnGreenByMember in interface StatisticHome
Throws:
com.idega.data.IDOException

getNumberOnGreenByMember

public int getNumberOnGreenByMember(int member,
                                    java.sql.Date fromDate,
                                    java.sql.Date toDate)
                             throws com.idega.data.IDOException
Specified by:
getNumberOnGreenByMember in interface StatisticHome
Throws:
com.idega.data.IDOException

getNumberOnFairwayByMember

public int getNumberOnFairwayByMember(int member,
                                      java.sql.Date fromDate,
                                      java.sql.Date toDate)
                               throws com.idega.data.IDOException
Specified by:
getNumberOnFairwayByMember in interface StatisticHome
Throws:
com.idega.data.IDOException

getCountDrivesByMember

public int getCountDrivesByMember(int member,
                                  java.sql.Date fromDate,
                                  java.sql.Date toDate)
                           throws com.idega.data.IDOException
Specified by:
getCountDrivesByMember in interface StatisticHome
Throws:
com.idega.data.IDOException

getSumOfDrivesByMember

public int getSumOfDrivesByMember(int member,
                                  java.sql.Date fromDate,
                                  java.sql.Date toDate)
                           throws com.idega.data.IDOException
Specified by:
getSumOfDrivesByMember in interface StatisticHome
Throws:
com.idega.data.IDOException

findLongestDrive

public Statistic findLongestDrive(int member,
                                  java.sql.Date fromDate,
                                  java.sql.Date toDate)
                           throws javax.ejb.FinderException
Specified by:
findLongestDrive in interface StatisticHome
Throws:
javax.ejb.FinderException


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