|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
org.alfresco.repo.attributes.hibernate.MapEntryDAOHibernate
public class MapEntryDAOHibernate
Hibernate implementation of persistence for MapEntries.
| Field Summary |
|---|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
MapEntryDAOHibernate()
|
|
| Method Summary | |
|---|---|
void |
delete(MapAttribute mapAttr)
Delete all entries for a map. |
void |
delete(MapEntry entry)
Delete a MapEntry. |
void |
evict(MapEntry entry)
Evict an entry. |
java.util.List |
get(MapAttribute mapAttr)
Retrieve all the entries in a map. |
MapEntry |
get(MapEntryKey key)
Get an entry by name. |
void |
save(MapEntry entry)
Save a MapEntry. |
int |
size(MapAttribute mapAttr)
Get the number of entries in a MapAttribute. |
| Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
|---|
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
| Methods inherited from class org.springframework.dao.support.DaoSupport |
|---|
afterPropertiesSet, initDao |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapEntryDAOHibernate()
| Method Detail |
|---|
public void delete(MapEntry entry)
MapEntryDAO
delete in interface MapEntryDAOpublic void delete(MapAttribute mapAttr)
MapEntryDAO
delete in interface MapEntryDAOmapAttr - The map to purge.public MapEntry get(MapEntryKey key)
MapEntryDAO
get in interface MapEntryDAOkey - The key of the entry.
public java.util.List get(MapAttribute mapAttr)
MapEntryDAO
get in interface MapEntryDAOpublic void save(MapEntry entry)
MapEntryDAO
save in interface MapEntryDAOentry - To save.public int size(MapAttribute mapAttr)
MapEntryDAO
size in interface MapEntryDAOmapAttr - The MapAttribute/
public void evict(MapEntry entry)
MapEntryDAO
evict in interface MapEntryDAO
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||