is.idega.idegaweb.golf.entity
Class MemberBMPBean

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

public class MemberBMPBean
extends com.idega.data.GenericEntity
implements Member, com.idega.data.MetaDataCapable, com.idega.data.ExplicitlySynchronizedEntity

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_BIRTH_DATE
           
static java.lang.String COLUMN_NAME_EMAIL
           
static java.lang.String COLUMN_NAME_FIRST_NAME
           
static java.lang.String COLUMN_NAME_GENDER
           
static java.lang.String COLUMN_NAME_LAST_NAME
           
static java.lang.String COLUMN_NAME_SOCIAL_SECURITY_NUMBER
           
static java.lang.String COLUMNNAME_IC_USER_ID
           
 boolean debug
           
static java.lang.String SYNCHRONIZATION_KEY
           
 
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
MemberBMPBean()
           
 
Method Summary
 void addGroup(Group group)
           
 void addPhone(Phone phone)
           
 void delete()
           
 java.util.Collection ejbFindAll()
           
 java.util.Collection<java.lang.Object> ejbFindAll(java.util.Collection<? extends Union> unions, java.util.Collection<Tournament> tournaments, java.lang.String personalId, java.lang.String email, java.lang.Integer ageFrom, java.lang.Integer ageTo, java.lang.Character gender, java.lang.Boolean hasTeeTimes, java.lang.Character active, java.lang.String membershipType, java.lang.Integer startingFrom, java.lang.Integer entitiesAmount)
           
 java.util.Collection<java.lang.Object> ejbFindAll(java.util.Collection<Union> unions, java.util.Collection<Tournament> tournaments, java.lang.String personalId, java.lang.String email, java.lang.Boolean hasTeeTimes, java.lang.Integer startingFrom, java.lang.Integer entitiesAmount)
           
 java.util.Collection ejbFindAllByCriteria(java.lang.String personalID, java.lang.String firstName, java.lang.String middleName, java.lang.String lastName)
           
 java.util.Collection ejbFindAllByUnion(Union union, java.lang.String gender)
           
 java.lang.Object ejbFindBySSN(java.lang.String ssn)
           
 java.lang.Object ejbFindByUniqueID(java.lang.String uniqueID)
           
 java.lang.Object ejbFindMemberByIWMemberSystemUser(com.idega.user.data.User user)
           
 int ejbFindMembersAmount(java.util.Collection<Union> unions, java.util.Collection<Tournament> tournaments, java.lang.String personalId, java.lang.String email, java.lang.Integer ageFrom, java.lang.Integer ageTo, java.lang.Character gender, java.lang.Boolean hasTeeTimes, java.lang.Character active, java.lang.String membershipType)
           
 java.lang.Object findMemberByAddressPk(java.lang.Object addressPK)
           
 java.lang.Object findMemberByPhonePk(java.lang.Object phonePk)
           
 Address[] getAddress()
           
 java.util.Collection<java.lang.Object> getAdminsOfClub(java.lang.Object clubPK)
           
 int getAge()
           
 java.util.Collection<java.lang.Integer> getByUserIdsAndMainUnion(java.util.Collection<java.lang.Integer> ids, java.lang.Integer unionId)
           
 Card[] getCards()
           
 java.sql.Date getDateOfBirth()
           
 java.lang.String getEmail()
           
 java.lang.String getEntityName()
           
 Member[] getFamilyMembers(int FamilyId)
           
 java.lang.String getFirstName()
           
 java.lang.String getGender()
           
 java.lang.Boolean getGetNewsByEmail()
           
 java.lang.Boolean getGetNewsByMail()
           
 Group[] getGroups()
           
 float getHandicap()
           
 com.idega.user.data.User getICUser()
           
 int getICUserID()
           
 is.idega.idegaweb.golf.block.image.data.ImageEntity getImage()
           
 int getImageId()
           
 java.lang.String getJob()
           
 java.lang.String getLastName()
           
 Union getMainUnion()
           
 int getMainUnionID()
           
