|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.orm.hibernate.support.HibernateDaoSupport org.figure8.join.core.persistence.HibernateObjectDao org.figure8.join.businessobjects.commons.persistence.HibernateReleaseDao
public class HibernateReleaseDao
Implementation of ReleaseDao using Hibernate ORM system.
Field Summary |
---|
Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
---|
logger |
Constructor Summary | |
---|---|
HibernateReleaseDao()
Creates a new instance of HibernateReleaseDao |
Method Summary | |
---|---|
java.lang.Class |
getPersistentClass()
Get the persistent class associated to this Dao. |
Release |
getRelease(java.lang.String name)
Retrieve a release using its name |
Release |
getReleaseByNumbers(int major,
int minor)
Retrieve a release using its major and minor numbers |
void |
refreshCache()
Refresh cache containing release objects. |
void |
save(EntityObject entityobject)
Save the given entity into underlying datastore and put it into applicative cache dedicated to Releases if available. |
void |
setCacheManager(CacheManager manager)
Release data access object may want to use the cache manager for storing and retrieving releases. |
Methods inherited from class org.figure8.join.core.persistence.HibernateObjectDao |
---|
findAll, findAllSorted, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getById, initialize, initializeAssociation, isInitialized, refresh, remove, replicate |
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
---|
afterPropertiesSet, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, initDao, setHibernateTemplate, setSessionFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.figure8.join.core.persistence.ObjectDao |
---|
findAll, findAllSorted, initialize, initializeAssociation, isInitialized, refresh, remove, replicate |
Constructor Detail |
---|
public HibernateReleaseDao()
Method Detail |
---|
public void setCacheManager(CacheManager manager)
setCacheManager
in interface ReleaseDao
manager
- The CacheManager implementation to use.public void refreshCache()
refreshCache
in interface ReleaseDao
public Release getRelease(java.lang.String name)
getRelease
in interface ReleaseDao
name
- The name of the release
public Release getReleaseByNumbers(int major, int minor)
getReleaseByNumbers
in interface ReleaseDao
major
- The major number of the release to getminor
- The minor number of the release to get
public java.lang.Class getPersistentClass()
ObjectDao
getPersistentClass
in interface ObjectDao
public void save(EntityObject entityobject)
save
in interface ObjectDao
save
in class HibernateObjectDao
entityobject
- EntityObject to save
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |