|
||||||||||
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.HibernateStepDao
public class HibernateStepDao
Implementation of StepDao using Hibernate ORM system.
Field Summary |
---|
Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
---|
logger |
Constructor Summary | |
---|---|
HibernateStepDao()
|
Method Summary | |
---|---|
java.lang.Class |
getPersistentClass()
Get the persistent class associated to this Dao. |
Step |
getStep(long id)
Retrieve a step using its datastore identifier |
Step |
getStep(java.lang.String label)
Retrieve a step using its label |
Step |
getStepByPosition(int position)
Retrieve a step using its position number within integration cycle |
void |
refreshCache()
Refresh cache containing step 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)
Step data access object may want to use the cache manager for storing and retrieving steps. |
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 HibernateStepDao()
Method Detail |
---|
public void setCacheManager(CacheManager manager)
setCacheManager
in interface StepDao
manager
- The CacheManager implementation to use.public void refreshCache()
refreshCache
in interface StepDao
public Step getStep(long id)
getStep
in interface StepDao
id
- The unique id within datatstore
public Step getStep(java.lang.String label)
getStep
in interface StepDao
label
- The label of step to retrieve
public Step getStepByPosition(int position)
getStepByPosition
in interface StepDao
position
- The position number of the step to retrieve
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 |