@Named public class ParticipantRepository extends org.giavacms.common.repository.AbstractRepository<Participant>
| Constructor and Description |
|---|
ParticipantRepository() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyRestrictions(org.giavacms.common.model.Search<Participant> search,
String alias,
String separator,
StringBuffer sb,
Map<String,Object> params) |
boolean |
delete(Object key) |
Participant |
fetch(Object key) |
Participant |
findLatestPartcipantBySubjectId(String subjectId) |
List<ParticipantExhibition> |
getAllPartecipantsBySubject(String subjectId) |
protected String |
getDefaultOrderBy() |
List<Discipline> |
getDistinctDiscipline(String exhibition) |
protected javax.persistence.EntityManager |
getEm() |
protected Participant |
prePersist(Participant participant) |
protected Participant |
preUpdate(Participant participant) |
void |
setEm(javax.persistence.EntityManager em) |
addAndPredicate, construct, create, find, getAllList, getBaseList, getEntityType, getGroups, getList, getList, getListSize, getOrderBy, getRestrictions, initialize, likeParam, likeParamL, likeParamR, persist, testKey, updateprotected javax.persistence.EntityManager getEm()
getEm in class org.giavacms.common.repository.AbstractRepository<Participant>public void setEm(javax.persistence.EntityManager em)
setEm in class org.giavacms.common.repository.AbstractRepository<Participant>protected String getDefaultOrderBy()
getDefaultOrderBy in class org.giavacms.common.repository.AbstractRepository<Participant>protected void applyRestrictions(org.giavacms.common.model.Search<Participant> search, String alias, String separator, StringBuffer sb, Map<String,Object> params)
applyRestrictions in class org.giavacms.common.repository.AbstractRepository<Participant>public List<ParticipantExhibition> getAllPartecipantsBySubject(String subjectId)
protected Participant prePersist(Participant participant)
prePersist in class org.giavacms.common.repository.AbstractRepository<Participant>protected Participant preUpdate(Participant participant)
preUpdate in class org.giavacms.common.repository.AbstractRepository<Participant>public boolean delete(Object key)
delete in interface org.giavacms.common.repository.Repository<Participant>delete in class org.giavacms.common.repository.AbstractRepository<Participant>public Participant fetch(Object key)
fetch in interface org.giavacms.common.repository.Repository<Participant>fetch in class org.giavacms.common.repository.AbstractRepository<Participant>public Participant findLatestPartcipantBySubjectId(String subjectId)
public List<Discipline> getDistinctDiscipline(String exhibition)
Copyright © 2013. All Rights Reserved.