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

All Superinterfaces:
ObjectDao
All Known Implementing Classes:
HibernateDeliverableDao

public interface DeliverableDao
extends ObjectDao

Data Access interface for Deliverable business objects.

Version:
$Revision: 1.1 $
Author:
Laurent Broudoux

Method Summary
 Deliverable getDeliverable(java.lang.String key)
          Retrieve a deliverable using its unique business key
 java.util.List getDeliverablesByRelease(DeliverableType type, Release release)
          Retrieve deliverables of specified type for a specified release
 java.util.List getDeliverablesSuppliedByUser(java.lang.String userId)
          Retrieve deliverables supplied by a specified user
 java.util.List getLastDeliverables(DeliverableType type, int maxResult)
          Retrieve the last deliverables for a specified type.
 
Methods inherited from interface org.figure8.join.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, initialize, initializeAssociation, isInitialized, refresh, remove, replicate, save
 

Method Detail

getDeliverable

Deliverable getDeliverable(java.lang.String key)
Retrieve a deliverable using its unique business key

Parameters:
key - The key of deliverable to retrieve
Returns:
The deliverable having this ey or null if key not found

getLastDeliverables

java.util.List getLastDeliverables(DeliverableType type,
                                   int maxResult)
Retrieve the last deliverables for a specified type. 'Last' are the one with most recent delivery creation date. Limit the result size with maxResult

Parameters:
type - The deliverables type
maxResult - The maximum number of returned deliverables
Returns:
A list of org.figure8.join.businessobjects.artifact.Deliverables

getDeliverablesByRelease

java.util.List getDeliverablesByRelease(DeliverableType type,
                                        Release release)
Retrieve deliverables of specified type for a specified release

Parameters:
type - The deliverables type
release - The release deliverables have been done for
Returns:
A list of org.figure8.join.businessobjects.artifact.Deliverables

getDeliverablesSuppliedByUser

java.util.List getDeliverablesSuppliedByUser(java.lang.String userId)
Retrieve deliverables supplied by a specified user

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


Copyright © 2005-2008 Join. All Rights Reserved.