|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.orm.hibernate.support.HibernateDaoSupport
org.figure8.join.core.persistence.HibernateObjectDao
org.figure8.join.businessobjects.environment.persistence.HibernateResourceVersionDao
public class HibernateResourceVersionDao
Implementation of ResourceVersionDao using Hibernate ORM system.
| Field Summary |
|---|
| Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
HibernateResourceVersionDao()
Creates a new instance of HibernateResourceVersionDao. |
|
| Method Summary | |
|---|---|
java.lang.Class |
getPersistentClass()
Get the persistent class associated to this Dao. |
ResourceVersion |
getResourceVersion(long id)
Retrieve a ResourceVersion using its identifier |
ResourceVersion |
getResourceVersion(java.lang.String name)
Retrieve a ResourceVersion using its name |
java.util.List |
getResourceVersionsByType(AbstractResourceType type)
Retrieve all ResourceVersions corresponding to a specified type of resources |
| 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, save |
| 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, save |
| Constructor Detail |
|---|
public HibernateResourceVersionDao()
| Method Detail |
|---|
public ResourceVersion getResourceVersion(long id)
getResourceVersion in interface ResourceVersionDaoid - The unique identifier of this resource version
public ResourceVersion getResourceVersion(java.lang.String name)
getResourceVersion in interface ResourceVersionDaoname - The name of ResourceVersion to retrieve
public java.util.List getResourceVersionsByType(AbstractResourceType type)
getResourceVersionsByType in interface ResourceVersionDaotype - The resource type of ResourceVersions to retrieve (only persistent types are supported at that time)
ResourceVersion corresponding to this typepublic java.lang.Class getPersistentClass()
getPersistentClass in interface ObjectDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||