static Member getMember(java.lang.String socialSecurityNumber)
           
 MemberInfo getMemberInfo()
           
 java.util.Collection<java.lang.Integer> getMembers(java.lang.String request, java.lang.Integer unionId, int start, int maxResults)
           
 java.util.Collection<java.lang.Integer> getMembers(java.lang.String club, java.lang.String start, java.lang.String personalId, java.lang.String name, java.lang.String status, int maxResult, int startResult)
           
 java.lang.String getMiddleName()
           
 java.lang.String getMobilePhone()
           
 java.lang.String getName()
           
 Phone[] getPhone()
           
 java.util.Collection<java.lang.Integer> getRelatedUsersFromUnion(java.lang.Integer memberId, java.lang.Integer unionId)
           
 java.util.Collection getScorecards()
           
 java.lang.Boolean getShowFacebookInputs()
           
 java.lang.Boolean getShowTwitterInputs()
           
 java.lang.String getSocialSecurityNumber()
           
static java.lang.String getSocialSecurityNumberColumnName()
           
 java.lang.String getSSN()
           
static Member getStaticInstance()
           
 Union[] getSubUnions()
           
 java.lang.String getSynchronizerKey()
           
protected  UnionHome getUnionHome()
           
 UnionMemberInfo getUnionMemberInfo(int unionId)
           
 UnionMemberInfo getUnionMemberInfo(java.lang.String union_id)
           
 UnionMemberInfo getUnionMemberInfo(java.lang.String union_id, java.lang.String member_id)
           
 Union[] getUnions()
           
 java.lang.String getWorkPlace()
           
 void initializeAttributes()
           
 void insert()
           
 void insertStartData()
           
 boolean isMemberIn(Union union)
           
 boolean isMemberInUnion()
           
 boolean isMemberInUnion(Union union)
           
 void setAddress(Address type)
           
 void setDateOfBirth(java.sql.Date dateOfBirth)
           
 void setDefaultValues()
           
 void setEmail(java.lang.String email)
           
 void setFirstName(java.lang.String first_name)
           
 void setFullName()
           
 void setGender(java.lang.String gender)
           
 void setGetNewsByEmail(java.lang.Boolean getNewsByEmail)
           
 void setGetNewsByMail(java.lang.Boolean getNewsByMail)
           
 void setICUser(com.idega.user.data.User user)
           
 void setimage_id(int image_id)
           
 void setimage_id(java.lang.Integer image_id)
           
 void setImageId(int image_id)
           
 void setImageId(java.lang.Integer image_id)
           
 void setJob(java.lang.String job)
           
 void setLastName(java.lang.String last_name)
           
 void setMainUnion(int iUnionId)
           
 void setMainUnion(Union union)
           
 void setMiddleName(java.lang.String middle_name)
           
 void setMobilePhone(java.lang.String number)
           
 void setShowFacebookInputs(java.lang.Boolean show)
           
 void setShowTwitterInputs(java.lang.Boolean show)
           
 void setSocialSecurityNumber(java.lang.String social_security_number)
           
 void setWorkPlace(java.lang.String workPlace)
           
 
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, 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, insertForCreate, insertMetaData, 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, 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.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, getNameOfMiddleTable, getNumberOfRecords, getNumberOfRecords, getNumberOfRecords, getNumberOfRecords, getNumberOfRecords, getNumberOfRecordsRelated, getNumberOfRecordsReverseRelated, getPrimaryKeyValue, getRelationShipClass, getRelationShipType, getStorageClassName, getStorageClassType, getStringColumnValue, getTableName, getVisibleColumnNames, hasBeenSetNull, hasLobColumn, hasMetaDataRelationship, 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, 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
 
Methods inherited from interface com.idega.data.ExplicitlySynchronizedEntity
getChanges, getPK, getSimpleExplicitlySynchronizedEntityEntity
 

Field Detail

SYNCHRONIZATION_KEY

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

debug

public boolean debug

COLUMNNAME_IC_USER_ID

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

COLUMN_NAME_FIRST_NAME

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

COLUMN_NAME_LAST_NAME

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

COLUMN_NAME_SOCIAL_SECURITY_NUMBER

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

COLUMN_NAME_EMAIL

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

COLUMN_NAME_BIRTH_DATE

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

COLUMN_NAME_GENDER

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

MemberBMPBean

public MemberBMPBean()
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

setDefaultValues

public void setDefaultValues()
Specified by:
setDefaultValues in interface com.idega.data.IDOLegacyEntity
Overrides:
setDefaultValues in class com.idega.data.GenericEntity

getEmail

public java.lang.String getEmail()
Specified by:
getEmail in interface Member
See Also:
getEmail()

setEmail

public void setEmail(java.lang.String email)
Specified by:
setEmail in interface Member
See Also:
setEmail(java.lang.String)

getSocialSecurityNumberColumnName

public static java.lang.String getSocialSecurityNumberColumnName()

getName

public java.lang.String getName()
Specified by:
getName in interface com.idega.data.IDOLegacyEntity
Specified by:
getName in interface Member
Overrides:
getName in class com.idega.data.GenericEntity
See Also:
getName()

getFirstName

public java.lang.String getFirstName()
Specified by:
getFirstName in interface Member
See Also:
getFirstName()

setFirstName

public void setFirstName(java.lang.String first_name)
Specified by:
setFirstName in interface Member
See Also:
setFirstName(java.lang.String)

getMiddleName

public java.lang.String getMiddleName()
Specified by:
getMiddleName in interface Member
See Also:
getMiddleName()

setMiddleName

public void setMiddleName(java.lang.String middle_name)
Specified by:
setMiddleName in interface Member
See Also:
setMiddleName(java.lang.String)

getLastName

public java.lang.String getLastName()
Specified by:
getLastName in interface Member
See Also:
getLastName()

setLastName

public void setLastName(java.lang.String last_name)
Specified by:
setLastName in interface Member
See Also:
setLastName(java.lang.String)

setFullName

public void setFullName()
Specified by:
setFullName in interface Member
See Also:
setFullName()

getDateOfBirth

public java.sql.Date getDateOfBirth()
Specified by:
getDateOfBirth in interface Member
See Also:
getDateOfBirth()

setDateOfBirth

public void setDateOfBirth(java.sql.Date dateOfBirth)
Specified by:
setDateOfBirth in interface Member
See Also:
setDateOfBirth(java.sql.Date)

getGender

public java.lang.String getGender()
Specified by:
getGender in interface Member
See Also:
getGender()

setGender

public void setGender(java.lang.String gender)
Specified by:
setGender in interface Member
See Also:
setGender(java.lang.String)

getSocialSecurityNumber

public java.lang.String getSocialSecurityNumber()
Specified by:
getSocialSecurityNumber in interface Member
See Also:
getSocialSecurityNumber()

getSSN

public java.lang.String getSSN()
Specified by:
getSSN in interface Member
See Also:
getSSN()

setSocialSecurityNumber

public void setSocialSecurityNumber(java.lang.String social_security_number)
Specified by:
setSocialSecurityNumber in interface Member
See Also:
setSocialSecurityNumber(java.lang.String)

getImageId

public int getImageId()
Specified by:
getImageId in interface Member
See Also:
getImageId()

setimage_id

public void setimage_id(int image_id)
Specified by:
setimage_id in interface Member
See Also:
setimage_id(int)

setimage_id

public void setimage_id(java.lang.Integer image_id)
Specified by:
setimage_id in interface Member
See Also:
setimage_id(int)

setImageId

public void setImageId(int image_id)
Specified by:
setImageId in interface Member
See Also:
setImageId(int)

setImageId

public void setImageId(java.lang.Integer image_id)
Specified by:
setImageId in interface Member
See Also:
setImageId(int)

getImage

public is.idega.idegaweb.golf.block.image.data.ImageEntity getImage()
Specified by:
getImage in interface Member
See Also:
getImage()

getJob

public java.lang.String getJob()
Specified by:
getJob in interface Member
See Also:
getJob()

setJob

public void setJob(java.lang.String job)
Specified by:
setJob in interface Member
See Also:
setJob(java.lang.String)

getWorkPlace

public java.lang.String getWorkPlace()
Specified by:
getWorkPlace in interface Member
See Also:
getWorkPlace()

setWorkPlace

public void setWorkPlace(java.lang.String workPlace)
Specified by:
setWorkPlace in interface Member
See Also:
setWorkPlace(java.lang.String)

getMemberInfo

public MemberInfo getMemberInfo()
Specified by:
getMemberInfo in interface Member
See Also:
getMemberInfo()

getUnionMemberInfo

public UnionMemberInfo getUnionMemberInfo(java.lang.String union_id)
                                   throws java.sql.SQLException
Specified by:
getUnionMemberInfo in interface Member
Throws:
java.sql.SQLException
See Also:
getUnionMemberInfo(java.lang.String)

getUnionMemberInfo

public UnionMemberInfo getUnionMemberInfo(java.lang.String union_id,
                                          java.lang.String member_id)
                                   throws java.sql.SQLException
Specified by:
getUnionMemberInfo in interface Member
Throws:
java.sql.SQLException
See Also:
getUnionMemberInfo(java.lang.String)

getUnionMemberInfo

