|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.idega.data.GenericEntity
com.idega.data.TreeableEntityBMPBean
is.idega.idegaweb.golf.entity.UnionBMPBean
public class UnionBMPBean
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_ABBREVATION
|
static java.lang.String |
COLUMN_NAME_UNION_TYPE
|
static java.lang.String |
sClassName
|
static java.lang.String |
TABLE_NAME_UNION_BLACKLIST
|
Fields inherited from class com.idega.data.TreeableEntityBMPBean |
---|
_leafsFirst, _sortLeafs |
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 is.idega.idegaweb.golf.entity.Union |
---|
AUTHORIZATION_TYPE |
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 | |
---|---|
UnionBMPBean()
|
Method Summary | |
---|---|
void |
addChild(com.idega.data.TreeableEntity p0)
|
void |
addExtraUnion(Union union)
|
boolean |
addToBlackList(Member member)
|
java.util.Enumeration |
children()
Returns the children of the reciever as an Enumeration. |
void |
delete()
|
java.util.Collection<java.lang.Object> |
ejbFindAll(java.lang.String unionType)
|
java.util.List<java.lang.String> |
ejbFindAllBlackListedMembers()
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
ejbFindAllBlackListedMembers(java.util.Collection<java.lang.String> unionIds)
|
java.util.Collection |
ejbFindAllByArea(UnionArea area)
|
java.util.Collection<java.lang.String> |
ejbFindAllChildUnions(java.util.Collection<java.lang.String> parentUnionsIds)
|
java.util.Collection |
ejbFindAllUnions()
|
java.lang.Object |
ejbFindByAbbreviation(java.lang.String abbr)
|
java.lang.Object |
ejbFindUnionByIWMemberSystemGroup(com.idega.user.data.Group union)
|
Union[] |
findAllGolfClubs()
|
java.lang.String |
getAbbrevation()
|
java.util.List<Member> |
getActiveMembers()
|
java.lang.Integer |
getAdId()
|
java.util.List<Member> |
getAllActiveMembers()
|
java.util.List |
getAllGolfClubs()
Same as findAllGolfClubs but uses EntityFinder and returns List |
java.util.List<Member> |
getAllInActiveMembers()
|
java.util.List<Member> |
getAllMembersInUnion()
|
boolean |
getAllowsChildren()
Returns true if the receiver allows children. |
java.util.Collection<Member> |
getBlackListedMembers()
|
java.util.Collection<java.lang.String> |
getBlackListedMembersIds()
|
java.lang.Object |
getByUId(java.lang.String UId)
|
com.idega.util.datastructures.idegaTreeNode |
getChildAt(int childIndex)
Returns the child TreeNode at index childIndex. |
com.idega.core.data.ICTreeNode |
getChildAtIndex(int index)
|
int |
getChildCount()
Returns the number of children TreeNodes the receiver contains. |
java.util.Collection |
getChildren()
Returns the children of the reciever as a Collection. |
java.util.Collection |
getChildren(java.lang.String p0)
|
java.util.Iterator |
getChildrenIterator()
Returns the children of the reciever as an Iterator. |
java.util.Iterator |
getChildrenIterator(java.lang.String arg0)
|
java.util.Iterator |
getChildrenIterator(java.lang.String arg0,
boolean arg1)
|
java.util.Collection |
getChildUnions()
|
com.idega.block.trade.data.CreditCardInformation |
getCreditCardInformation()
|
java.lang.String |
getEntityName()
|
java.lang.String |
getExternalLink()
|
java.util.List |
getGroups(java.lang.String group_type)
|
com.idega.user.data.Group |
getICGroup()
|
int |
getICGroupId()
|
java.lang.String |
getId()
|
java.lang.String |
getIDColumnName()
|
java.util.List<Member> |
getInActiveMembers()
|
int |
getIndex(com.idega.core.data.ICTreeNode node)
Returns the index of node in the receivers children. |
int |
getIndex(com.idega.util.datastructures.idegaTreeNode node)
Returns the index of node in the receivers children. |
protected MemberHome |
getMemberHome()
|
java.util.List |
getMembersInUnion()
|
java.lang.String |
getName()
|
int |
getNodeID()
|
java.lang.String |
getNodeName()
|
java.lang.String |
getNodeName(java.util.Locale locale)
|
java.lang.String |
getNodeName(java.util.Locale locale,
com.idega.idegaweb.IWApplicationContext iwac)
|
int |
getNumber()
|
java.util.List |
getOwningFields()
|
com.idega.util.datastructures.idegaTreeNode |
getParent()
Returns the parent TreeNode of the receiver. |
com.idega.data.TreeableEntity |
getParentEntity()
|
com.idega.core.data.ICTreeNode |
getParentNode()
|
java.util.Collection |
getParentUnions()
|
int |
getSiblingCount()
|
static Union |
getStaticInstance()
|
java.util.List |
getTournamentGroups()
Returns a list of tournamentGroups which only this Union owns - returns null if no match |
java.util.List |
getTournamentGroupsRecursive()
Returns a list of tournamentGroups recursive up the Union tree - returns null if no match |
java.lang.String |
getTreeRelationshipChildColumnName(com.idega.data.TreeableEntity p0)
|
java.lang.String |
getTreeRelationshipTableName(com.idega.data.TreeableEntity p0)
|
UnionArea |
getUnionArea()
|
com.idega.user.data.Group |
getUnionFromIWMemberSystem()
|
java.util.List |
getUnionGroups()
Returns a list of UnionGroups which only this Union owns - returns null if no match |
java.util.List |
getUnionGroupsRecursive()
Returns a list of UnionGroups recursive up the Union tree - returns null if no match |
UnionInfo |
getUnionInfo()
|
java.util.Collection<java.lang.Integer> |
getUnions(int start,
int maxResults)
|
java.util.List |
getUnionsBetweenZipcodes(Union entity,
int zipcodeFrom,
int zipcodeTo)
|
java.util.List |
getUnionsBetweenZipcodes(Union entity,
int zipcodeFrom1,
int zipcodeTo1,
int zipcodeFrom2,
int zipcodeTo2)
|
java.util.List |
getUnionsBetweenZipcodes(Union entity,
int zipcodeFrom1,
int zipcodeTo1,
int zipcodeFrom2,
int zipcodeTo2,
int zipcodeIsNot)
|
java.util.List |
getUnionsBetweenZipcodes(Union entity,
int zipcodeFrom1,
int zipcodeTo1,
int zipcodeFrom2,
int zipcodeTo2,
int zipcodeIsNot1,
int zipcodeIsNot2)
|
java.util.List |
getUnionsBetweenZipcodesOrderBy(Union entity,
int zipcodeFrom1,
int zipcodeTo1,
int zipcodeFrom2,
int zipcodeTo2,
int zipcodeIsNot1,
int zipcodeIsNot2,
java.lang.String orderBy)
|
java.util.Collection<java.lang.Integer> |
getUnionsByMembershipAndMember(int memberId,
java.lang.String membershipType)
|
java.util.Collection<java.lang.Integer> |
getUnionsWithoutUId(int start,
int maxResults)
|
java.lang.String |
getUnionType()
|
void |
initializeAttributes()
|
void |
insertStartData()
|
boolean |
isBlackListed(Member member)
|
boolean |
isDeleted()
|
boolean |
isLeaf()
Returns true if the receiver is a leaf. |
boolean |
isUserMemberOfClub(com.idega.user.data.User user)
|
boolean |
leafsFirst()
|
void |
moveChildrenFrom(com.idega.data.TreeableEntity p0)
|
void |
removeChild(com.idega.data.TreeableEntity p0)
|
void |
removeExtraUnion(Union union)
|
boolean |
removeFromBlackList(Member member)
|
void |
setAbbrevation(java.lang.String abbrevation)
|
void |
setAdId(java.lang.Integer adId)
|
void |
setDeleted(boolean deleted)
|
void |
setExternalLink(java.lang.String link)
|
void |
setICGroup(com.idega.user.data.Group group)
|
void |
setLeafsFirst(boolean b)
|
void |
setName(java.lang.String name)
|
void |
setNumber(int number)
|
void |
setNumber(java.lang.Integer number)
|
void |
setToSortLeafs(boolean b)
|
void |
setUnionArea(UnionArea area)
|
void |
setUnionType(java.lang.String type)
|
boolean |
sortLeafs()
|
Methods inherited from class com.idega.data.TreeableEntityBMPBean |
---|
beforeInitializeAttributes, getChildren, getNodeType |
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, 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, 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, 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, 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, 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, setDefaultValues, 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.MetaDataCapable |
---|
getMetaData, getMetaDataAttributes, getMetaDataTypes, renameMetaData, renameMetaData, setMetaData, setMetaData, setMetaDataAttributes |
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.UniqueIDCapable |
---|
getUniqueId, setUniqueId |
Field Detail |
---|
public static java.lang.String sClassName
public static final java.lang.String COLUMN_NAME_ABBREVATION
public static final java.lang.String COLUMN_NAME_UNION_TYPE
public static final java.lang.String TABLE_NAME_UNION_BLACKLIST
Constructor Detail |
---|
public UnionBMPBean()
Method Detail |
---|
public java.lang.String getId()
getId
in interface com.idega.core.data.ICTreeNode
getId
in interface Union
getId
in class com.idega.data.TreeableEntityBMPBean
getId()
public void initializeAttributes()
initializeAttributes
in class com.idega.data.GenericEntity
public java.lang.String getEntityName()
getEntityName
in interface com.idega.data.IDOLegacyEntity
getEntityName
in class com.idega.data.GenericEntity
public java.lang.String getIDColumnName()
getIDColumnName
in interface com.idega.data.IDOLegacyEntity
getIDColumnName
in class com.idega.data.GenericEntity
public java.lang.String getName()
getName
in interface com.idega.data.IDOLegacyEntity
getName
in interface Union
getName
in class com.idega.data.GenericEntity
getName()
public void setName(java.lang.String name)
setName
in interface com.idega.data.IDOLegacyEntity
setName
in interface Union
setName
in class com.idega.data.GenericEntity
setName(java.lang.String)
public void setAbbrevation(java.lang.String abbrevation)
setAbbrevation
in interface Union
setAbbrevation(java.lang.String)
public java.lang.String getAbbrevation()
getAbbrevation
in interface Union
getAbbrevation()
public void setNumber(int number)
setNumber
in interface Union
setNumber(int)
public void setNumber(java.lang.Integer number)
setNumber
in interface Union
setNumber(int)
public int getNumber()
getNumber
in interface Union
getNumber()
public void setUnionType(java.lang.String type)
setUnionType
in interface Union
setUnionType(java.lang.String)
public java.lang.String getUnionType()
getUnionType
in interface Union
getUnionType()
public void setExternalLink(java.lang.String link)
setExternalLink
in interface Union
setExternalLink(java.lang.String)
public java.lang.String getExternalLink()
getExternalLink
in interface Union
getExternalLink()
public void setUnionArea(UnionArea area)
setUnionArea
in interface Union
is.idega.idegaweb.golf.entity.UnionBMPBean#setArea
public UnionArea getUnionArea()
getUnionArea
in interface Union
is.idega.idegaweb.golf.entity.UnionBMPBean#getArea
public void setDeleted(boolean deleted)
setDeleted
in interface Union
setDeleted(boolean)
public boolean isDeleted()
isDeleted
in interface Union
isDeleted()
public UnionInfo getUnionInfo()
getUnionInfo
in interface Union
getUnionInfo()
public Union[] findAllGolfClubs() throws java.sql.SQLException
findAllGolfClubs
in interface Union
java.sql.SQLException
findAllGolfClubs()
public java.util.Collection<java.lang.Object> ejbFindAll(java.lang.String unionType)
unionType
- is Union.getUnionType()
,
skipped if null
;
Collection
of EJBLocalObject.getPrimaryKey()
or
Collections.emptyList()
on failure;public java.util.List<java.lang.String> ejbFindAllBlackListedMembers()
List
of EJBLocalObject.getPrimaryKey()
s, who are in
blacklist of any Union
or Collections.emptyList()
on failure;public java.util.Map<java.lang.String,java.util.List<java.lang.String>> ejbFindAllBlackListedMembers(java.util.Collection<java.lang.String> unionIds)
unionIds
- is Collection
of EJBLocalObject.getPrimaryKey()
to filter by, skipped if null
;
Map
of EJBLocalObject.getPrimaryKey()
and List
of EJBLocalObject.getPrimaryKey()
of blacklisted Member
s,
or Collections.emptyList()
on failure;public java.util.Collection ejbFindAllByArea(UnionArea area) throws javax.ejb.FinderException
javax.ejb.FinderException
public java.util.List getAllGolfClubs() throws java.sql.SQLException
getAllGolfClubs
in interface Union
java.sql.SQLException
getAllGolfClubs()
public java.util.List getOwningFields() throws java.sql.SQLException
getOwningFields
in interface Union
java.sql.SQLException
getOwningFields()
public void delete() throws java.sql.SQLException
delete
in interface com.idega.data.IDOLegacyEntity
delete
in class com.idega.data.GenericEntity
java.sql.SQLException
public java.util.Iterator getChildrenIterator()
getChildrenIterator
in interface com.idega.core.data.ICTreeNode
getChildrenIterator
in interface Union
getChildrenIterator
in class com.idega.data.TreeableEntityBMPBean
getChildrenIterator()
public java.util.Collection getChildren()
getChildren
in interface com.idega.core.data.ICTreeNode
getChildren
in interface Union
getChildren
in class com.idega.data.TreeableEntityBMPBean
getChildren()
public java.util.Enumeration children()
children
in interface com.idega.util.datastructures.idegaTreeNode
children
in interface Union
children()
public boolean getAllowsChildren()
getAllowsChildren
in interface com.idega.core.data.ICTreeNode
getAllowsChildren
in interface com.idega.util.datastructures.idegaTreeNode
getAllowsChildren
in interface Union
getAllowsChildren
in class com.idega.data.TreeableEntityBMPBean
getAllowsChildren()
public com.idega.util.datastructures.idegaTreeNode getChildAt(int childIndex)
getChildAt
in interface com.idega.util.datastructures.idegaTreeNode
getChildAt
in interface Union
getChildAt(int)
public int getChildCount()
getChildCount
in interface com.idega.core.data.ICTreeNode
getChildCount
in interface com.idega.util.datastructures.idegaTreeNode
getChildCount
in interface Union
getChildCount
in class com.idega.data.TreeableEntityBMPBean
getChildCount()
public int getIndex(com.idega.util.datastructures.idegaTreeNode node)
getIndex
in interface com.idega.util.datastructures.idegaTreeNode
getIndex
in interface Union
getIndex(com.idega.util.datastructures.idegaTreeNode)
public com.idega.util.datastructures.idegaTreeNode getParent()
getParent
in interface com.idega.util.datastructures.idegaTreeNode
getParent
in interface Union
getParent()
public boolean isLeaf()
isLeaf
in interface com.idega.core.data.ICTreeNode
isLeaf
in interface com.idega.util.datastructures.idegaTreeNode
isLeaf
in interface Union
isLeaf
in class com.idega.data.TreeableEntityBMPBean
isLeaf()
public java.lang.String getNodeName()
getNodeName
in interface com.idega.core.data.ICTreeNode
getNodeName
in interface com.idega.util.datastructures.idegaTreeNode
getNodeName
in interface Union
getNodeName
in class com.idega.data.TreeableEntityBMPBean
getNodeName()
public java.util.List getMembersInUnion()
getMembersInUnion
in interface Union
getMembersInUnion()
public java.util.List<Member> getAllMembersInUnion()
getAllMembersInUnion
in interface Union
public java.util.List<Member> getAllActiveMembers()
getAllActiveMembers
in interface Union
public java.util.List<Member> getAllInActiveMembers()
getAllInActiveMembers
in interface Union
public java.util.List<Member> getActiveMembers()
getActiveMembers
in interface Union
public java.util.List<Member> getInActiveMembers()
getInActiveMembers
in interface Union
public java.util.List getGroups(java.lang.String group_type)
getGroups
in interface Union
getGroups(java.lang.String)
public java.util.List getUnionGroups()
getUnionGroups
in interface Union
getUnionGroups()
public java.util.List getUnionGroupsRecursive()
getUnionGroupsRecursive
in interface Union
getUnionGroupsRecursive()
public java.util.List getTournamentGroups()
getTournamentGroups
in interface Union
getTournamentGroups()
public java.util.List getTournamentGroupsRecursive()
getTournamentGroupsRecursive
in interface Union
getTournamentGroupsRecursive()
public java.util.List getUnionsBetweenZipcodes(Union entity, int zipcodeFrom, int zipcodeTo) throws java.sql.SQLException
getUnionsBetweenZipcodes
in interface Union
java.sql.SQLException
getUnionsBetweenZipcodes(is.idega.idegaweb.golf.entity.Union, int, int)
public java.util.List getUnionsBetweenZipcodes(Union entity, int zipcodeFrom1, int zipcodeTo1, int zipcodeFrom2, int zipcodeTo2) throws java.sql.SQLException
getUnionsBetweenZipcodes
in interface Union
java.sql.SQLException
getUnionsBetweenZipcodes(is.idega.idegaweb.golf.entity.Union, int, int)
public java.util.List getUnionsBetweenZipcodes(Union entity, int zipcodeFrom1, int zipcodeTo1, int zipcodeFrom2, int zipcodeTo2, int zipcodeIsNot) throws java.sql.SQLException
getUnionsBetweenZipcodes
in interface Union
java.sql.SQLException
getUnionsBetweenZipcodes(is.idega.idegaweb.golf.entity.Union, int, int)
public java.util.List getUnionsBetweenZipcodes(Union entity, int zipcodeFrom1, int zipcodeTo1, int zipcodeFrom2, int zipcodeTo2, int zipcodeIsNot1, int zipcodeIsNot2) throws java.sql.SQLException
getUnionsBetweenZipcodes
in interface Union
java.sql.SQLException
getUnionsBetweenZipcodes(is.idega.idegaweb.golf.entity.Union, int, int)
public java.util.List getUnionsBetweenZipcodesOrderBy(Union entity, int zipcodeFrom1, int zipcodeTo1, int zipcodeFrom2, int zipcodeTo2, int zipcodeIsNot1, int zipcodeIsNot2, java.lang.String orderBy) throws java.sql.SQLException
getUnionsBetweenZipcodesOrderBy
in interface Union
java.sql.SQLException
getUnionsBetweenZipcodesOrderBy(is.idega.idegaweb.golf.entity.Union, int, int, int, int, int, int, java.lang.String)
public static Union getStaticInstance()
public void insertStartData() throws java.lang.Exception
insertStartData
in class com.idega.data.GenericEntity
java.lang.Exception
public int getNodeID()
getNodeID
in interface com.idega.core.data.ICTreeNode
getNodeID
in interface Union
getNodeID
in class com.idega.data.TreeableEntityBMPBean
getNodeID()
public com.idega.core.data.ICTreeNode getParentNode()
getParentNode
in interface com.idega.core.data.ICTreeNode
getParentNode
in interface Union
getParentNode
in class com.idega.data.TreeableEntityBMPBean
getParentNode()
public int getIndex(com.idega.core.data.ICTreeNode node)
getIndex
in interface com.idega.core.data.ICTreeNode
getIndex
in interface com.idega.data.TreeableEntity
getIndex
in interface Union
getIndex
in class com.idega.data.TreeableEntityBMPBean
getIndex(com.idega.util.datastructures.idegaTreeNode)
public com.idega.core.data.ICTreeNode getChildAtIndex(int index)
getChildAtIndex
in interface com.idega.core.data.ICTreeNode
getChildAtIndex
in interface Union
getChildAtIndex
in class com.idega.data.TreeableEntityBMPBean
getChildAtIndex(int)
public int getSiblingCount()
getSiblingCount
in interface com.idega.core.data.ICTreeNode
getSiblingCount
in interface Union
getSiblingCount
in class com.idega.data.TreeableEntityBMPBean
getSiblingCount()
public java.lang.String getNodeName(java.util.Locale locale)
getNodeName
in interface com.idega.core.data.ICTreeNode
getNodeName
in interface Union
getNodeName
in class com.idega.data.TreeableEntityBMPBean
getNodeName()
public void addChild(com.idega.data.TreeableEntity p0) throws java.sql.SQLException
addChild
in interface com.idega.data.TreeableEntity
addChild
in interface Union
addChild
in class com.idega.data.TreeableEntityBMPBean
java.sql.SQLException
addChild(com.idega.data.TreeableEntity)
public com.idega.data.TreeableEntity getParentEntity()
getParentEntity
in interface com.idega.data.TreeableEntity
getParentEntity
in interface Union
getParentEntity
in class com.idega.data.TreeableEntityBMPBean
getParentEntity()
public java.lang.String getTreeRelationshipChildColumnName(com.idega.data.TreeableEntity p0)
getTreeRelationshipChildColumnName
in interface com.idega.data.TreeableEntity
getTreeRelationshipChildColumnName
in interface Union
getTreeRelationshipChildColumnName
in class com.idega.data.TreeableEntityBMPBean
getTreeRelationshipChildColumnName(com.idega.data.TreeableEntity)
public java.lang.String getTreeRelationshipTableName(com.idega.data.TreeableEntity p0)
getTreeRelationshipTableName
in interface com.idega.data.TreeableEntity
getTreeRelationshipTableName
in interface Union
getTreeRelationshipTableName
in class com.idega.data.TreeableEntityBMPBean
getTreeRelationshipTableName(com.idega.data.TreeableEntity)
public void moveChildrenFrom(com.idega.data.TreeableEntity p0) throws java.sql.SQLException
moveChildrenFrom
in interface com.idega.data.TreeableEntity
moveChildrenFrom
in interface Union
moveChildrenFrom
in class com.idega.data.TreeableEntityBMPBean
java.sql.SQLException
moveChildrenFrom(com.idega.data.TreeableEntity)
public void removeChild(com.idega.data.TreeableEntity p0) throws java.sql.SQLException
removeChild
in interface com.idega.data.TreeableEntity
removeChild
in interface Union
removeChild
in class com.idega.data.TreeableEntityBMPBean
java.sql.SQLException
removeChild(com.idega.data.TreeableEntity)
public java.lang.String getNodeName(java.util.Locale locale, com.idega.idegaweb.IWApplicationContext iwac)
getNodeName
in interface com.idega.core.data.ICTreeNode
getNodeName
in interface Union
getNodeName
in class com.idega.data.TreeableEntityBMPBean
getNodeName()
public boolean leafsFirst()
leafsFirst
in interface com.idega.data.TreeableEntity
leafsFirst
in interface Union
leafsFirst
in class com.idega.data.TreeableEntityBMPBean
leafsFirst()
public void setLeafsFirst(boolean b)
setLeafsFirst
in interface com.idega.data.TreeableEntity
setLeafsFirst
in interface Union
setLeafsFirst
in class com.idega.data.TreeableEntityBMPBean
setLeafsFirst(boolean)
public void setToSortLeafs(boolean b)
setToSortLeafs
in interface com.idega.data.TreeableEntity
setToSortLeafs
in interface Union
setToSortLeafs
in class com.idega.data.TreeableEntityBMPBean
setToSortLeafs(boolean)
public boolean sortLeafs()
sortLeafs
in interface com.idega.data.TreeableEntity
sortLeafs
in interface Union
sortLeafs
in class com.idega.data.TreeableEntityBMPBean
sortLeafs()
public com.idega.block.trade.data.CreditCardInformation getCreditCardInformation()
getCreditCardInformation
in interface Union
getCreditCardInformation()
public void setICGroup(com.idega.user.data.Group group)
setICGroup
in interface Union
setICGroup(com.idega.user.data.Group)
public int getICGroupId()
getICGroupId
in interface Union
public java.util.Collection ejbFindAllUnions() throws javax.ejb.FinderException
javax.ejb.FinderException
public com.idega.user.data.Group getICGroup()
getICGroup
in interface Union
getICGroup()
public com.idega.user.data.Group getUnionFromIWMemberSystem()
getUnionFromIWMemberSystem
in interface Union
getUnionFromIWMemberSystem()
public java.lang.Object ejbFindUnionByIWMemberSystemGroup(com.idega.user.data.Group union) throws javax.ejb.FinderException
javax.ejb.FinderException
public java.lang.Object ejbFindByAbbreviation(java.lang.String abbr) throws javax.ejb.FinderException
javax.ejb.FinderException
public java.util.Collection<java.lang.String> ejbFindAllChildUnions(java.util.Collection<java.lang.String> parentUnionsIds)
parentUnionsIds
- is Collection
of EJBLocalObject.getPrimaryKey()
to get child Union
s for, not null
;
EJBLocalObject.getPrimaryKey()
s of child Union
s
or Collections.emptyList()
on failure;public boolean addToBlackList(Member member)
addToBlackList
in interface Union
addToBlackList(is.idega.idegaweb.golf.entity.Member)
public java.util.Collection<Member> getBlackListedMembers()
getBlackListedMembers
in interface Union
Collection
of Member
s,
who are in blacklist of this Union
or Collections.emptyList()
on failure;public java.util.Collection<java.lang.String> getBlackListedMembersIds()
getBlackListedMembersIds
in interface Union
Collection
of EJBLocalObject.getPrimaryKey()
of
Member
s, who are in blacklist of this Union
or Collections.emptyList()
on failure;public boolean isBlackListed(Member member) throws com.idega.data.IDORelationshipException
isBlackListed
in interface Union
com.idega.data.IDORelationshipException
isBlackListed(is.idega.idegaweb.golf.entity.Member)
public boolean removeFromBlackList(Member member)
removeFromBlackList
in interface Union
removeFromBlackList(is.idega.idegaweb.golf.entity.Member)
public void addExtraUnion(Union union) throws com.idega.data.IDOAddRelationshipException
addExtraUnion
in interface Union
com.idega.data.IDOAddRelationshipException
addExtraUnion(is.idega.idegaweb.golf.entity.Union)
public void removeExtraUnion(Union union) throws com.idega.data.IDORemoveRelationshipException
removeExtraUnion
in interface Union
com.idega.data.IDORemoveRelationshipException
removeExtraUnion(is.idega.idegaweb.golf.entity.Union)
public java.util.Collection getChildUnions() throws com.idega.data.IDORelationshipException
getChildUnions
in interface Union
com.idega.data.IDORelationshipException
getChildUnions()
public java.util.Collection getParentUnions() throws com.idega.data.IDORelationshipException
getParentUnions
in interface Union
com.idega.data.IDORelationshipException
getParentUnions()
public java.util.Iterator getChildrenIterator(java.lang.String arg0)
getChildrenIterator
in interface com.idega.data.TreeableEntity
getChildrenIterator
in interface Union
getChildrenIterator
in class com.idega.data.TreeableEntityBMPBean
getChildrenIterator()
public java.util.Iterator getChildrenIterator(java.lang.String arg0, boolean arg1)
getChildrenIterator
in interface com.idega.data.TreeableEntity
getChildrenIterator
in interface Union
getChildrenIterator
in class com.idega.data.TreeableEntityBMPBean
getChildrenIterator()
public java.util.Collection getChildren(java.lang.String p0)
getChildren
in interface Union
getChildren
in class com.idega.data.TreeableEntityBMPBean
getChildren()
public java.util.Collection<java.lang.Integer> getUnionsByMembershipAndMember(int memberId, java.lang.String membershipType) throws javax.ejb.FinderException
javax.ejb.FinderException
public java.util.Collection<java.lang.Integer> getUnionsWithoutUId(int start, int maxResults) throws javax.ejb.FinderException
javax.ejb.FinderException
public java.util.Collection<java.lang.Integer> getUnions(int start, int maxResults) throws javax.ejb.FinderException
javax.ejb.FinderException
public java.lang.Object getByUId(java.lang.String UId) throws javax.ejb.FinderException
javax.ejb.FinderException
public boolean isUserMemberOfClub(com.idega.user.data.User user)
isUserMemberOfClub
in interface Union
public java.lang.Integer getAdId()
getAdId
in interface Union
public void setAdId(java.lang.Integer adId)
setAdId
in interface Union
protected MemberHome getMemberHome()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |