org.figure8.join.businessobjects.artifact.persistence
Interface ComponentDao

All Superinterfaces:
ObjectDao
All Known Implementing Classes:
HibernateComponentDao

public interface ComponentDao
extends ObjectDao

Data Access interface for Component business objects.

Version:
$Revision: 1.2 $
Author:
Laurent Broudoux

Method Summary
 Component getComponent(java.lang.String key)
          Retrieve the component having the specified key
 java.util.List getComponentsByRelease(ComponentType type, Release release)
          Retrieve components of specified type generated by a specified release
 java.util.List getComponentsInRelease(ComponentType type, Release release)
          Retrieve components of specified type contained by a specified release
 
Methods inherited from interface org.figure8.join.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, initialize, initializeAssociation, isInitialized, refresh, remove, replicate, save
 

Method Detail

getComponent

Component getComponent(java.lang.String key)
Retrieve the component having the specified key

Parameters:
key - The key of component to retrieve
Returns:
The component having this key or null if no one matches

getComponentsByRelease

java.util.List getComponentsByRelease(ComponentType type,
                                      Release release)
Retrieve components of specified type generated by a specified release

Parameters:
type - The components type
release - The release components have been generated for
Returns:
A list of org.figure8.join.businessobjects.artifact.Components

getComponentsInRelease

java.util.List getComponentsInRelease(ComponentType type,
                                      Release release)
Retrieve components of specified type contained by a specified release

Parameters:
type - The components type
release - The release containing returned components
Returns:
A list of org.figure8.join.businessobjects.artifact.Components


Copyright © 2005-2008 Join. All Rights Reserved.