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

All Superinterfaces:
ObjectDao
All Known Implementing Classes:
HibernateParameterValueDao

public interface ParameterValueDao
extends ObjectDao

Data Access interface for ParameterValue business objects.

Version:
$Revision: 1.2 $
Author:
Jerome Evrard

Method Summary
 java.util.List getCurrentParameterValues(java.lang.String environmentKey, java.lang.String targetName)
          Retrieve all the active parameter values for a specific environment and a specified deployment target.
 java.util.List getHistoricalParameterValues(Parameter parameter, java.lang.String environmentKey)
          Retrieve all the historical parameter values for a specific environment and a specified parameter.
 ParameterValue getParameterValue(long id)
          Retrieve the ParameterValue having this unique identifier
 
Methods inherited from interface org.figure8.join.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, initialize, initializeAssociation, isInitialized, refresh, remove, replicate, save
 

Method Detail

getParameterValue

ParameterValue getParameterValue(long id)
Retrieve the ParameterValue having this unique identifier

Parameters:
id - The identifier returned value must have
Returns:
The ParameterValue having this identifier or null if no one matches.

getCurrentParameterValues

java.util.List getCurrentParameterValues(java.lang.String environmentKey,
                                         java.lang.String targetName)
Retrieve all the active parameter values for a specific environment and a specified deployment target.

Parameters:
environmentKey - The key of the physical environment to retrieve values for
targetName - The name of the deployment target to retrieve values for
Returns:
A list of org.figure8.join.businessobjects.environment.ParameterValue.

getHistoricalParameterValues

java.util.List getHistoricalParameterValues(Parameter parameter,
                                            java.lang.String environmentKey)
Retrieve all the historical parameter values for a specific environment and a specified parameter.

Parameters:
parameter - The parameter to retrieve values for
environmentKey - The key of the physical environment to retrieve values for
Returns:
A list of org.figure8.join.businessobjects.environment.ParameterValue.


Copyright © 2005-2008 Join. All Rights Reserved.