is.idega.idegaweb.golf.entity
Class ScorecardBMPBean

java.lang.Object
  extended by com.idega.data.GenericEntity
      extended by is.idega.idegaweb.golf.entity.ScorecardBMPBean
All Implemented Interfaces:
com.idega.data.EntityRepresentation, com.idega.data.IDOEntity, com.idega.data.IDOEntityBean, com.idega.data.IDOLegacyEntity, com.idega.data.MetaDataCapable, com.idega.data.UniqueIDCapable, Scorecard, java.io.Serializable, java.lang.Comparable<com.idega.data.IDOEntity>, javax.ejb.EJBLocalObject, javax.ejb.EnterpriseBean, javax.ejb.EntityBean

public class ScorecardBMPBean
extends com.idega.data.GenericEntity
implements Scorecard, com.idega.data.UniqueIDCapable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.idega.data.GenericEntity
com.idega.data.GenericEntity.ResultHelper
 
Field Summary
static java.lang.String COLUMN_CARD_STATUS
           
static java.lang.String COLUMN_CARD_WRITER
           
static java.lang.String COLUMN_COURSE_RATING
           
static java.lang.String COLUMN_CREATED_DATE
           
static java.lang.String COLUMN_EXTERNAL_ENTRY
           
static java.lang.String COLUMN_EXTRA_POINTS
           
static java.lang.String COLUMN_FIELD
           
static java.lang.String COLUMN_FOREIGN_COURSE_NAME
           
static java.lang.String COLUMN_FOREIGN_ROUND
           
static java.lang.String COLUMN_HANDICAP_AFTER
           
static java.lang.String COLUMN_HANDICAP_BEFORE
           
static java.lang.String COLUMN_HANDICAP_CORRECTION
           
static java.lang.String COLUMN_MEMBER
           
static java.lang.String COLUMN_MOBILE_ENTRY
           
static java.lang.String COLUMN_NUMBER_OF_HOLES
           
static java.lang.String COLUMN_SCORECARD
           
static java.lang.String COLUMN_SCORECARD_DATE
           
static java.lang.String COLUMN_SLOPE
           
static java.lang.String COLUMN_TEE_COLOR
           
static java.lang.String COLUMN_TOTAL_POINTS
           
static java.lang.String COLUMN_TOURNAMENT_ROUND
           
static java.lang.String COLUMN_UPDATE_HANDICAP
           
static java.lang.String COLUMN_YEARLY_UPDATE
           
static java.lang.String TABLE_NAME
           
 
Fields inherited from class com.idega.data.GenericEntity
_lobColumnName, COLUMN_VALUE_FALSE, COLUMN_VALUE_TRUE, MANY_TO_MANY, MANY_TO_ONE, ONE_TO_MANY, ONE_TO_ONE, UNIQUE_ID_COLUMN_NAME
 
Fields inherited from interface com.idega.data.IDOLegacyEntity
STATE_DELETED, STATE_IN_SYNCH_WITH_DATASTORE, STATE_NEW, STATE_NEW_AND_NOT_IN_SYNCH_WITH_DATASTORE, STATE_NOT_IN_SYNCH_WITH_DATASTORE
 
Constructor Summary
ScorecardBMPBean()
           
 
Method Summary
 void delete()
           
 java.util.Collection ejbFindAllByCardWriterAndStatus(Member member, java.util.List<ScorecardStatus> statuses)
           
 java.util.Collection ejbFindAllByGolfer(int memberID, boolean ascending)
           
 java.util.Collection ejbFindAllByGolfer(int memberID, java.sql.Date dateFrom, java.sql.Date dateTo, boolean ascending)
           
 java.util.Collection<java.lang.Object> ejbFindAllByGolfer(int memberID, java.sql.Date dateFrom, java.sql.Date dateTo, int numberOfRecords, boolean ascending)
           
 java.util.Collection ejbFindAllByGolfer(int memberID, int numberOfRecords, boolean ascending)
           
 java.util.Collection ejbFindAllByGolfer(Member member, ScorecardStatus status)
           
 java.util.Collection ejbFindAllByGolferAndTournament(Member member, Tournament tournament)
           
 java.lang.Object ejbFindAllByGolferAndTournamentRound(Member member, TournamentRound round)
           
 java.util.Collection ejbFindAllByStatuses(java.util.List<ScorecardStatus> statuses)
           
 java.util.Collection ejbFindAllByTournamentRound(TournamentRound round)
           
 java.util.Collection ejbFindAllByUnionAndDate(Union union, java.sql.Date dateFrom, java.sql.Date dateTo)
           
 java.lang.Integer ejbFindBestRoundAfterDateByMember(int member, java.sql.Date scorecardDate)
           
 java.lang.Object ejbFindByGolferAndFieldAndDate(Member member, Field field, java.sql.Date date, ScorecardStatus status)
           
 java.lang.Object ejbFindByUniqueID(java.lang.String uniqueID)
           
 java.lang.Integer ejbFindLastPlayedRoundByMember(int member)
           
 java.lang.Integer ejbFindLastPlayedRoundByMember(int member, java.sql.Date date)
           
 int ejbHomeGetCountRoundsPlayedByMember(int member)
           
 int ejbHomeGetCountRoundsPlayedByMember(int member, java.sql.Date fromDate, java.sql.Date toDate)
           
 int ejbHomeGetNumberOfRoundsAfterDateByMember(int member, java.sql.Date scorecardDate)
           
 int ejbHomeGetSumPointsByMember(int member, java.sql.Date fromDate, java.sql.Date toDate)
           
 java.lang.String getCardStatus()
           
 Member getCardWriter()
           
 float getCourseRating()
           
 java.sql.Timestamp getCreatedDate()
           
 java.lang.String getEntityName()
           
 boolean getExternalEntryOfCard()
           
 int getExtraPoints()
           
 Field getField()
           
 int getFieldID()
           
 java.lang.String getForeignCourseName()
           
 boolean getForeignRound()
           
 float getHandicapAfter()
           
 float getHandicapBefore()
           
 boolean getHandicapCorrection()
           
 Member getMember()
           
 int getMemberId()
           
 boolean getMobileEntryOfCard()
           
 int getNumberOfHoles()
           
 java.sql.Timestamp getScorecardDate()
           
 int getSlope()
           
 TeeColor getTeeColor()
           
 int getTeeColorID()
           
 int getTotalPoints()
           
 TournamentRound getTournamentRound()
           
 int getTournamentRoundId()
           
 boolean getUpdateHandicap()
           
 boolean getYearlyUpdate()
           
 void initializeAttributes()
           
 void setCardStatus(java.lang.String cardStatus)
           
 void setCardWriter(Member cardWriter)
           
 void setCourseRating(float courseRating)
           
 void setCreatedDate(java.sql.Timestamp createdDate)
           
 void setExternalEntryOfCard(boolean externalEntryOfCard)
           
 void setExtraPoints(int extraPoints)
           
 void setField(Field field)
           
 void setFieldID(int fieldID)
           
 void setForeignCourseName(java.lang.String name)
           
 void setForeignRound(boolean foreign)
           
 void setHandicapAfter(float handicapAfter)
           
 void setHandicapBefore(float handicapBefore)
           
 void setHandicapCorrection(boolean correction)
           
 void setMember(Member member)
           
 void setMemberId(int memberId)
           
 void setMobileEntryOfCard(boolean mobileEntryOfCard)
           
 void setNumberOfHoles(int numberOfHoles)
           
 void setScorecardDate(java.sql.Timestamp scorecardDate)
           
 void setSlope(int slope)
           
 void setTeeColor(TeeColor teeColor)
           
 void setTeeColorID(int teeColorID)
           
 void setTotalPoints(int totalPoints)
           
 void setTournamentRound(TournamentRound tournamentRound)
           
 void setTournamentRoundId(int tournamentRoundId)
           
 void setUpdateHandicap(boolean handicap)
           
 void setYearlyUpdate(boolean yearlyUpdate)
           
 
Methods inherited from class com.idega.data.GenericEntity
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addColumnName, addColumnName, addColumnName, addIndex, addIndex, addIndex, addLanguageAttribute, addManyToManyRelationShip, addManyToManyRelationShip, addManyToManyRelationShip, addManyToManyRelationShip, addManyToManyRelationShip, addManyToOneRelationship, addManyToOneRelationship, addMetaData, addMetaData, addMetaDataRelationship, addOneToOneRelationship, addOneToOneRelationship, addRelationship, addTo, addTo, addTo, addTo, addTo, addTo, addTo, addTo, addToTree, addTreeRelationShip, addUniqueIDColumn, afterInitializeAttributes, beforeInitializeAttributes, clear, clearMetaDataVectors, columnsHaveChanged, compareTo, constructArray, debug, decode, decode, delete, deleteMetaData, deleteMultiple, deleteMultiple, doInsertInCreate, ejbActivate, ejbCreate, ejbCreateIDO, ejbFindByPrimaryKey, ejbFindByPrimaryKeyCollection, ejbFindByPrimaryKeyIDO, ejbHomeCreateIDO, ejbLoad, ejbPassivate, ejbPostCreate, ejbPostCreateIDO, ejbRemove, ejbStore, empty, equals, equals, executeUpdate, fillColumn, findAll, findAll, findAll, findAllByColumn, findAllByColumn, findAllByColumn, findAllByColumn, findAllByColumn, findAllByColumn, findAllByColumnDescendingOrdered, findAllByColumnDescendingOrdered, findAllByColumnEquals, findAllByColumnEquals, findAllByColumnEquals, findAllByColumnEquals, findAllByColumnEqualsOrdered, findAllByColumnEqualsOrdered, findAllByColumnEqualsOrdered, findAllByColumnOrdered, findAllByColumnOrdered, findAllByColumnOrdered, findAllByColumnOrdered, findAllDescendingOrdered, findAllOrdered, findAssociated, findAssociatedOrdered, findByPrimaryKey, findRelated, findRelated, findRelated, findRelatedIDs, findRelatedIDs, findRelatedIDs, findReverseRelated, freeConnection, freeConnection, generateAndSetUniqueIDForIDO, getAttribute, getAttributes, getAverage, getBeanCache, getBlobColumnValue, getBooleanColumnValue, getBooleanColumnValue, getCachedEntities, getChanges, getCharColumnValue, getCharColumnValue, getColumn, getColumnNames, getColumnOutputStream, getColumnValue, getConnection, getConnection, getDatasource, getDateColumnValue, getDateTableValue, getDebugLogLevel, getDefaultLogLevel, getDoubleColumnValue, getDoubleColumnValue, getDoubleTableValue, getEditableColumnNames, getEJBLocalHome, getEJBLocalHome, getEmptyBlob, getEntityDefinition, getEntityInstance, getEntityInstance, getEntityState, getErrorLogLevel, getFieldValue, getFindReverseRelatedSQLQuery, getFloatColumnValue, getFloatColumnValue, getGenericEntityDefinition, getHandle, getID, getIDColumnName, getIDInteger, getIDOContainer, getIDOHome, getIDOUtil, getIfAutoIncrement, getIfEditable, getIfInsertStartData, getIfNullable, getIfUnique, getIfVisible, getInputStreamColumnValue, getIntColumnValue, getIntColumnValue, getIntegerColumnValue, getInterfaceClass, getIntTableValue, getIntTableValue, getIWMainApplication, getKeyValueSQLString, getLanguageIDColumnName, getLoadedEntityBeans, getLobColumnName, getLogger, getLongName, getMaxColumnValue, getMaxColumnValue, getMaxLength, getMetaData, getMetaDataAttributes, getMetaDataDelete, getMetaDataIds, getMetaDataInsert, getMetaDataTypes, getMetaDataUpdate, getName, getNameOfMiddleTable, getNumberOfRecords, getNumberOfRecords, getNumberOfRecords, getNumberOfRecords, getNumberOfRecords, getNumberOfRecords, getNumberOfRecordsForStringColumn, getNumberOfRecordsRelated, getNumberOfRecordsReverseRelated, getPK, getPrimaryKey, getPrimaryKeyClass, getPrimaryKeyValue, getPrimaryKeyValueSQLString, getRealValue, getRealValue, getRelationShipClass, getRelationShipType, getSimpleExplicitlySynchronizedEntityEntity, getStaticInstance, getStaticInstance, getStaticInstanceIDO, getStaticInstanceIDO, getStorageClass, getStorageClassName, getStorageClassType, getStringColumnValue, getTableName, getTimeColumnValue, getTimestampColumnValue, getUniqueId, getUniqueIdColumnName, getValue, getVisibleColumnNames, hasAutoIncrement, hasBeenSetNull, hashCode, hasLobColumn, hasMetaDataRelationship, hasUniqueIDColumn, idoAddTo, idoAddTo, idoAddTo, idoAddTo, idoAddTo, idoExecuteGlobalUpdate, idoExecuteTableUpdate, idoFindAllIDsByColumnBySQL, idoFindAllIDsByColumnOrderedBySQL, idoFindAllIDsByColumnOrderedBySQL, idoFindAllIDsByColumnOrderedBySQL, idoFindAllIDsByColumnOrderedBySQL, idoFindAllIDsByColumnsBySQL, idoFindAllIDsByColumnsBySQL, idoFindAllIDsByColumnsBySQL, idoFindAllIDsBySQL, idoFindAllIDsOrderedBySQL, idoFindByPrimaryKeyCollection, idoFindIDsBySQL, idoFindIDsBySQL, idoFindOnePKByColumnBySQL, idoFindOnePKByQuery, idoFindOnePKByQuery, idoFindOnePKBySQL, idoFindOnePKByUniqueId, idoFindPKsByMetaData, idoFindPKsByQuery, idoFindPKsByQuery, idoFindPKsByQuery, idoFindPKsByQuery, idoFindPKsByQuery, idoFindPKsByQuery, idoFindPKsByQueryIgnoringCacheAndUsingLoadBalance, idoFindPKsByQueryIgnoringCacheAndUsingLoadBalance, idoFindPKsByQueryUsingLoadBalance, idoFindPKsBySQL, idoFindPKsBySQL, idoFindPKsBySQL, idoFindPKsBySQL, idoFindPKsBySQLIgnoringCache, idoFindPKsBySQLIgnoringCache, idoGetAverage, idoGetNumberOfRecords, idoGetNumberOfRecords, idoGetNumberOfRecords, idoGetNumberOfRecords, idoGetRelatedEntities, idoGetRelatedEntities, idoGetRelatedEntities, idoGetRelatedEntities, idoGetRelatedEntitiesBySQL, idoGetRelatedEntitiesOrderedByColumn, idoGetRelatedEntityPKs, idoGetRelatedEntityPKs, idoGetRelatedEntityPKs, idoGetReverseRelatedEntities, idoGetValueFromSingleValueResultSet, idoGetValueFromSingleValueResultSet, idoQuery, idoQuery, idoQueryGetSelect, idoQueryGetSelectCount, idoQueryTable, idoRemoveFrom, idoRemoveFrom, idoRemoveFrom, idoRemoveFrom, idoRemoveRelationsTo, idoRemoveRelationTo, idoSelectPKQuery, idoSelectQuery, initializeColumnValue, insert, insert, insertForCreate, insertMetaData, insertStartData, isColumnValueNotEmpty, isDebugActive, isIdColumnValueNotEmpty, isIdentical, isIdentical, isInSynchWithDatastore, isNull, isPrimaryKey, isPrimaryKeyColumn, isStoredValueNull, log, log, log, logConfig, logDebug, logError, logSevere, logSQL, logWarning, metaDataHasChanged, metaDataHasChanged, moveChildrenToCurrent, preEjbLoad, remove, removeAllMetaData, removeFrom, removeFrom, removeFrom, removeFrom, removeFrom, removeFrom, removeFrom, removeFromColumn, removeMetaData, renameMetaData, renameMetaData, reverseRemoveFrom, setAsPrimaryKey, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setColumnAsNull, setDatasource, setDatasource, setDefaultValues, setEditable, setEJBLocalHome, setEntityContext, setEntityState, setGenericEntityDefinition, setID, setID, setLongName, setMaxLength, setMetaData, setMetaData, setMetaDataAttributes, setName, setNullable, setPrimaryKey, setPrimaryKey, setRelationShipClassName, setRelationShipType, setStorageClass, setStorageClassName, setStorageClassType, setStringColumn, setToInsertStartData, setUnique, setUniqueId, setValue, setValue, setVisible, store, toString, unsetEntityContext, update, update, updateMetaData
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.idega.data.IDOLegacyEntity
addMetaData, addMetaData, addTo, addTo, addTo, addTo, addTo, addTo, addTo, addTreeRelationShip, clear, columnsHaveChanged, constructArray, delete, deleteMetaData, deleteMultiple, deleteMultiple, empty, fillColumn, findAll, findAll, findAll, findAllByColumn, findAllByColumn, findAllByColumn, findAllByColumn, findAllByColumn, findAllByColumn, findAllByColumnDescendingOrdered, findAllByColumnDescendingOrdered, findAllByColumnEquals, findAllByColumnEquals, findAllByColumnEquals, findAllByColumnEquals, findAllByColumnEqualsOrdered, findAllByColumnEqualsOrdered, findAllByColumnEqualsOrdered, findAllByColumnOrdered, findAllByColumnOrdered, findAllByColumnOrdered, findAllByColumnOrdered, findAllDescendingOrdered, findAllOrdered, findAssociated, findAssociatedOrdered, findByPrimaryKey, findRelated, findRelated, findRelatedIDs, findRelatedIDs, findReverseRelated, freeConnection, freeConnection, getBlobColumnValue, getBooleanColumnValue, getCharColumnValue, getColumn, getColumnNames, getColumnOutputStream, getColumnValue, getConnection, getConnection, getDatasource, getDoubleColumnValue, getEditableColumnNames, getEmptyBlob, getEntityState, getFloatColumnValue, getID, getIDColumnName, getIDInteger, getIfEditable, getIfInsertStartData, getIfNullable, getIfUnique, getIfVisible, getInputStreamColumnValue, getIntColumnValue, getIntegerColumnValue, getIntTableValue, getLobColumnName, getLongName, getMaxColumnValue, getMaxColumnValue, getMaxLength, getMetaDataDelete, getMetaDataIds, getMetaDataInsert, getMetaDataUpdate, getName, getNameOfMiddleTable, getNumberOfRecords, getNumberOfRecords, getNumberOfRecords, getNumberOfRecords, getNumberOfRecords, getNumberOfRecordsRelated, getNumberOfRecordsReverseRelated, getPrimaryKeyValue, getRelationShipClass, getRelationShipType, getStorageClassName, getStorageClassType, getStringColumnValue, getTableName, getVisibleColumnNames, hasBeenSetNull, hasLobColumn, hasMetaDataRelationship, insert, insert, insertMetaData, isInSynchWithDatastore, isNull, isPrimaryKey, metaDataHasChanged, metaDataHasChanged, removeFrom, removeFrom, removeFrom, removeFrom, removeFrom, removeFromColumn, removeMetaData, reverseRemoveFrom, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setColumn, setDatasource, setDefaultValues, setEntityState, setID, setID, setLongName, setMaxLength, setName, setNullable, setRelationShipClassName, setRelationShipType, setStorageClassName, setStorageClassType, setStringColumn, setToInsertStartData, setUnique, setVisible, toString, update, update, updateMetaData
 
Methods inherited from interface com.idega.data.IDOEntity
decode, decode, getEntityDefinition, store
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface com.idega.data.MetaDataCapable
getMetaData, getMetaDataAttributes, getMetaDataTypes, renameMetaData, renameMetaData, setMetaData, setMetaData, setMetaDataAttributes
 
Methods inherited from interface com.idega.data.UniqueIDCapable
getUniqueId, setUniqueId
 

Field Detail

COLUMN_SCORECARD

public static final java.lang.String COLUMN_SCORECARD
See Also:
Constant Field Values

COLUMN_MEMBER

public static final java.lang.String COLUMN_MEMBER
See Also:
Constant Field Values

COLUMN_TOURNAMENT_ROUND

public static final java.lang.String COLUMN_TOURNAMENT_ROUND
See Also:
Constant Field Values

COLUMN_SCORECARD_DATE

public static final java.lang.String COLUMN_SCORECARD_DATE
See Also:
Constant Field Values

COLUMN_TOTAL_POINTS

public static final java.lang.String COLUMN_TOTAL_POINTS
See Also:
Constant Field Values

COLUMN_HANDICAP_BEFORE

public static final java.lang.String COLUMN_HANDICAP_BEFORE
See Also:
Constant Field Values

COLUMN_HANDICAP_AFTER

public static final java.lang.String COLUMN_HANDICAP_AFTER
See Also:
Constant Field Values

COLUMN_SLOPE

public static final java.lang.String COLUMN_SLOPE
See Also:
Constant Field Values

COLUMN_COURSE_RATING

public static final java.lang.String COLUMN_COURSE_RATING
See Also:
Constant Field Values

COLUMN_FIELD

public static final java.lang.String COLUMN_FIELD
See Also:
Constant Field Values

COLUMN_TEE_COLOR

public static final java.lang.String COLUMN_TEE_COLOR
See Also:
Constant Field Values

COLUMN_HANDICAP_CORRECTION

public static final java.lang.String COLUMN_HANDICAP_CORRECTION
See Also:
Constant Field Values

COLUMN_YEARLY_UPDATE

public static final java.lang.String COLUMN_YEARLY_UPDATE
See Also:
Constant Field Values

COLUMN_UPDATE_HANDICAP

public static final java.lang.String COLUMN_UPDATE_HANDICAP
See Also:
Constant Field Values

COLUMN_FOREIGN_ROUND

public static final java.lang.String COLUMN_FOREIGN_ROUND
See Also:
Constant Field Values

COLUMN_FOREIGN_COURSE_NAME

public static final java.lang.String COLUMN_FOREIGN_COURSE_NAME
See Also:
Constant Field Values

COLUMN_EXTRA_POINTS

public static final java.lang.String COLUMN_EXTRA_POINTS
See Also:
Constant Field Values

COLUMN_CREATED_DATE

public static final java.lang.String COLUMN_CREATED_DATE
See Also:
Constant Field Values

COLUMN_CARD_WRITER

public static final java.lang.String COLUMN_CARD_WRITER
See Also:
Constant Field Values

COLUMN_CARD_STATUS

public static final java.lang.String COLUMN_CARD_STATUS
See Also:
Constant Field Values

COLUMN_NUMBER_OF_HOLES

public static final java.lang.String COLUMN_NUMBER_OF_HOLES
See Also:
Constant Field Values

COLUMN_EXTERNAL_ENTRY

public static final java.lang.String COLUMN_EXTERNAL_ENTRY
See Also:
Constant Field Values

COLUMN_MOBILE_ENTRY

public static final java.lang.String COLUMN_MOBILE_ENTRY
See Also:
Constant Field Values

TABLE_NAME

public static final java.lang.String TABLE_NAME
See Also:
Constant Field Values
Constructor Detail

ScorecardBMPBean

public ScorecardBMPBean()
Method Detail

initializeAttributes

public void initializeAttributes()
Specified by:
initializeAttributes in class com.idega.data.GenericEntity

getEntityName

public java.lang.String getEntityName()
Specified by:
getEntityName in interface com.idega.data.IDOLegacyEntity
Specified by:
getEntityName in class com.idega.data.GenericEntity

getMemberId

public int getMemberId()
Specified by:
getMemberId in interface Scorecard
See Also:
getMemberId()

setMemberId

public void setMemberId(int memberId)
Specified by:
setMemberId in interface Scorecard
See Also:
setMemberId(int)

getTournamentRoundId

public int getTournamentRoundId()
Specified by:
getTournamentRoundId in interface Scorecard
See Also:
getTournamentRoundId()

setTournamentRoundId

public void setTournamentRoundId(int tournamentRoundId)
Specified by:
setTournamentRoundId in interface Scorecard
See Also:
setTournamentRoundId(int)

getTournamentRound

public TournamentRound getTournamentRound()
Specified by:
getTournamentRound in interface Scorecard
See Also:
getTournamentRound()

setTournamentRound

public void setTournamentRound(TournamentRound tournamentRound)
Specified by:
setTournamentRound in interface Scorecard
See Also:
setTournamentRound(is.idega.idegaweb.golf.entity.TournamentRound)

getScorecardDate

public java.sql.Timestamp getScorecardDate()
Specified by:
getScorecardDate in interface Scorecard
See Also:
getScorecardDate()

setScorecardDate

public void setScorecardDate(java.sql.Timestamp scorecardDate)
Specified by:
setScorecardDate in interface Scorecard
See Also:
setScorecardDate(java.sql.Timestamp)

getTotalPoints

public int getTotalPoints()
Specified by:
getTotalPoints in interface Scorecard
See Also:
getTotalPoints()

setTotalPoints

public void setTotalPoints(int totalPoints)
Specified by:
setTotalPoints in interface Scorecard
See Also:
setTotalPoints(int)

getHandicapBefore

public float getHandicapBefore()
Specified by:
getHandicapBefore in interface Scorecard
See Also:
getHandicapBefore()

setHandicapBefore

public void setHandicapBefore(float handicapBefore)
Specified by:
setHandicapBefore in interface Scorecard
See Also:
setHandicapBefore(float)

getHandicapAfter

public float getHandicapAfter()
Specified by:
getHandicapAfter in interface Scorecard
See Also:
getHandicapAfter()

setHandicapAfter

public void setHandicapAfter(float handicapAfter)
Specified by:
setHandicapAfter in interface Scorecard
See Also:
setHandicapAfter(float)

setMember

public void setMember(Member member)
Specified by:
setMember in interface Scorecard
See Also:
setMember(is.idega.idegaweb.golf.entity.Member)

getMember

public Member getMember()
Specified by:
getMember in interface Scorecard
See Also:
getMember()

getSlope

public int getSlope()
Specified by:
getSlope in interface Scorecard
See Also:
getSlope()

setSlope

public void setSlope(int slope)
Specified by:
setSlope in interface Scorecard
See Also:
setSlope(int)

getCourseRating

public float getCourseRating()
Specified by:
getCourseRating in interface Scorecard
See Also:
getCourseRating()

setCourseRating

public void setCourseRating(float courseRating)
Specified by:
setCourseRating in interface Scorecard
See Also:
setCourseRating(float)

getFieldID

public int getFieldID()
Specified by:
getFieldID in interface Scorecard
See Also:
getFieldID()

getField

public Field getField()
Specified by:
getField in interface Scorecard
See Also:
getField()

setField

public void setField(Field field)
Specified by:
setField in interface Scorecard
See Also:
setField(is.idega.idegaweb.golf.entity.Field)

