org.figure8.join.businessobjects.environment.persistence
Interface DeploymentDao

All Superinterfaces:
ObjectDao
All Known Implementing Classes:
HibernateDeploymentDao

public interface DeploymentDao
extends ObjectDao

Data Access interface for Deployment business objects.

Version:
$Revision: 1.2 $
Author:
Laurent Broudoux

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.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 interface org.figure8.join.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, initialize, initializeAssociation, isInitialized, refresh, remove, replicate, save
 

Method Detail

getDeployment

Deployment getDeployment(long id)
Retrieve a deployment specified by its identifier

Parameters:
id - The unique identifier of deployment to retrieve
Returns:
The deployment corresponding to id or null if no deployment has this is

getActiveDeploymentForMapping

Deployment getActiveDeploymentForMapping(EnvironmentMapping mapping)
Retrieve the currently active deployment done using an EnvironmentMapping

Parameters:
mapping - The mapping to get last active deployment for
Returns:
The active deployment corresponding to mapping, or null if none.

getRealizingDeployments

java.util.List getRealizingDeployments()
Get all the deployments being realized at time of invocation

Returns:
A list of Deployments

getPreparingDeployments

java.util.List getPreparingDeployments()
Get all the deployments being prepared at time of invocation

Returns:
A list of Deployments

getDeploymentsHavingStatus

java.util.List getDeploymentsHavingStatus(java.util.List status,
                                          boolean includeNull)
Get all the deployments having one of the specified status

Parameters:
status - A list of specified status
includeNull - Flag telling if deployment with no status should be included
Returns:
A list of Deployments

getDeploymentsByLogicalEnvironment

java.util.List getDeploymentsByLogicalEnvironment(LogicalEnvironment logicalEnv)
Retrieve all the deployments done for a specified logical environment

Parameters:
logicalEnv - The logical environment to get deployments for
Returns:
A list of Deployments done for logical environment

getDeploymentsByPhysicalEnvironment

java.util.List getDeploymentsByPhysicalEnvironment(PhysicalEnvironment physicalEnv)
Retrieve all the deployments done onto a specified physical environment

Parameters:
physicalEnv - The physical environment to get deployments for
Returns:
A list of Deployments done onto this physical environemnt


Copyright © 2005-2008 Join. All Rights Reserved.