|
||||||||||
| 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.ICTreeNodegetId in interface UniongetId in class com.idega.data.TreeableEntityBMPBeangetId()public void initializeAttributes()
initializeAttributes in class com.idega.data.GenericEntitypublic java.lang.String getEntityName()
getEntityName in interface com.idega.data.IDOLegacyEntitygetEntityName in class com.idega.data.GenericEntitypublic java.lang.String getIDColumnName()
getIDColumnName in interface com.idega.data.IDOLegacyEntitygetIDColumnName in class com.idega.data.GenericEntitypublic java.lang.String getName()
getName in interface com.idega.data.IDOLegacyEntitygetName in interface UniongetName in class com.idega.data.GenericEntitygetName()public void setName(java.lang.String name)
setName in interface com.idega.data.IDOLegacyEntitysetName in interface UnionsetName in class com.idega.data.GenericEntitysetName(java.lang.String)public void setAbbrevation(java.lang.String abbrevation)
setAbbrevation in interface UnionsetAbbrevation(java.lang.String)public java.lang.String getAbbrevation()
getAbbrevation in interface UniongetAbbrevation()public void setNumber(int number)
setNumber in interface UnionsetNumber(int)public void setNumber(java.lang.Integer number)
setNumber in interface UnionsetNumber(int)public int getNumber()
getNumber in interface UniongetNumber()public void setUnionType(java.lang.String type)
setUnionType in interface UnionsetUnionType(java.lang.String)public java.lang.String getUnionType()
getUnionType in interface UniongetUnionType()public void setExternalLink(java.lang.String link)
setExternalLink in interface UnionsetExternalLink(java.lang.String)public java.lang.String getExternalLink()
getExternalLink in interface UniongetExternalLink()public void setUnionArea(UnionArea area)
setUnionArea in interface Unionis.idega.idegaweb.golf.entity.UnionBMPBean#setAreapublic UnionArea getUnionArea()
getUnionArea in interface Unionis.idega.idegaweb.golf.entity.UnionBMPBean#getAreapublic void setDeleted(boolean deleted)
setDeleted in interface UnionsetDeleted(boolean)public boolean isDeleted()
isDeleted in interface UnionisDeleted()public UnionInfo getUnionInfo()
getUnionInfo in interface UniongetUnionInfo()
public Union[] findAllGolfClubs()
throws java.sql.SQLException
findAllGolfClubs in interface Unionjava.sql.SQLExceptionfindAllGolfClubs()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 Members,
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 Unionjava.sql.SQLExceptiongetAllGolfClubs()
public java.util.List getOwningFields()
throws java.sql.SQLException
getOwningFields in interface Unionjava.sql.SQLExceptiongetOwningFields()
public void delete()
throws java.sql.SQLException
delete in interface com.idega.data.IDOLegacyEntitydelete in class com.idega.data.GenericEntityjava.sql.SQLExceptionpublic java.util.Iterator getChildrenIterator()
getChildrenIterator in interface com.idega.core.data.ICTreeNodegetChildrenIterator in interface UniongetChildrenIterator in class com.idega.data.TreeableEntityBMPBeangetChildrenIterator()public java.util.Collection getChildren()
getChildren in interface com.idega.core.data.ICTreeNodegetChildren in interface UniongetChildren in class com.idega.data.TreeableEntityBMPBeangetChildren()public java.util.Enumeration children()
children in interface com.idega.util.datastructures.idegaTreeNodechildren in interface Unionchildren()public boolean getAllowsChildren()
getAllowsChildren in interface com.idega.core.data.ICTreeNodegetAllowsChildren in interface com.idega.util.datastructures.idegaTreeNodegetAllowsChildren in interface UniongetAllowsChildren in class com.idega.data.TreeableEntityBMPBeangetAllowsChildren()public com.idega.util.datastructures.idegaTreeNode getChildAt(int childIndex)
getChildAt in interface com.idega.util.datastructures.idegaTreeNodegetChildAt in interface UniongetChildAt(int)public int getChildCount()
getChildCount in interface com.idega.core.data.ICTreeNodegetChildCount in interface com.idega.util.datastructures.idegaTreeNodegetChildCount in interface UniongetChildCount in class com.idega.data.TreeableEntityBMPBeangetChildCount()public int getIndex(com.idega.util.datastructures.idegaTreeNode node)
getIndex in interface com.idega.util.datastructures.idegaTreeNodegetIndex in interface UniongetIndex(com.idega.util.datastructures.idegaTreeNode)public com.idega.util.datastructures.idegaTreeNode getParent()
getParent in interface com.idega.util.datastructures.idegaTreeNodegetParent in interface UniongetParent()public boolean isLeaf()
isLeaf in interface com.idega.core.data.ICTreeNodeisLeaf in interface com.idega.util.datastructures.idegaTreeNodeisLeaf in interface UnionisLeaf in class com.idega.data.TreeableEntityBMPBeanisLeaf()public java.lang.String getNodeName()
getNodeName in interface com.idega.core.data.ICTreeNodegetNodeName in interface com.idega.util.datastructures.idegaTreeNodegetNodeName in interface UniongetNodeName in class com.idega.data.TreeableEntityBMPBeangetNodeName()public java.util.List getMembersInUnion()
getMembersInUnion in interface UniongetMembersInUnion()public java.util.List<Member> getAllMembersInUnion()
getAllMembersInUnion in interface Unionpublic java.util.List<Member> getAllActiveMembers()
getAllActiveMembers in interface Unionpublic java.util.List<Member> getAllInActiveMembers()
getAllInActiveMembers in interface Unionpublic java.util.List<Member> getActiveMembers()
getActiveMembers in interface Unionpublic java.util.List<Member> getInActiveMembers()
getInActiveMembers in interface Unionpublic java.util.List getGroups(java.lang.String group_type)
getGroups in interface UniongetGroups(java.lang.String)public java.util.List getUnionGroups()
getUnionGroups in interface UniongetUnionGroups()public java.util.List getUnionGroupsRecursive()
getUnionGroupsRecursive in interface UniongetUnionGroupsRecursive()public java.util.List getTournamentGroups()
getTournamentGroups in interface UniongetTournamentGroups()public java.util.List getTournamentGroupsRecursive()
getTournamentGroupsRecursive in interface UniongetTournamentGroupsRecursive()
public java.util.List getUnionsBetweenZipcodes(Union entity,
int zipcodeFrom,
int zipcodeTo)
throws java.sql.SQLException
getUnionsBetweenZipcodes in interface Unionjava.sql.SQLExceptiongetUnionsBetweenZipcodes(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 Unionjava.sql.SQLExceptiongetUnionsBetweenZipcodes(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 Unionjava.sql.SQLExceptiongetUnionsBetweenZipcodes(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 Unionjava.sql.SQLExceptiongetUnionsBetweenZipcodes(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 Unionjava.sql.SQLExceptiongetUnionsBetweenZipcodesOrderBy(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.GenericEntityjava.lang.Exceptionpublic int getNodeID()
getNodeID in interface com.idega.core.data.ICTreeNodegetNodeID in interface UniongetNodeID in class com.idega.data.TreeableEntityBMPBeangetNodeID()public com.idega.core.data.ICTreeNode getParentNode()
getParentNode in interface com.idega.core.data.ICTreeNodegetParentNode in interface UniongetParentNode in class com.idega.data.TreeableEntityBMPBeangetParentNode()public int getIndex(com.idega.core.data.ICTreeNode node)
getIndex in interface com.idega.core.data.ICTreeNodegetIndex in interface com.idega.data.TreeableEntitygetIndex in interface UniongetIndex in class com.idega.data.TreeableEntityBMPBeangetIndex(com.idega.util.datastructures.idegaTreeNode)public com.idega.core.data.ICTreeNode getChildAtIndex(int index)
getChildAtIndex in interface com.idega.core.data.ICTreeNodegetChildAtIndex in interface UniongetChildAtIndex in class com.idega.data.TreeableEntityBMPBeangetChildAtIndex(int)public int getSiblingCount()
getSiblingCount in interface com.idega.core.data.ICTreeNodegetSiblingCount in interface UniongetSiblingCount in class com.idega.data.TreeableEntityBMPBeangetSiblingCount()public java.lang.String getNodeName(java.util.Locale locale)
getNodeName in interface com.idega.core.data.ICTreeNodegetNodeName in interface UniongetNodeName in class com.idega.data.TreeableEntityBMPBeangetNodeName()
public void addChild(com.idega.data.TreeableEntity p0)
throws java.sql.SQLException
addChild in interface com.idega.data.TreeableEntityaddChild in interface UnionaddChild in class com.idega.data.TreeableEntityBMPBeanjava.sql.SQLExceptionaddChild(com.idega.data.TreeableEntity)public com.idega.data.TreeableEntity getParentEntity()
getParentEntity in interface com.idega.data.TreeableEntitygetParentEntity in interface UniongetParentEntity in class com.idega.data.TreeableEntityBMPBeangetParentEntity()public java.lang.String getTreeRelationshipChildColumnName(com.idega.data.TreeableEntity p0)
getTreeRelationshipChildColumnName in interface com.idega.data.TreeableEntitygetTreeRelationshipChildColumnName in interface UniongetTreeRelationshipChildColumnName in class com.idega.data.TreeableEntityBMPBeangetTreeRelationshipChildColumnName(com.idega.data.TreeableEntity)public java.lang.String getTreeRelationshipTableName(com.idega.data.TreeableEntity p0)
getTreeRelationshipTableName in interface com.idega.data.TreeableEntitygetTreeRelationshipTableName in interface UniongetTreeRelationshipTableName in class com.idega.data.TreeableEntityBMPBeangetTreeRelationshipTableName(com.idega.data.TreeableEntity)
public void moveChildrenFrom(com.idega.data.TreeableEntity p0)
throws java.sql.SQLException
moveChildrenFrom in interface com.idega.data.TreeableEntitymoveChildrenFrom in interface UnionmoveChildrenFrom in class com.idega.data.TreeableEntityBMPBeanjava.sql.SQLExceptionmoveChildrenFrom(com.idega.data.TreeableEntity)
public void removeChild(com.idega.data.TreeableEntity p0)
throws java.sql.SQLException
removeChild in interface com.idega.data.TreeableEntityremoveChild in interface UnionremoveChild in class com.idega.data.TreeableEntityBMPBeanjava.sql.SQLExceptionremoveChild(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.ICTreeNodegetNodeName in interface UniongetNodeName in class com.idega.data.TreeableEntityBMPBeangetNodeName()public boolean leafsFirst()
leafsFirst in interface com.idega.data.TreeableEntityleafsFirst in interface UnionleafsFirst in class com.idega.data.TreeableEntityBMPBeanleafsFirst()public void setLeafsFirst(boolean b)
setLeafsFirst in interface com.idega.data.TreeableEntitysetLeafsFirst in interface UnionsetLeafsFirst in class com.idega.data.TreeableEntityBMPBeansetLeafsFirst(boolean)public void setToSortLeafs(boolean b)
setToSortLeafs in interface com.idega.data.TreeableEntitysetToSortLeafs in interface UnionsetToSortLeafs in class com.idega.data.TreeableEntityBMPBeansetToSortLeafs(boolean)public boolean sortLeafs()
sortLeafs in interface com.idega.data.TreeableEntitysortLeafs in interface UnionsortLeafs in class com.idega.data.TreeableEntityBMPBeansortLeafs()public com.idega.block.trade.data.CreditCardInformation getCreditCardInformation()
getCreditCardInformation in interface UniongetCreditCardInformation()public void setICGroup(com.idega.user.data.Group group)
setICGroup in interface UnionsetICGroup(com.idega.user.data.Group)public int getICGroupId()
getICGroupId in interface Union
public java.util.Collection ejbFindAllUnions()
throws javax.ejb.FinderException
javax.ejb.FinderExceptionpublic com.idega.user.data.Group getICGroup()
getICGroup in interface UniongetICGroup()public com.idega.user.data.Group getUnionFromIWMemberSystem()
getUnionFromIWMemberSystem in interface UniongetUnionFromIWMemberSystem()
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.FinderExceptionpublic java.util.Collection<java.lang.String> ejbFindAllChildUnions(java.util.Collection<java.lang.String> parentUnionsIds)
parentUnionsIds - is Collection of EJBLocalObject.getPrimaryKey()
to get child Unions for, not null;
EJBLocalObject.getPrimaryKey()s of child Unions
or Collections.emptyList() on failure;public boolean addToBlackList(Member member)
addToBlackList in interface UnionaddToBlackList(is.idega.idegaweb.golf.entity.Member)public java.util.Collection<Member> getBlackListedMembers()
getBlackListedMembers in interface UnionCollection of Members,
who are in blacklist of this Union
or Collections.emptyList() on failure;public java.util.Collection<java.lang.String> getBlackListedMembersIds()
getBlackListedMembersIds in interface UnionCollection of EJBLocalObject.getPrimaryKey() of
Members, 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 Unioncom.idega.data.IDORelationshipExceptionisBlackListed(is.idega.idegaweb.golf.entity.Member)public boolean removeFromBlackList(Member member)
removeFromBlackList in interface UnionremoveFromBlackList(is.idega.idegaweb.golf.entity.Member)
public void addExtraUnion(Union union)
throws com.idega.data.IDOAddRelationshipException
addExtraUnion in interface Unioncom.idega.data.IDOAddRelationshipExceptionaddExtraUnion(is.idega.idegaweb.golf.entity.Union)
public void removeExtraUnion(Union union)
throws com.idega.data.IDORemoveRelationshipException
removeExtraUnion in interface Unioncom.idega.data.IDORemoveRelationshipExceptionremoveExtraUnion(is.idega.idegaweb.golf.entity.Union)
public java.util.Collection getChildUnions()
throws com.idega.data.IDORelationshipException
getChildUnions in interface Unioncom.idega.data.IDORelationshipExceptiongetChildUnions()
public java.util.Collection getParentUnions()
throws com.idega.data.IDORelationshipException
getParentUnions in interface Unioncom.idega.data.IDORelationshipExceptiongetParentUnions()public java.util.Iterator getChildrenIterator(java.lang.String arg0)
getChildrenIterator in interface com.idega.data.TreeableEntitygetChildrenIterator in interface UniongetChildrenIterator in class com.idega.data.TreeableEntityBMPBeangetChildrenIterator()
public java.util.Iterator getChildrenIterator(java.lang.String arg0,
boolean arg1)
getChildrenIterator in interface com.idega.data.TreeableEntitygetChildrenIterator in interface UniongetChildrenIterator in class com.idega.data.TreeableEntityBMPBeangetChildrenIterator()public java.util.Collection getChildren(java.lang.String p0)
getChildren in interface UniongetChildren in class com.idega.data.TreeableEntityBMPBeangetChildren()
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.FinderExceptionpublic boolean isUserMemberOfClub(com.idega.user.data.User user)
isUserMemberOfClub in interface Unionpublic java.lang.Integer getAdId()
getAdId in interface Unionpublic void setAdId(java.lang.Integer adId)
setAdId in interface Unionprotected MemberHome getMemberHome()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||