|
||||||||||
| 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.HibernateDeploymentDao
public class HibernateDeploymentDao
Implementation of DeploymentDao using Hibernate ORM system.
| Field Summary |
|---|
| Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
HibernateDeploymentDao()
Creates a new instance of HibernateDeploymentDao |
|
| Method Summary | |
|---|---|
Deployment |
getActiveDeploymentForMapping(EnvironmentMapping mapping)
Retrieve the currently active deployment done using an EnvironmentMapping |
Deployment |
getDeployment(long id)
Retrieve a deployment specified by its identifier |
java.util.List |
getDeploymentsByLogicalEnvironment(LogicalEnvironment logicalEnv)
Retrieve all the deployments done for a specified logical environment |
java.util.List |
getDeploymentsByPhysicalEnvironment(PhysicalEnvironment physicalEnv)
Retrieve all the deployments done onto a specified physical environment |
java.util.List |
getDeploymentsHavingStatus(java.util.List status,
boolean includeNull)
Get all the deployments having one of the specified status |
java.lang.Class |
getPersistentClass()
Get the persistent class associated to this Dao. |
java.util.List |
getPreparingDeployments()
Get all the deployments being prepared at time of invocation |
java.util.List |
getRealizingDeployments()
Get all the deployments being realized at time of invocation |
| 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 HibernateDeploymentDao()
| Method Detail |
|---|
public Deployment getDeployment(long id)
getDeployment in interface DeploymentDaoid - The unique identifier of deployment to retrieve
public Deployment getActiveDeploymentForMapping(EnvironmentMapping mapping)
getActiveDeploymentForMapping in interface DeploymentDaomapping - The mapping to get last active deployment for
public java.util.List getRealizingDeployments()
getRealizingDeployments in interface DeploymentDaoDeploymentspublic java.util.List getPreparingDeployments()
getPreparingDeployments in interface DeploymentDaoDeployments
public java.util.List getDeploymentsHavingStatus(java.util.List status,
boolean includeNull)
getDeploymentsHavingStatus in interface DeploymentDaostatus - A list of specified statusincludeNull - Flag telling if deployment with no status should be included
Deploymentspublic java.util.List getDeploymentsByLogicalEnvironment(LogicalEnvironment logicalEnv)
getDeploymentsByLogicalEnvironment in interface DeploymentDaologicalEnv - The logical environment to get deployments for
Deployments done for logical environmentpublic java.util.List getDeploymentsByPhysicalEnvironment(PhysicalEnvironment physicalEnv)
getDeploymentsByPhysicalEnvironment in interface DeploymentDaophysicalEnv - The physical environment to get deployments for
Deployments done onto this physical environemntpublic java.lang.Class getPersistentClass()
ObjectDao
getPersistentClass in interface ObjectDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||