setFieldID

public void setFieldID(int fieldID)
Specified by:
setFieldID in interface Scorecard
See Also:
setFieldID(int)

getTeeColor

public TeeColor getTeeColor()
Specified by:
getTeeColor in interface Scorecard
See Also:
getTeeColor()

getTeeColorID

public int getTeeColorID()
Specified by:
getTeeColorID in interface Scorecard
See Also:
getTeeColorID()

setTeeColor

public void setTeeColor(TeeColor teeColor)
Specified by:
setTeeColor in interface Scorecard
See Also:
setTeeColor(is.idega.idegaweb.golf.entity.TeeColor)

setTeeColorID

public void setTeeColorID(int teeColorID)
Specified by:
setTeeColorID in interface Scorecard
See Also:
setTeeColorID(int)

getHandicapCorrection

public boolean getHandicapCorrection()
Specified by:
getHandicapCorrection in interface Scorecard
See Also:
getHandicapCorrection()

setHandicapCorrection

public void setHandicapCorrection(boolean correction)
Specified by:
setHandicapCorrection in interface Scorecard
See Also:
setHandicapCorrection(boolean)

getYearlyUpdate

public boolean getYearlyUpdate()
Specified by:
getYearlyUpdate in interface Scorecard
See Also:
getYearlyUpdate()

setYearlyUpdate

public void setYearlyUpdate(boolean yearlyUpdate)
Specified by:
setYearlyUpdate in interface Scorecard
See Also:
setYearlyUpdate(boolean)

getUpdateHandicap

public boolean getUpdateHandicap()
Specified by:
getUpdateHandicap in interface Scorecard
See Also:
getUpdateHandicap()

setUpdateHandicap

public void setUpdateHandicap(boolean handicap)
Specified by:
setUpdateHandicap in interface Scorecard
See Also:
setUpdateHandicap(boolean)

delete

public void delete()
            throws java.sql.SQLException
Specified by:
delete in interface com.idega.data.IDOLegacyEntity
Overrides:
delete in class com.idega.data.GenericEntity
Throws:
java.sql.SQLException

setForeignRound

public void setForeignRound(boolean foreign)
Specified by:
setForeignRound in interface Scorecard
See Also:
setForeignRound(boolean)

getForeignRound

public boolean getForeignRound()
Specified by:
getForeignRound in interface Scorecard
See Also:
getForeignRound()

setForeignCourseName

public void setForeignCourseName(java.lang.String name)
Specified by:
setForeignCourseName in interface Scorecard
See Also:
setForeignCourseName(java.lang.String)

getForeignCourseName

public java.lang.String getForeignCourseName()
Specified by:
getForeignCourseName in interface Scorecard
See Also:
getForeignCourseName()

setExtraPoints

public void setExtraPoints(int extraPoints)
Specified by:
setExtraPoints in interface Scorecard
See Also:
setExtraPoints(int)

getExtraPoints

public int getExtraPoints()
Specified by:
getExtraPoints in interface Scorecard
See Also:
getExtraPoints()

setExternalEntryOfCard

public void setExternalEntryOfCard(boolean externalEntryOfCard)
Specified by:
setExternalEntryOfCard in interface Scorecard
See Also:
setExternalEntryOfCard(boolean)

getExternalEntryOfCard

public boolean getExternalEntryOfCard()
Specified by:
getExternalEntryOfCard in interface Scorecard
See Also:
getExternalEntryOfCard()

setMobileEntryOfCard

public void setMobileEntryOfCard(boolean mobileEntryOfCard)
Specified by:
setMobileEntryOfCard in interface Scorecard
See Also:
setMobileEntryOfCard(boolean)

getMobileEntryOfCard

public boolean getMobileEntryOfCard()
Specified by:
getMobileEntryOfCard in interface Scorecard
See Also:
getMobileEntryOfCard()

getCardWriter

public Member getCardWriter()
Specified by:
getCardWriter in interface Scorecard
See Also:
getCardWriter()

setCardWriter

public void setCardWriter(Member cardWriter)
Specified by:
setCardWriter in interface Scorecard
See Also:
setCardWriter(is.idega.idegaweb.golf.entity.Member)

getCardStatus

public java.lang.String getCardStatus()
Specified by:
getCardStatus in interface Scorecard
See Also:
getCardStatus()

setCardStatus

public void setCardStatus(java.lang.String cardStatus)
Specified by:
setCardStatus in interface Scorecard
See Also:
setCardStatus(java.lang.String)

getNumberOfHoles

