01: package com.technoetic.xplanner.domain.repository;
02:
03: import java.util.Collection;
04:
05: /*
06: * A repository that can be used to access collections of user stories
07: * based on certain criteria.
08: *
09: * @author James Beard
10: */
11: public interface StoryRepository extends ObjectRepository {
12:
13: /*
14: * Returns a collection of user stories in current and future iterations
15: * where personId is the customer.
16: *
17: * @param personId the id of the customer
18: * @return the collection of stories
19: */
20: public Collection getStoriesForPersonWhereCustomer(int personId);
21:
22: /*
23: * Returns a collection of user stories in current and future iterations
24: * where personId is the tracker.
25: *
26: * @param personId the id of the tracker
27: * @return the collection of stories
28: */
29: public Collection getStoriesForPersonWhereTracker(int personId);
30:
31: }
|