public UnionMemberInfo getUnionMemberInfo(int unionId)
                                   throws java.sql.SQLException
Specified by:
getUnionMemberInfo in interface Member
Throws:
java.sql.SQLException
See Also:
getUnionMemberInfo(java.lang.String)

getMainUnionID

public int getMainUnionID()
                   throws java.sql.SQLException
Specified by:
getMainUnionID in interface Member
Throws:
java.sql.SQLException
See Also:
getMainUnionID()

setMainUnion

public void setMainUnion(Union union)
                  throws java.sql.SQLException
Specified by:
setMainUnion in interface Member
Throws:
java.sql.SQLException
See Also:
setMainUnion(is.idega.idegaweb.golf.entity.Union)

setMainUnion

public void setMainUnion(int iUnionId)
                  throws java.sql.SQLException
Specified by:
setMainUnion in interface Member
Throws:
java.sql.SQLException
See Also:
setMainUnion(is.idega.idegaweb.golf.entity.Union)

getMainUnion

public Union getMainUnion()
                   throws javax.ejb.FinderException,
                          java.sql.SQLException
Specified by:
getMainUnion in interface Member
Throws:
javax.ejb.FinderException
java.sql.SQLException
See Also:
getMainUnion()

setAddress

public void setAddress(Address type)
Specified by:
setAddress in interface Member
See Also:
setAddress(is.idega.idegaweb.golf.entity.Address)

getAddress

public Address[] getAddress()
                     throws java.sql.SQLException
Specified by:
getAddress in interface Member
Throws:
java.sql.SQLException
See Also:
getAddress()

getCards

public Card[] getCards()
                throws java.sql.SQLException
Specified by:
getCards in interface Member
Throws:
java.sql.SQLException
See Also:
getCards()

getScorecards

public java.util.Collection getScorecards()
                                   throws java.sql.SQLException
Specified by:
getScorecards in interface Member
Throws:
java.sql.SQLException
See Also:
getScorecards()

getHandicap

public float getHandicap()
                  throws java.sql.SQLException
Specified by:
getHandicap in interface Member
Throws:
java.sql.SQLException
See Also:
getHandicap()

getUnions

public Union[] getUnions()
                  throws java.sql.SQLException
Specified by:
getUnions in interface Member
Throws:
java.sql.SQLException
See Also:
getUnions()

getSubUnions

public Union[] getSubUnions()
                     throws java.sql.SQLException
Specified by:
getSubUnions in interface Member
Throws:
java.sql.SQLException
See Also:
getSubUnions()

isMemberIn

public boolean isMemberIn(Union union)
                   throws java.sql.SQLException
Specified by:
isMemberIn in interface Member
Throws:
java.sql.SQLException
See Also:
isMemberIn(is.idega.idegaweb.golf.entity.Union)

isMemberInUnion

public boolean isMemberInUnion(Union union)
                        throws java.sql.SQLException
Specified by:
isMemberInUnion in interface Member
Throws:
java.sql.SQLException
See Also:
isMemberInUnion(is.idega.idegaweb.golf.entity.Union)

isMemberInUnion

public boolean isMemberInUnion()
                        throws java.sql.SQLException
Specified by:
isMemberInUnion in interface Member
Throws:
java.sql.SQLException
See Also:
isMemberInUnion(is.idega.idegaweb.golf.entity.Union)

getPhone

public Phone[] getPhone()
                 throws java.sql.SQLException
Specified by:
getPhone in interface Member
Throws:
java.sql.SQLException
See Also:
getPhone()

getFamilyMembers

public Member[] getFamilyMembers(int FamilyId)
                          throws java.sql.SQLException
Specified by:
getFamilyMembers in interface Member
Throws:
java.sql.SQLException
See Also:
getFamilyMembers(int)

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

getGroups

public Group[] getGroups()
                  throws java.sql.SQLException
Specified by:
getGroups in interface Member
Throws:
java.sql.SQLException
See Also:
getGroups()

getMember

public static Member getMember(java.lang.String socialSecurityNumber)

getStaticInstance

public static Member getStaticInstance()

insert

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

insertStartData

public void insertStartData()
Overrides:
insertStartData in class com.idega.data.GenericEntity

getAge

public int getAge()
Specified by:
getAge in interface Member
See Also:
getAge()

setICUser

public void setICUser(com.idega.user.data.User user)
Specified by:
setICUser in interface Member
See Also:
setICUser(com.idega.user.data.User)

