|
|||||||||
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 InitializingBean
Exception
public Class<?> getEntityClass()
RiotDao
getEntityClass
in interface RiotDao
getEntityClass
in class RiotDaoAdapter
public Collection<?> list(Object parent, ListParams params) throws DataAccessException
RiotDaoAdapter
Collections.EMPTY_LIST
.
list
in interface RiotDao
list
in class RiotDaoAdapter
DataAccessException
public void save(Object entity, Object parent) throws DataAccessException
RiotDaoAdapter
save
in interface RiotDao
save
in class RiotDaoAdapter
DataAccessException
public Object merge(Object entity) throws DataAccessException
RiotDaoAdapter
merge
in interface RiotDao
merge
in class RiotDaoAdapter
DataAccessException
public void update(Object entity) throws DataAccessException
RiotDaoAdapter
update
in interface RiotDao
update
in class RiotDaoAdapter
DataAccessException
public void delete(Object entity, Object parent) throws DataAccessException
RiotDaoAdapter
delete
in interface RiotDao
delete
in class RiotDaoAdapter
DataAccessException
public String getObjectId(Object entity)
RiotDaoAdapter
null
.
getObjectId
in interface RiotDao
getObjectId
in class RiotDaoAdapter
public Object load(String id) throws DataAccessException
RiotDaoAdapter
load
in interface RiotDao
load
in class RiotDaoAdapter
DataAccessException
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 |