is.idega.idegaweb.golf.entity
Class TournamentMemberBMPBean

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

public class TournamentMemberBMPBean
extends com.idega.data.GenericEntity
implements TournamentMember

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_NAME_DISMISSAL_ID
           
static java.lang.String COLUMN_NAME_TOURNAMENT_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
 
Constructor Summary
TournamentMemberBMPBean()
           
 
Method Summary
protected  boolean doInsertInCreate()
           
 java.lang.Object ejbCreate(TournamentMemberPK primaryKey)
           
 java.util.Collection<java.lang.Object> ejbFindBy(java.lang.String tournamentId, java.lang.Boolean dismissed)
           
 java.lang.Object ejbFindByPrimaryKey(java.lang.Object primaryKey)
           
 java.lang.Object ejbFindByPrimaryKey(TournamentMemberPK primaryKey)
           
 java.util.Collection<java.lang.Object> ejbFindByTournament(Tournament tournament)
           
 java.util.Collection<java.lang.Object> ejbFindByTournaments(java.util.Collection<Tournament> tournaments, java.lang.Boolean dismissed)
           
 java.util.Collection ejbFindWithCreditcardPayment(java.util.Collection products)
           
 com.idega.block.creditcard.data.CreditCardAuthorizationEntry getAuthorizationEntry()
           
 Dismissal getDismissal()
           
 java.lang.String getEntityName()
           
 Member getMember()
           
 java.lang.Class getPrimaryKeyClass()
           
 Tournament getTournament()
           
 TournamentGroup getTournamentGroup()
           
 int getTournamentGroupId()
           
 Union getUnion()
           
 void initializeAttributes()
           
 boolean isPaid()
           
 void setAuthorizationEntry(com.idega.block.creditcard.data.TPosAuthorisationEntriesBean entry)
           
 void setDismissal(int dismissalID)
           
 
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, ejbActivate, ejbCreate, ejbCreateIDO, 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, 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, wait, wait, wait
 
Methods inherited from interface com.idega.data.IDOEntity
decode, decode, getDatasource, getEntityDefinition, setDatasource, store
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

COLUMN_NAME_TOURNAMENT_ID

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

COLUMN_NAME_DISMISSAL_ID

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

TournamentMemberBMPBean

public TournamentMemberBMPBean()
Method Detail

getEntityName

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

initializeAttributes

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

ejbFindByPrimaryKey

public java.lang.Object ejbFindByPrimaryKey(TournamentMemberPK primaryKey)
                                     throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindByPrimaryKey

public java.lang.Object ejbFindByPrimaryKey(java.lang.Object primaryKey)
                                     throws javax.ejb.FinderException
Specified by:
ejbFindByPrimaryKey in interface com.idega.data.IDOEntityBean
Overrides:
ejbFindByPrimaryKey in class com.idega.data.GenericEntity
Throws:
javax.ejb.FinderException

ejbCreate

public java.lang.Object ejbCreate(TournamentMemberPK primaryKey)
                           throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

getPrimaryKeyClass

public java.lang.Class getPrimaryKeyClass()
Specified by:
getPrimaryKeyClass in interface com.idega.data.IDOEntityBean
Specified by:
getPrimaryKeyClass in interface TournamentMember
Overrides:
getPrimaryKeyClass in class com.idega.data.GenericEntity
See Also:
getPrimaryKeyClass()

doInsertInCreate

protected boolean doInsertInCreate()
Overrides:
doInsertInCreate in class com.idega.data.GenericEntity

getAuthorizationEntry

public com.idega.block.creditcard.data.CreditCardAuthorizationEntry getAuthorizationEntry()
Specified by:
getAuthorizationEntry in interface TournamentMember
See Also:
getAuthorizationEntry()

setAuthorizationEntry

public void setAuthorizationEntry(com.idega.block.creditcard.data.TPosAuthorisationEntriesBean entry)
Specified by:
setAuthorizationEntry in interface TournamentMember
See Also:
setAuthorizationEntry(com.idega.block.creditcard.data.TPosAuthorisationEntriesBean)

setDismissal

public void setDismissal(int dismissalID)
Specified by:
setDismissal in interface TournamentMember

getTournamentGroupId

public int getTournamentGroupId()
Specified by:
getTournamentGroupId in interface TournamentMember
See Also:
getTournamentGroupId()

isPaid

public boolean isPaid()
Specified by:
isPaid in interface TournamentMember
See Also:
isPaid()

ejbFindWithCreditcardPayment

public java.util.Collection ejbFindWithCreditcardPayment(java.util.Collection products)
                                                  throws javax.ejb.FinderException,
                                                         com.idega.data.IDORelationshipException
Throws:
javax.ejb.FinderException
com.idega.data.IDORelationshipException

ejbFindByTournament

public java.util.Collection<java.lang.Object> ejbFindByTournament(Tournament tournament)
Parameters:
tournament - to search Members for, not null;
Returns:
Collection of EJBLocalObject.getPrimaryKey()s or Collections.emptyList() on failure;

ejbFindByTournaments

public java.util.Collection<java.lang.Object> ejbFindByTournaments(java.util.Collection<Tournament> tournaments,
                                                                   java.lang.Boolean dismissed)
Parameters:
tournaments - to search by, not null;
dismissed - is true when only not arrived Members are required, false when only arrived Members are required and null on failure;
Returns:
Collection of EJBLocalObject.getPrimaryKey()s or Collections.emptyList() on failure;

ejbFindBy

public java.util.Collection<java.lang.Object> ejbFindBy(java.lang.String tournamentId,
                                                        java.lang.Boolean dismissed)
Parameters:
tournamentId - is EJBLocalObject.getPrimaryKey() to search by, not null;
dismissed - is true when only not arrived Members are required, false when only arrived Members are required and null on failure;
Returns:
Collection of EJBLocalObject.getPrimaryKey()s or Collections.emptyList() on failure;

getMember

public Member getMember()
Specified by:
getMember in interface TournamentMember

getTournament

public Tournament getTournament()
Specified by:
getTournament in interface TournamentMember

getTournamentGroup

public TournamentGroup getTournamentGroup()
Specified by:
getTournamentGroup in interface TournamentMember

getUnion

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

getDismissal

public Dismissal getDismissal()
Specified by:
getDismissal in interface TournamentMember


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