public int getNumberOfHoles()
Specified by:
getNumberOfHoles in interface Scorecard
See Also:
getNumberOfHoles()

setNumberOfHoles

public void setNumberOfHoles(int numberOfHoles)
Specified by:
setNumberOfHoles in interface Scorecard
See Also:
setNumberOfHoles(int)

getCreatedDate

public java.sql.Timestamp getCreatedDate()
Specified by:
getCreatedDate in interface Scorecard
See Also:
getCreatedDate()

setCreatedDate

public void setCreatedDate(java.sql.Timestamp createdDate)
Specified by:
setCreatedDate in interface Scorecard
See Also:
setCreatedDate(java.sql.Timestamp)

ejbFindByUniqueID

public java.lang.Object ejbFindByUniqueID(java.lang.String uniqueID)
                                   throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbHomeGetCountRoundsPlayedByMember

public int ejbHomeGetCountRoundsPlayedByMember(int member)
                                        throws com.idega.data.IDOException
Throws:
com.idega.data.IDOException

ejbHomeGetCountRoundsPlayedByMember

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

ejbHomeGetSumPointsByMember

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

ejbHomeGetNumberOfRoundsAfterDateByMember

public int ejbHomeGetNumberOfRoundsAfterDateByMember(int member,
                                                     java.sql.Date scorecardDate)
                                              throws com.idega.data.IDOException
Throws:
com.idega.data.IDOException

ejbFindBestRoundAfterDateByMember

public java.lang.Integer ejbFindBestRoundAfterDateByMember(int member,
                                                           java.sql.Date scorecardDate)
                                                    throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindLastPlayedRoundByMember

public java.lang.Integer ejbFindLastPlayedRoundByMember(int member)
                                                 throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindLastPlayedRoundByMember

public java.lang.Integer ejbFindLastPlayedRoundByMember(int member,
                                                        java.sql.Date date)
                                                 throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindAllByGolfer

public java.util.Collection ejbFindAllByGolfer(int memberID,
                                               boolean ascending)
                                        throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindAllByGolfer

public java.util.Collection ejbFindAllByGolfer(int memberID,
                                               int numberOfRecords,
                                               boolean ascending)
                                        throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindAllByGolfer

public java.util.Collection ejbFindAllByGolfer(int memberID,
                                               java.sql.Date dateFrom,
                                               java.sql.Date dateTo,
                                               boolean ascending)
                                        throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindAllByGolfer

public java.util.Collection<java.lang.Object> ejbFindAllByGolfer(int memberID,
                                                                 java.sql.Date dateFrom,
                                                                 java.sql.Date dateTo,
                                                                 int numberOfRecords,
                                                                 boolean ascending)
Parameters:
memberID - is EJBLocalObject.getPrimaryKey() to filter by, not null;
dateFrom - is floor of Scorecard.getScorecardDate(), skipped if null;
dateTo - is ceiling of Scorecard.getScorecardDate(), skipped if null;
numberOfRecords - is number of entries to get from data source, skipped if -1;
ascending - tells if results should be sorted by Scorecard.getScorecardDate() in ascending order;
Returns:
Collection of EJBLocalObject.getPrimaryKey()s found in data source or Collections.emptyList() on failure;

ejbFindAllByTournamentRound

public java.util.Collection ejbFindAllByTournamentRound(TournamentRound round)
                                                 throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindAllByGolferAndTournamentRound

public java.lang.Object ejbFindAllByGolferAndTournamentRound(Member member,
                                                             TournamentRound round)
                                                      throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindAllByGolferAndTournament

public java.util.Collection ejbFindAllByGolferAndTournament(Member member,
                                                            Tournament tournament)
                                                     throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindAllByUnionAndDate

public java.util.Collection ejbFindAllByUnionAndDate(Union union,
                                                     java.sql.Date dateFrom,
                                                     java.sql.Date dateTo)
                                              throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindAllByGolfer

public java.util.Collection ejbFindAllByGolfer(Member member,
                                               ScorecardStatus status)
                                        throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindByGolferAndFieldAndDate

public java.lang.Object ejbFindByGolferAndFieldAndDate(Member member,
                                                       Field field,
                                                       java.sql.Date date,
                                                       ScorecardStatus status)
                                                throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindAllByCardWriterAndStatus

public java.util.Collection ejbFindAllByCardWriterAndStatus(Member member,
                                                            java.util.List<ScorecardStatus> statuses)
                                                     throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindAllByStatuses

public java.util.Collection ejbFindAllByStatuses(java.util.List<ScorecardStatus> statuses)
                                          throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException


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