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

All Superinterfaces:
ObjectDao
All Known Implementing Classes:
HibernateMachineDao

public interface MachineDao
extends ObjectDao

Data Access interface for Machine business objects.

Version:
$Revision: 1.1 $
Author:
Laurent Broudoux

Method Summary
 Machine getMachine(long id)
          Retrieve a Machine using its unique identifier
 Machine getMachine(java.lang.String name)
          Retrieve a Machine using its name.
 
Methods inherited from interface org.figure8.join.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, initialize, initializeAssociation, isInitialized, refresh, remove, replicate, save
 

Method Detail

getMachine

Machine getMachine(long id)
Retrieve a Machine using its unique identifier

Parameters:
id - The unique identifier of machine to retrieve
Returns:
The correspnoding machine or null if no machine has this id

getMachine

Machine getMachine(java.lang.String name)
Retrieve a Machine using its name.

Parameters:
name - Name of machine to retrieve
Returns:
The machine with this name or null if no machine is found


Copyright © 2005-2008 Join. All Rights Reserved.