|
||||||||||
| 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.GolfPageDaoImpl
@Repository(value="golfPageDao") @Scope(value="singleton") public class GolfPageDaoImpl
| Field Summary |
|---|
| Fields inherited from interface is.idega.idegaweb.golf.data.dao.GolfPageDao |
|---|
BEAN_NAME |
| Constructor Summary | |
|---|---|
GolfPageDaoImpl()
|
|
| Method Summary | |
|---|---|
GolfPageEntity |
getGolfPage(java.lang.Integer pageId)
|
java.util.List<GolfPageEntity> |
getGolfPages(java.lang.Integer clubId)
Returns golf pages having all their fields loaded. |
java.lang.Integer |
getLastPositionForClubPage(int clubId)
Returns the last positioned page position, if there is no page for this club returns -1. |
void |
removeGolfPageEntity(java.lang.Integer pageId)
|
GolfPageEntity |
storeGolfPage(java.lang.Integer clubId,
java.lang.Integer pageId,
java.lang.String headline,
java.lang.String body)
|
| 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 GolfPageDaoImpl()
| Method Detail |
|---|
@Transactional(readOnly=true) public java.util.List<GolfPageEntity> getGolfPages(java.lang.Integer clubId)
GolfPageDao
getGolfPages in interface GolfPageDao@Transactional(readOnly=true) public GolfPageEntity getGolfPage(java.lang.Integer pageId)
getGolfPage in interface GolfPageDao@Transactional(readOnly=true) public java.lang.Integer getLastPositionForClubPage(int clubId)
GolfPageDao
getLastPositionForClubPage in interface GolfPageDao@Transactional(readOnly=false) public void removeGolfPageEntity(java.lang.Integer pageId)
removeGolfPageEntity in interface GolfPageDao
@Transactional(readOnly=false)
public GolfPageEntity storeGolfPage(java.lang.Integer clubId,
java.lang.Integer pageId,
java.lang.String headline,
java.lang.String body)
storeGolfPage in interface GolfPageDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||