getICUser

public com.idega.user.data.User getICUser()
Specified by:
getICUser in interface Member
See Also:
getICUser()

getICUserID

public int getICUserID()
Specified by:
getICUserID in interface Member
See Also:
getICUserID()

getMobilePhone

public java.lang.String getMobilePhone()
Specified by:
getMobilePhone in interface Member
See Also:
getMobilePhone()

setMobilePhone

public void setMobilePhone(java.lang.String number)
Specified by:
setMobilePhone in interface Member
See Also:
setMobilePhone(java.lang.String)

ejbFindMemberByIWMemberSystemUser

public java.lang.Object ejbFindMemberByIWMemberSystemUser(com.idega.user.data.User user)
                                                   throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindBySSN

public java.lang.Object ejbFindBySSN(java.lang.String ssn)
                              throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindByUniqueID

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

ejbFindAll

public java.util.Collection ejbFindAll()
                                throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindAllByUnion

public java.util.Collection ejbFindAllByUnion(Union union,
                                              java.lang.String gender)
                                       throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

ejbFindAllByCriteria

public java.util.Collection ejbFindAllByCriteria(java.lang.String personalID,
                                                 java.lang.String firstName,
                                                 java.lang.String middleName,
                                                 java.lang.String lastName)
                                          throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

getByUserIdsAndMainUnion

public java.util.Collection<java.lang.Integer> getByUserIdsAndMainUnion(java.util.Collection<java.lang.Integer> ids,
                                                                        java.lang.Integer unionId)

getRelatedUsersFromUnion

public java.util.Collection<java.lang.Integer> getRelatedUsersFromUnion(java.lang.Integer memberId,
                                                                        java.lang.Integer unionId)

getMembers

public java.util.Collection<java.lang.Integer> getMembers(java.lang.String request,
                                                          java.lang.Integer unionId,
                                                          int start,
                                                          int maxResults)

getMembers

public java.util.Collection<java.lang.Integer> getMembers(java.lang.String club,
                                                          java.lang.String start,
                                                          java.lang.String personalId,
                                                          java.lang.String name,
                                                          java.lang.String status,
                                                          int maxResult,
                                                          int startResult)
                                                   throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

getGetNewsByEmail

public java.lang.Boolean getGetNewsByEmail()
Specified by:
getGetNewsByEmail in interface Member

setGetNewsByEmail

public void setGetNewsByEmail(java.lang.Boolean getNewsByEmail)
Specified by:
setGetNewsByEmail in interface Member

getGetNewsByMail

public java.lang.Boolean getGetNewsByMail()
Specified by:
getGetNewsByMail in interface Member

setGetNewsByMail

public void setGetNewsByMail(java.lang.Boolean getNewsByMail)
Specified by:
setGetNewsByMail in interface Member

ejbFindAll

public java.util.Collection<java.lang.Object> ejbFindAll(java.util.Collection<Union> unions,
                                                         java.util.Collection<Tournament> tournaments,
                                                         java.lang.String personalId,
                                                         java.lang.String email,
                                                         java.lang.Boolean hasTeeTimes,
                                                         java.lang.Integer startingFrom,
                                                         java.lang.Integer entitiesAmount)
Parameters:
unions - to search by, skipped if null;
tournaments - is Collection of Tournaments user attend, skipped if null;
personalId - is Member.getSocialSecurityNumber(), skipped if null;
email - is Member.getEmail(), skipped if null;
hasTeeTimes - is true if it is required, that Member have some TeeTimes registered, false if it is required, that Member does not have TeeTimes register and null for ignoring;
startingFrom - index of row in results list to return starting from, skipped if null;
entitiesAmount - is number of entities to fetch from data source, skipped if null;
Returns:
Collection of EJBLocalObject.getPrimaryKey()s or Collections.emptyList() on failure;

ejbFindAll

public java.util.Collection<java.lang.Object> ejbFindAll(java.util.Collection<? extends Union> unions,
                                                         java.util.Collection<Tournament> tournaments,
                                                         java.lang.String personalId,
                                                         java.lang.String email,
                                                         java.lang.Integer ageFrom,
                                                         java.lang.Integer ageTo,
                                                         java.lang.Character gender,
                                                         java.lang.Boolean hasTeeTimes,
                                                         java.lang.Character active,
                                                         java.lang.String membershipType,
                                                         java.lang.Integer startingFrom,
                                                         java.lang.Integer entitiesAmount)
Parameters:
unions - to search by, skipped if null;
tournaments - is Collection of Tournaments user attend, skipped if null;
personalId - is Member.getSocialSecurityNumber(), skipped if null;
email - is Member.getEmail(), skipped if null;
hasTeeTimes - is true if it is required, that Member have some TeeTimes registered, false if it is required, that Member does not have TeeTimes register and null for ignoring;
startingFrom - index of row in results list to return starting from, skipped if null;
entitiesAmount - is number of entities to fetch from data source, skipped if null;
active - is one of:
  • 'A': active
  • 'I': inactive
  • 'H': on hold
  • , skipped if null;
    membershipType - is one of:
  • "main"
  • "sub"
  • , skipped if null;
    ageFrom - is floor of Member.getAge(), skipped if null;
    ageTo - is ceiling of Member.getAge(), skipped if null;
    gender - is one of the:
  • 'M'
  • 'F'
  • , skipped if null;
    Returns:
    Collection of EJBLocalObject.getPrimaryKey()s or Collections.emptyList() on failure;

    ejbFindMembersAmount

    public int ejbFindMembersAmount(java.util.Collection<Union> unions,
                                    java.util.Collection<Tournament> tournaments,
                                    java.lang.String personalId,
                                    java.lang.String email,
                                    java.lang.Integer ageFrom,
                                    java.lang.Integer ageTo,
                                    java.lang.Character gender,
                                    java.lang.Boolean hasTeeTimes,
                                    java.lang.Character active,
                                    java.lang.String membershipType)
    Parameters:
    tournaments - is Collection of Tournaments user attend, skipped if null;
    personalId - is Member.getSocialSecurityNumber(), skipped if null;
    email - is Member.getEmail(), skipped if null;
    ageFrom - is floor of Member.getAge(), skipped if null;
    ageTo - is ceiling of Member.getAge(), skipped if null;
    gender - is one of the:
  • 'M'
  • 'F'
  • , skipped if null;
    hasTeeTimes - is true if it is required, that Member have some TeeTimes registered, false if it is required, that Member does not have TeeTimes register and null for ignoring;
    active - is one of:
  • 'A': active
  • 'I': inactive
  • 'H': on hold
  • , skipped if null;
    membershipType - is one of:
  • "main"
  • "sub"
  • , skipped if null;
    Returns:
    number of Members in data source;

    getUnionHome

    protected UnionHome getUnionHome()

    addPhone

    public void addPhone(Phone phone)
                  throws com.idega.data.IDOAddRelationshipException
    Specified by:
    addPhone in interface Member
    Throws:
    com.idega.data.IDOAddRelationshipException

    getShowFacebookInputs

    public java.lang.Boolean getShowFacebookInputs()
    Specified by:
    getShowFacebookInputs in interface Member

    setShowFacebookInputs

    public void setShowFacebookInputs(java.lang.Boolean show)
    Specified by:
    setShowFacebookInputs in interface Member

    getShowTwitterInputs

    public java.lang.Boolean getShowTwitterInputs()
    Specified by:
    getShowTwitterInputs in interface Member

    setShowTwitterInputs

    public void setShowTwitterInputs(java.lang.Boolean show)
    Specified by:
    setShowTwitterInputs in interface Member

    addGroup

    public void addGroup(Group group)
    Specified by:
    addGroup in interface Member

    getSynchronizerKey

    public java.lang.String getSynchronizerKey()
    Specified by:
    getSynchronizerKey in interface com.idega.data.ExplicitlySynchronizedEntity

    findMemberByPhonePk

    public java.lang.Object findMemberByPhonePk(java.lang.Object phonePk)
                                         throws com.idega.data.IDORelationshipException,
                                                javax.ejb.FinderException
    Throws:
    com.idega.data.IDORelationshipException
    javax.ejb.FinderException

    getAdminsOfClub

    public java.util.Collection<java.lang.Object> getAdminsOfClub(java.lang.Object clubPK)
                                                           throws com.idega.data.IDORelationshipException,
                                                                  javax.ejb.FinderException
    Throws:
    com.idega.data.IDORelationshipException
    javax.ejb.FinderException

    findMemberByAddressPk

    public java.lang.Object findMemberByAddressPk(java.lang.Object addressPK)
                                           throws com.idega.data.IDORelationshipException,
                                                  javax.ejb.FinderException
    Throws:
    com.idega.data.IDORelationshipException
    javax.ejb.FinderException


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