|
|||||||||
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.AttributeDAOHibernate
public class AttributeDAOHibernate
Hibernate implementation of persistence for Attributes.
Field Summary |
---|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
AttributeDAOHibernate()
|
Method Summary | |
---|---|
void |
delete(Attribute attr)
Delete an attribute (recursively). |
void |
delete(MapAttribute map,
AttrQuery query)
Delete entries from a map that match the given query. |
void |
evict(Attribute attr)
Evict an Attribute from the session cache. |
void |
evictFlat(Attribute attr)
Evict an Attribute non-recursively. |
java.util.List |
find(MapAttribute map,
AttrQuery query)
Find all attributes that match a given path and AttrQuery. |
void |
flush()
Force a flush. |
void |
save(Attribute attr)
Save an attribute (recursively). |
void |
setListEntryDao(ListEntryDAO dao)
|
void |
setMapEntryDao(MapEntryDAO dao)
|
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 AttributeDAOHibernate()
Method Detail |
---|
public void setMapEntryDao(MapEntryDAO dao)
public void setListEntryDao(ListEntryDAO dao)
public void delete(Attribute attr)
AttributeDAO
delete
in interface AttributeDAO
attr
- The attribute to delete.public java.util.List find(MapAttribute map, AttrQuery query)
AttributeDAO
find
in interface AttributeDAO
map
- The map within which to query.query
- The AttrQuery.
public void delete(MapAttribute map, AttrQuery query)
AttributeDAO
delete
in interface AttributeDAO
public void save(Attribute attr)
AttributeDAO
save
in interface AttributeDAO
attr
- The attribute to save.public void evict(Attribute attr)
AttributeDAO
evict
in interface AttributeDAO
public void flush()
AttributeDAO
flush
in interface AttributeDAO
public void evictFlat(Attribute attr)
AttributeDAO
evictFlat
in interface AttributeDAO
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |