|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.riotfamily.riot.dao.support.RiotDaoAdapter
org.riotfamily.pages.riot.dao.SiteRiotDao
public class SiteRiotDao
| Constructor Summary | |
|---|---|
SiteRiotDao()
|
|
| Method Summary | |
|---|---|
void |
addChild(Object entity,
Object parent)
Adds the entity to a new parent. |
void |
afterPropertiesSet()
|
void |
delete(Object entity,
Object parent)
Always throws an InvalidDataAccessApiUsageException. |
Class<?> |
getEntityClass()
Returns the class that is accessed by the DAO. |
String |
getObjectId(Object entity)
Always returns null. |
Collection<?> |
list(Object parent,
ListParams params)
Always returns Collections.EMPTY_LIST. |
Object |
load(String id)
Always throws an InvalidDataAccessApiUsageException. |
Object |
merge(Object entity)
Returns the given entity. |
void |
removeChild(Object entity,
Object parent)
Removes the entity from the given parent. |
void |
save(Object entity,
Object parent)
Always throws an InvalidDataAccessApiUsageException. |
void |
setPageDao(PageDao pageDao)
|
void |
swapEntity(Object entity,
Object parent,
ListParams params,
int swapWith)
|
void |
update(Object entity)
Does nothing. |
| Methods inherited from class org.riotfamily.riot.dao.support.RiotDaoAdapter |
|---|
getListSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.riotfamily.riot.dao.RiotDao |
|---|
getListSize |
| Methods inherited from interface org.riotfamily.riot.dao.RiotDao |
|---|
getListSize |
| Constructor Detail |
|---|
public SiteRiotDao()
| Method Detail |
|---|
public void setPageDao(PageDao pageDao)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic Class<?> getEntityClass()
RiotDao
getEntityClass in interface RiotDaogetEntityClass in class RiotDaoAdapter
public Collection<?> list(Object parent,
ListParams params)
throws DataAccessException
RiotDaoAdapterCollections.EMPTY_LIST.
list in interface RiotDaolist in class RiotDaoAdapterDataAccessException
public void save(Object entity,
Object parent)
throws DataAccessException
RiotDaoAdapter
save in interface RiotDaosave in class RiotDaoAdapterDataAccessException
public Object merge(Object entity)
throws DataAccessException
RiotDaoAdapter
merge in interface RiotDaomerge in class RiotDaoAdapterDataAccessException
public void update(Object entity)
throws DataAccessException
RiotDaoAdapter
update in interface RiotDaoupdate in class RiotDaoAdapterDataAccessException
public void delete(Object entity,
Object parent)
throws DataAccessException
RiotDaoAdapter
delete in interface RiotDaodelete in class RiotDaoAdapterDataAccessExceptionpublic String getObjectId(Object entity)
RiotDaoAdapternull.
getObjectId in interface RiotDaogetObjectId in class RiotDaoAdapter
public Object load(String id)
throws DataAccessException
RiotDaoAdapter
load in interface RiotDaoload in class RiotDaoAdapterDataAccessException
public void swapEntity(Object entity,
Object parent,
ListParams params,
int swapWith)
swapEntity in interface SwappableItemDao
public void removeChild(Object entity,
Object parent)
CutAndPasteEnabledDao
removeChild in interface CutAndPasteEnabledDao
public void addChild(Object entity,
Object parent)
CutAndPasteEnabledDao
addChild in interface CutAndPasteEnabledDao
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||