KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > cowsultants > itracker > ejb > beans > entity > IssueLocalHome


1 /*
2  * This software was designed and created by Jason Carroll.
3  * Copyright (c) 2002, 2003, 2004 Jason Carroll.
4  * The author can be reached at jcarroll@cowsultants.com
5  * ITracker website: http://www.cowsultants.com
6  * ITracker forums: http://www.cowsultants.com/phpBB/index.php
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it only under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  */

18
19 package cowsultants.itracker.ejb.beans.entity;
20
21 import java.util.Date JavaDoc;
22 import java.util.Collection JavaDoc;
23 import javax.ejb.EJBLocalHome JavaDoc;
24 import javax.ejb.CreateException JavaDoc;
25 import javax.ejb.FinderException JavaDoc;
26
27 public interface IssueLocalHome extends EJBLocalHome JavaDoc {
28
29     public IssueLocal create(Integer JavaDoc value) throws CreateException JavaDoc;
30
31     public IssueLocal findByPrimaryKey(Integer JavaDoc value) throws FinderException JavaDoc;
32
33     public Collection JavaDoc findAll() throws FinderException JavaDoc;
34     public Collection JavaDoc findByProjectId(Integer JavaDoc projectId) throws FinderException JavaDoc;
35     public Collection JavaDoc findByProjectIdAndLowerStatus(Integer JavaDoc projectId, int status) throws FinderException JavaDoc;
36     public Collection JavaDoc findByProjectIdAndHigherStatus(Integer JavaDoc projectId, int status) throws FinderException JavaDoc;
37     public Collection JavaDoc findByStatus(int status) throws FinderException JavaDoc;
38     public Collection JavaDoc findByStatusLessThan(int status) throws FinderException JavaDoc;
39     public Collection JavaDoc findByStatusLessThanEqualTo(int status) throws FinderException JavaDoc;
40     public Collection JavaDoc findBySeverity(int severity) throws FinderException JavaDoc;
41     public Collection JavaDoc findByOwner(Integer JavaDoc userId, int status) throws FinderException JavaDoc;
42     public Collection JavaDoc findByNullOwner(int status) throws FinderException JavaDoc;
43     public Collection JavaDoc findByCreator(Integer JavaDoc userId, int status) throws FinderException JavaDoc;
44     public Collection JavaDoc findByNotification(Integer JavaDoc userId, int status) throws FinderException JavaDoc;
45
46     public Collection JavaDoc findByStatusLessThanEqualToInAvailableProjects(int status) throws FinderException JavaDoc;
47     public Collection JavaDoc findByCreatorInAvailableProjects(Integer JavaDoc userId, int status) throws FinderException JavaDoc;
48     public Collection JavaDoc findByOwnerInAvailableProjects(Integer JavaDoc userId, int status) throws FinderException JavaDoc;
49     public Collection JavaDoc findByNotificationInAvailableProjects(Integer JavaDoc userId, int status) throws FinderException JavaDoc;
50
51     public Date JavaDoc latestModificationDate(Integer JavaDoc projectId);
52 }
Popular Tags