is.idega.idegaweb.golf.entity
Class TournamentGroupBMPBean

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

public class TournamentGroupBMPBean
extends GroupBMPBean
implements TournamentGroup

Version:
1.2
Author:
Tryggvi Larusson
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_GENDER
           
static java.lang.String COLUMN_HANDICAP_MAX
           
static java.lang.String COLUMN_HANDICAP_MIN
           
static java.lang.String COLUMN_MAXIMUM_AGE
           
static java.lang.String COLUMN_MINIMUM_AGE
           
static java.lang.String COLUMN_TEE_COLOR_ID
           
static java.lang.String COLUMN_UNION_ID
           
 
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
TournamentGroupBMPBean()
           
 
Method Summary
 java.util.Collection<java.lang.Object> ejbFindByMember(Member member)
           
 java.lang.String getDescription()
           
 java.lang.String getEntityName()
           
 java.lang.String getExtraInfo()
           
 char getGender()
           
 java.lang.String getGenderString()
           
 java.lang.String getGroupType()
           
 int getMaxAge()
           
 float getMaxHandicap()
           
 int getMinAge()
           
 float getMinHandicap()
           
 java.lang.String getName()
           
 int getRegistrationFee(int tournament_id)
           
 int getRegistrationFee(Tournament tournament)
           
 TeeColor getTeeColor()
           
 int getTeeColorID()
           
 java.util.List getTournamentGroupsForUnion(int union_id)
           
 java.util.List getTournamentGroupsForUnion(Union union)
           
 Union getUnion()
           
 int getUnionID()
           
 void initializeAttributes()
           
 boolean isValid()
           
 void setDefaultValues()
           
 void setDescription(java.lang.String description)
           
 void setExtraInfo(java.lang.String extra_info)
           
 void setGender(java.lang.String gender)
           
 void setGroupType(java.lang.String group_type)
           
 void setMaxAge(int age)
           
 void setMaxHandicap(float handicap)
           
 void setMinAge(int age)
           
 void setMinHandicap(float handicap)
           
 void setName(java.lang.String name)
           
 void setTeeColor(int tee_color_id)
           
 void setTeeColor(TeeColor color)
           
 void setUnion(Union union)
           
 void setUnionID(int union_id)
           
 void setValid(boolean valid)
           
 
Methods inherited from class is.idega.idegaweb.golf.entity.GroupBMPBean
findOneByName, getClassName
 
Methods inherited from class com.idega.data.genericentity.GroupBMPBean
addGroup, addMember, getAllGroupsContainingMember, getAllGroupsContainingThis, getExtraInfoColumnName, getGroupDescriptionColumnName, getGroupTypeColumnName, getGroupTypeValue, getNameColumnName, getStaticInstance
 
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, 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, 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, setEditable, setEJBLocalHome, setEntityContext, setEntityState, setGenericEntityDefinition, setID, setID, setLongName, setMaxLength, setMetaData, setMetaData, setMetaDataAttributes, 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.genericentity.Group
addGroup, addMember, getAllGroupsContainingMember, getAllGroupsContainingThis, getGroupTypeValue
 
Methods inherited from interface com.idega.data.IDOLegacyEntity
addMetaData, addMetaData, addTo, addTo, addTo, addTo, addTo, addTo, addTo, addTreeRelationShip, clear, columnsHaveChanged, constructArray, delete, 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, 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, setEntityState, setID, setID, setLongName, setMaxLength, 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
 

Field Detail

COLUMN_UNION_ID

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

COLUMN_TEE_COLOR_ID

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

COLUMN_HANDICAP_MIN

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

COLUMN_HANDICAP_MAX

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

COLUMN_MINIMUM_AGE

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

COLUMN_MAXIMUM_AGE

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

COLUMN_GENDER

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

TournamentGroupBMPBean

public TournamentGroupBMPBean()
Method Detail

initializeAttributes

public void initializeAttributes()
Overrides:
initializeAttributes in class GroupBMPBean

getEntityName

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

setDefaultValues

public void setDefaultValues()
Specified by:
setDefaultValues in interface com.idega.data.genericentity.Group
Specified by:
setDefaultValues in interface com.idega.data.IDOLegacyEntity
Specified by:
setDefaultValues in interface TournamentGroup
Overrides:
setDefaultValues in class com.idega.data.genericentity.GroupBMPBean

setName

public void setName(java.lang.String name)
Specified by:
setName in interface com.idega.data.genericentity.Group
Specified by:
setName in interface com.idega.data.IDOLegacyEntity
Specified by:
setName in interface TournamentGroup
Overrides:
setName in class com.idega.data.genericentity.GroupBMPBean

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface com.idega.data.genericentity.Group
Specified by:
getDescription in interface TournamentGroup
Overrides:
getDescription in class com.idega.data.genericentity.GroupBMPBean

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface com.idega.data.genericentity.Group
Specified by:
setDescription in interface TournamentGroup
Overrides:
setDescription in class com.idega.data.genericentity.GroupBMPBean

