|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.idega.core.persistence.impl.GenericDaoImpl
is.idega.idegaweb.golf.data.dao.impl.BlacklistLogDaoImpl
@Repository(value="blacklistLogDao") @Transactional(readOnly=false) @Scope(value="singleton") public class BlacklistLogDaoImpl
Implementation for BlacklistLogDao
.
You can report about problems to: Martynas StakÄ—
Field Summary |
---|
Fields inherited from interface is.idega.idegaweb.golf.data.dao.BlacklistLogDao |
---|
BEAN_NAME |
Constructor Summary | |
---|---|
BlacklistLogDaoImpl()
|
Method Summary | |
---|---|
java.util.List<MemberHistory> |
findAll(int memberId,
int unionId)
|
MemberHistory |
findById(int id)
|
MemberHistory |
findLatest(int memberId,
int unionId)
|
protected MemberHome |
getMemberHome()
|
protected UnionHome |
getUnionHome()
|
MemberHistory |
update(MemberHistory entity)
Updates or creates entity in data source; |
MemberHistory |
update(java.lang.String message,
int memberId,
int unionId)
Updates or creates entity in data source; |
MemberHistory |
update(java.lang.String message,
java.lang.String personalId,
int unionId)
Updates or creates entity in data source; |
Methods inherited from class com.idega.core.persistence.impl.GenericDaoImpl |
---|
contains, createNamedQuery, createNewQueryInline, createNewQueryNamed, createNewQueryNativeInline, find, flush, getDaoFunctions, getEntityManager, getLogger, getQueryInline, getQueryNamed, getQueryNativeInline, getReference, getResultList, getResultListByInlineQuery, getSingleResult, getSingleResultByInlineQuery, merge, mergeRemove, persist, refresh, remove, setEntityManager |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.idega.core.persistence.GenericDao |
---|
contains, createNamedQuery, find, flush, getQueryInline, getQueryNamed, getQueryNativeInline, getReference, getResultList, getResultListByInlineQuery, getSingleResult, getSingleResultByInlineQuery, merge, mergeRemove, persist, refresh, remove |
Constructor Detail |
---|
public BlacklistLogDaoImpl()
Method Detail |
---|
public MemberHistory update(MemberHistory entity)
BlacklistLogDao
Updates or creates entity in data source;
update
in interface BlacklistLogDao
entity
- to create or update, not null
;
null
on failure;public MemberHistory update(java.lang.String message, int memberId, int unionId)
BlacklistLogDao
Updates or creates entity in data source;
update
in interface BlacklistLogDao
message
- a random string with reason why Member
is added
or removed to blacklist, skipped if null
;memberId
- is primary of Member
which is added or removed
from blacklist, not null
;
null
on failure;public MemberHistory update(java.lang.String message, java.lang.String personalId, int unionId)
BlacklistLogDao
Updates or creates entity in data source;
update
in interface BlacklistLogDao
message
- a random string with reason why Member
is added
or removed to blacklist, skipped if null
;personalId
- is Member.getSSN()
of Member
who
should be added or removed from blacklist, not null
;
null
on failure;public MemberHistory findById(int id)
findById
in interface BlacklistLogDao
id
- is MemberHistory.getId()
to search by,
not null
;
null
on failure;public java.util.List<MemberHistory> findAll(int memberId, int unionId)
findAll
in interface BlacklistLogDao
memberId
- is EJBLocalObject.getPrimaryKey()
to get entities for,
not null
;
Collections.emptyList()
on failure;public MemberHistory findLatest(int memberId, int unionId)
findLatest
in interface BlacklistLogDao
memberId
- is EJBLocalObject.getPrimaryKey()
to get entities for,
not null
;
null
on failure;protected UnionHome getUnionHome()
protected MemberHome getMemberHome()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |