is.idega.idegaweb.golf.entity
Interface StrokeHome

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

public interface StrokeHome
extends com.idega.data.IDOHome


Method Summary
 Stroke create()
           
 Stroke createLegacy()
           
 Stroke findByPrimaryKey(int id)
           
 Stroke findByPrimaryKey(java.lang.Object pk)
           
 Stroke findByPrimaryKeyLegacy(int id)
           
 java.util.Collection findByScorecard(Scorecard scorecard)
           
 Stroke findByScorecardAndTee(Scorecard scorecard, Tee tee)
           
 Stroke findFirstByScorecard(Scorecard scorecard)
           
 int getCountDifferenceByMember(int member, int difference, java.lang.String criteria, java.sql.Date fromDate, java.sql.Date toDate)
           
 int getCountOfHolesPlayedByMember(int member, java.sql.Date fromDate, java.sql.Date toDate)
           
 int getCountOfHolesPlayedByScorecard(Scorecard scorecard)
           
 int getDifference(Scorecard scorecard)
           
 double getMemberAverage(int member, int holePar, java.sql.Date fromDate, java.sql.Date toDate)
           
 double getPointsAverage(int holeNumber, Tournament tour, TournamentRound round, float handicapFrom, float handicapTo)
           
 int getRoundPar(Scorecard scorecard)
           
 int getStrokeCount(Scorecard scorecard)
           
 double getStrokesAverage(int holeNumber, Tournament tour, TournamentRound round, float handicapFrom, float handicapTo)
           
 int getSumOfStrokesByMember(int member, java.sql.Date fromDate, java.sql.Date toDate)
           
 
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

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

findByPrimaryKey

Stroke findByPrimaryKey(java.lang.Object pk)
                        throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

createLegacy

Stroke createLegacy()

findByPrimaryKey

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

findByPrimaryKeyLegacy

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

findByScorecard

java.util.Collection findByScorecard(Scorecard scorecard)
                                     throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

getCountDifferenceByMember

int getCountDifferenceByMember(int member,
                               int difference,
                               java.lang.String criteria,
                               java.sql.Date fromDate,
                               java.sql.Date toDate)
                               throws com.idega.data.IDOException
Throws:
com.idega.data.IDOException

getDifference

int getDifference(Scorecard scorecard)
                  throws com.idega.data.IDOException
Throws:
com.idega.data.IDOException

getCountOfHolesPlayedByMember

int getCountOfHolesPlayedByMember(int member,
                                  java.sql.Date fromDate,
                                  java.sql.Date toDate)
                                  throws com.idega.data.IDOException
Throws:
com.idega.data.IDOException

getCountOfHolesPlayedByScorecard

int getCountOfHolesPlayedByScorecard(Scorecard scorecard)
                                     throws com.idega.data.IDOException
Throws:
com.idega.data.IDOException

findFirstByScorecard

Stroke findFirstByScorecard(Scorecard scorecard)
                            throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

findByScorecardAndTee

Stroke findByScorecardAndTee(Scorecard scorecard,
                             Tee tee)
                             throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

getSumOfStrokesByMember

int getSumOfStrokesByMember(int member,
                            java.sql.Date fromDate,
                            java.sql.Date toDate)
                            throws com.idega.data.IDOException
Throws:
com.idega.data.IDOException

getRoundPar

int getRoundPar(Scorecard scorecard)
                throws com.idega.data.IDOException
Throws:
com.idega.data.IDOException

getStrokeCount

int getStrokeCount(Scorecard scorecard)
                   throws com.idega.data.IDOException
Throws:
com.idega.data.IDOException

getMemberAverage

double getMemberAverage(int member,
                        int holePar,
                        java.sql.Date fromDate,
                        java.sql.Date toDate)
                        throws com.idega.data.IDOException
Throws:
com.idega.data.IDOException

getStrokesAverage

double getStrokesAverage(int holeNumber,
                         Tournament tour,
                         TournamentRound round,
                         float handicapFrom,
                         float handicapTo)
                         throws com.idega.data.IDOException
Throws:
com.idega.data.IDOException

getPointsAverage

double getPointsAverage(int holeNumber,
                        Tournament tour,
                        TournamentRound round,
                        float handicapFrom,
                        float handicapTo)
                        throws com.idega.data.IDOException
Throws:
com.idega.data.IDOException


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