getExtraInfo

public java.lang.String getExtraInfo()
Specified by:
getExtraInfo in interface com.idega.data.genericentity.Group
Specified by:
getExtraInfo in interface TournamentGroup
Overrides:
getExtraInfo in class com.idega.data.genericentity.GroupBMPBean

setExtraInfo

public void setExtraInfo(java.lang.String extra_info)
Specified by:
setExtraInfo in interface com.idega.data.genericentity.Group
Specified by:
setExtraInfo in interface TournamentGroup
Overrides:
setExtraInfo in class com.idega.data.genericentity.GroupBMPBean

getGroupType

public java.lang.String getGroupType()
Specified by:
getGroupType in interface com.idega.data.genericentity.Group
Specified by:
getGroupType in interface TournamentGroup
Overrides:
getGroupType in class com.idega.data.genericentity.GroupBMPBean

setGroupType

public void setGroupType(java.lang.String group_type)
Specified by:
setGroupType in interface com.idega.data.genericentity.Group
Specified by:
setGroupType in interface TournamentGroup
Overrides:
setGroupType in class com.idega.data.genericentity.GroupBMPBean

getRegistrationFee

public int getRegistrationFee(Tournament tournament)
Specified by:
getRegistrationFee in interface TournamentGroup

getRegistrationFee

public int getRegistrationFee(int tournament_id)
Specified by:
getRegistrationFee in interface TournamentGroup

getMinHandicap

public float getMinHandicap()
Specified by:
getMinHandicap in interface TournamentGroup

setMinHandicap

public void setMinHandicap(float handicap)
Specified by:
setMinHandicap in interface TournamentGroup

getMaxHandicap

public float getMaxHandicap()
Specified by:
getMaxHandicap in interface TournamentGroup

setMaxHandicap

public void setMaxHandicap(float handicap)
Specified by:
setMaxHandicap in interface TournamentGroup

getMinAge

public int getMinAge()
Specified by:
getMinAge in interface TournamentGroup

setMinAge

public void setMinAge(int age)
Specified by:
setMinAge in interface TournamentGroup

getMaxAge

public int getMaxAge()
Specified by:
getMaxAge in interface TournamentGroup

setMaxAge

public void setMaxAge(int age)
Specified by:
setMaxAge in interface TournamentGroup

setGender

public void setGender(java.lang.String gender)
Specified by:
setGender in interface TournamentGroup

getGender

public char getGender()
Specified by:
getGender in interface TournamentGroup

getGenderString

public java.lang.String getGenderString()
Specified by:
getGenderString in interface TournamentGroup

getName

public java.lang.String getName()
Specified by:
getName in interface com.idega.data.genericentity.Group
Specified by:
getName in interface com.idega.data.IDOLegacyEntity
Specified by:
getName in interface TournamentGroup
Overrides:
getName in class com.idega.data.genericentity.GroupBMPBean

getTeeColor

public TeeColor getTeeColor()
Specified by:
getTeeColor in interface TournamentGroup

getTeeColorID

public int getTeeColorID()
Specified by:
getTeeColorID in interface TournamentGroup

setTeeColor

public void setTeeColor(TeeColor color)
Specified by:
setTeeColor in interface TournamentGroup

setTeeColor

public void setTeeColor(int tee_color_id)
Specified by:
setTeeColor in interface TournamentGroup

setUnion

public void setUnion(Union union)
Specified by:
setUnion in interface TournamentGroup

setUnionID

public void setUnionID(int union_id)
Specified by:
setUnionID in interface TournamentGroup

getUnion

public Union getUnion()
Specified by:
getUnion in interface TournamentGroup

getUnionID

public int getUnionID()
Specified by:
getUnionID in interface TournamentGroup

isValid

public boolean isValid()
Specified by:
isValid in interface TournamentGroup

setValid

public void setValid(boolean valid)
Specified by:
setValid in interface TournamentGroup

getTournamentGroupsForUnion

public java.util.List getTournamentGroupsForUnion(Union union)
                                           throws java.lang.Exception
Specified by:
getTournamentGroupsForUnion in interface TournamentGroup
Throws:
java.lang.Exception

getTournamentGroupsForUnion

public java.util.List getTournamentGroupsForUnion(int union_id)
                                           throws java.lang.Exception
Specified by:
getTournamentGroupsForUnion in interface TournamentGroup
Throws:
java.lang.Exception

ejbFindByMember

public java.util.Collection<java.lang.Object> ejbFindByMember(Member member)
Parameters:
member - to search by, not null;
Returns:
Collection of EJBLocalObject.getPrimaryKey() or Collections.emptyList() on failure;


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