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

All Superinterfaces:
ObjectDao
All Known Implementing Classes:
HibernateBuildDao

public interface BuildDao
extends ObjectDao

Data Access interface for Build business objects.

Version:
$Revision: 1.2 $
Author:
Laurent Broudoux

Method Summary
 Build getBuild(java.lang.String key)
          Retrieve a Build using its unique key identifier
 java.util.List getBuildsByRelease(Release release)
          Retrieve all the builds produced for a spcified release
 java.util.List getBuildsComposedByUser(java.lang.String userId)
          Retrieve builds composed by a specified user
 java.util.List getBuildsWithComponents(java.util.List components)
          Retrieve builds having the components specified into list
 
Methods inherited from interface org.figure8.join.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, initialize, initializeAssociation, isInitialized, refresh, remove, replicate, save
 

Method Detail

getBuildsByRelease

java.util.List getBuildsByRelease(Release release)
Retrieve all the builds produced for a spcified release

Parameters:
release - The release to retrieve builds for
Returns:
A list of org.figure8.join.businessobjects.artifact.Builds

getBuildsComposedByUser

java.util.List getBuildsComposedByUser(java.lang.String userId)
Retrieve builds composed by a specified user

Parameters:
userId - The unique identifier of the composer
Returns:
A list of org.figure8.join.businessobjects.artifact.Builds

getBuildsWithComponents

java.util.List getBuildsWithComponents(java.util.List components)
Retrieve builds having the components specified into list

Parameters:
components - The list of components builds should have
Returns:
A list of org.figure8.join.businessobjects.artifact.Builds

getBuild

Build getBuild(java.lang.String key)
Retrieve a Build using its unique key identifier

Parameters:
key - The unique key identifier of build to retrieve
Returns:
The Build corresponding to key or null if no build with this key exists


Copyright © 2005-2008 Join. All Rights Reserved.