|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UnionHome
Method Summary | |
---|---|
Union |
create()
|
Union |
createLegacy()
|
java.util.Collection<Union> |
findAll()
|
java.util.Collection<Union> |
findAll(java.lang.String unionType)
|
java.util.Collection<Union> |
findAllByArea(UnionArea area)
|
java.util.Collection<Union> |
findAllChildUnions(java.util.Collection<java.lang.String> parentUnionsIds)
|
java.util.Collection<Union> |
findAllGolfClubs()
|
java.util.Collection<Union> |
findAllUnions()
|
java.util.Map<Union,java.util.Collection<Member>> |
findBlackListedMembers()
|
java.util.Map<Union,java.util.Collection<Member>> |
findBlackListedMembers(java.util.Collection<java.lang.String> unionIds)
|
java.util.Map<Union,java.util.Collection<Member>> |
findBlackListedMembersByUnions(java.util.Collection<Union> unionIds)
|
Union |
findByAbbreviation(java.lang.String abbr)
|
Union |
findByPrimaryKey(int id)
|
Union |
findByPrimaryKey(java.lang.Object pk)
|
Union |
findByPrimaryKeyLegacy(int id)
|
java.util.Collection<Union> |
findByPrimaryKeys(java.util.Collection<?> primaryKeys)
|
Union |
findUnionByIWMemberSystemGroup(com.idega.user.data.Group union)
|
Union |
getByUId(java.lang.String uid)
|
java.util.Collection<Union> |
getUnions(int start,
int maxResults)
|
java.util.Collection<Union> |
getUnionsByMembershipAndMember(int memberId,
java.lang.String membershipType)
|
java.util.Collection<Union> |
getUnionsWithoutUId(int start,
int maxResults)
|
boolean |
isBlacklisted(java.lang.String memberId)
Checks if Member is in blacklist. |
boolean |
removeFromBlacklist(java.lang.String unionId,
java.lang.String personalId)
Removes entry from UnionBMPBean.TABLE_NAME_UNION_BLACKLIST |
boolean |
removeFromBlackList(java.lang.String unionId,
java.lang.String memberId)
Removes entry from UnionBMPBean.TABLE_NAME_UNION_BLACKLIST |
boolean |
removeFromBlackList(Union union,
Member member)
Removes entry from UnionBMPBean.TABLE_NAME_UNION_BLACKLIST |
boolean |
updateBlackList(java.lang.String unionId,
java.lang.String personalId)
Adds entry to blacklist of Union s |
boolean |
updateBlackList(Union union,
Member member)
Adds entry to blacklist of Union s |
Methods inherited from interface com.idega.data.IDOHome |
---|
createIDO, decode, decode, findByPrimaryKeyCollection, findByPrimaryKeyIDO, getDatasource, getEntityCollectionForPrimaryKeys, setDatasource, setDatasource |
Methods inherited from interface javax.ejb.EJBLocalHome |
---|
remove |
Method Detail |
---|
Union create() throws javax.ejb.CreateException
javax.ejb.CreateException
Union findByPrimaryKey(java.lang.Object pk)
pk
- is EJBLocalObject.getPrimaryKey()
, not null
;
null
on failure;java.util.Collection<Union> getUnionsWithoutUId(int start, int maxResults)
java.util.Collection<Union> getUnions(int start, int maxResults)
java.util.Collection<Union> findByPrimaryKeys(java.util.Collection<?> primaryKeys)
primaryKeys
- is Collection
of
EJBLocalObject.getPrimaryKey()
, not null
Collections.emptyList()
on failure;Union createLegacy()
Union findByPrimaryKey(int id) throws javax.ejb.FinderException
javax.ejb.FinderException
Union findByPrimaryKeyLegacy(int id) throws java.sql.SQLException
java.sql.SQLException
java.util.Collection<Union> findAllByArea(UnionArea area) throws javax.ejb.FinderException
javax.ejb.FinderException
Union findUnionByIWMemberSystemGroup(com.idega.user.data.Group union) throws javax.ejb.FinderException
javax.ejb.FinderException
Union findByAbbreviation(java.lang.String abbr) throws javax.ejb.FinderException
javax.ejb.FinderException
java.util.Collection<Union> findAllGolfClubs()
Union.getUnionType()
is "golf_club" or Collections.emptyList()
on failure;java.util.Collection<Union> findAll()
Collections.emptyList()
on failure;java.util.Collection<Union> findAll(java.lang.String unionType)
unionType
- is Union.getUnionType()
,
skipped if null
;
Collections.emptyList()
on failure;java.util.Map<Union,java.util.Collection<Member>> findBlackListedMembers()
UnionBMPBean.TABLE_NAME_UNION_BLACKLIST
or Collections.emptyMap()
on failure;java.util.Map<Union,java.util.Collection<Member>> findBlackListedMembers(java.util.Collection<java.lang.String> unionIds)
unionIds
- is Collection
of EJBLocalObject.getPrimaryKey()
,
skipped if null
;
UnionBMPBean.TABLE_NAME_UNION_BLACKLIST
or Collections.emptyMap()
on failure;java.util.Map<Union,java.util.Collection<Member>> findBlackListedMembersByUnions(java.util.Collection<Union> unionIds)
unionIds
- is Collection
of Union
,
skipped if null
;
UnionBMPBean.TABLE_NAME_UNION_BLACKLIST
or Collections.emptyMap()
on failure;boolean updateBlackList(java.lang.String unionId, java.lang.String personalId)
Adds entry to blacklist of Union
s
unionId
- is EJBLocalObject.getPrimaryKey()
to add to,
not null
;personalId
- is Member.getSocialSecurityNumber()
,
not null
;
true
on update, false
otherwise;boolean updateBlackList(Union union, Member member)
Adds entry to blacklist of Union
s
union
- to add Member
to, not null
;member
- to add, not null
;
true
on update, false
otherwise;boolean removeFromBlackList(java.lang.String unionId, java.lang.String memberId)
Removes entry from UnionBMPBean.TABLE_NAME_UNION_BLACKLIST
unionId
- is EJBLocalObject.getPrimaryKey()
to remove from,
not null
;memberId
- is EJBLocalObject.getPrimaryKey()
of Member
to remove, not null
;
true
if removed, false
otherwise;boolean removeFromBlacklist(java.lang.String unionId, java.lang.String personalId)
Removes entry from UnionBMPBean.TABLE_NAME_UNION_BLACKLIST
unionId
- is EJBLocalObject.getPrimaryKey()
to remove from,
not null
;memberId
- is Member.getSSN()
of Member
to remove, not null
;
true
if removed, false
otherwise;boolean removeFromBlackList(Union union, Member member)
Removes entry from UnionBMPBean.TABLE_NAME_UNION_BLACKLIST
union
- to remove from, not null
;member
- to remove, not null
;
true
if removed, false
otherwise;boolean isBlacklisted(java.lang.String memberId)
Checks if Member
is in blacklist.
memberId
- is EJBLocalObject.getPrimaryKey()
to check,
not null
;
true
if Member
in blacklist,
false
otherwise;java.util.Collection<Union> findAllChildUnions(java.util.Collection<java.lang.String> parentUnionsIds)
parentUnionsIds
- is Collection
of EJBLocalObject.getPrimaryKey()
to get child Union
s for, not null
;
Union
s of given Union
or
Collections.emptyList()
on failure;java.util.Collection<Union> getUnionsByMembershipAndMember(int memberId, java.lang.String membershipType)
Union getByUId(java.lang.String uid)
java.util.Collection<Union> findAllUnions() throws javax.ejb.FinderException
javax.ejb.FinderException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |