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

All Superinterfaces:
ObjectDao
All Known Implementing Classes:
HibernateEnvironmentMappingDao

public interface EnvironmentMappingDao
extends ObjectDao

Data Access interface for EnvironmentMapping business objects.

Version:
$Revision: 1.2 $
Author:
Laurent Broudoux

Method Summary
 java.util.List getAllEnvironmentMappings(LogicalEnvironment logicalEnv)
          Retrieve all the environment mappings for a LogicalEnvironment through time
 java.util.List getAllEnvironmentMappings(PhysicalEnvironment physicalEnv)
          Retrieve all the environment mappings for a PhysicalEnvironment through time
 EnvironmentMapping getEnvironmentMapping(LogicalEnvironment logicalEnv, java.util.Date date)
          Retrieve the environment mapping for a LogicalEnvironment active at specified date
 EnvironmentMapping getEnvironmentMapping(long id)
          Retrieve the environment mapping having this identifier
 
Methods inherited from interface org.figure8.join.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, initialize, initializeAssociation, isInitialized, refresh, remove, replicate, save
 

Method Detail

getEnvironmentMapping

EnvironmentMapping getEnvironmentMapping(long id)
Retrieve the environment mapping having this identifier

Parameters:
id - The unique identifier of mapping to retrieve
Returns:
The EnvironmentMapping having this identifier or null if no one match

getAllEnvironmentMappings

java.util.List getAllEnvironmentMappings(LogicalEnvironment logicalEnv)
Retrieve all the environment mappings for a LogicalEnvironment through time

Parameters:
logicalEnv - The logical environment to retrieve mappings for
Returns:
A list of org.figure8.join.businessobjects.environment.EnvironmentMapping objects

getEnvironmentMapping

EnvironmentMapping getEnvironmentMapping(LogicalEnvironment logicalEnv,
                                         java.util.Date date)
Retrieve the environment mapping for a LogicalEnvironment active at specified date

Parameters:
logicalEnv - The logical environment to retrieve mapping for
date - The date to retrieve active mapping
Returns:
The active org.figure8.join.businessobjects.environment.EnvironmentMapping or null

getAllEnvironmentMappings

java.util.List getAllEnvironmentMappings(PhysicalEnvironment physicalEnv)
Retrieve all the environment mappings for a PhysicalEnvironment through time

Parameters:
physicalEnv - The physical environment to retrieve mappings for
Returns:
A list of org.figure8.join.businessobjects.environment.EnvironmentMapping objects


Copyright © 2005-2008 Join. All Rights Reserved.