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