1 package org.itracker.persistence.dao; 2 3 import org.itracker.model.IssueHistory; 4 5 import java.util.List; 6 7 /** 8 * 9 * 10 */ 11 public interface IssueHistoryDAO extends BaseDAO<IssueHistory> { 12 13 /** 14 * Returns the issue history entry with the given primary key. 15 * 16 * @param entryId system ID 17 * @return issue history entry or <tt>null</tt> 18 */ 19 IssueHistory findByPrimaryKey(Integer entryId); 20 21 /** 22 * Finds all history entries for an Issue. 23 * 24 * @param issueId system ID 25 * @return list of history entries in unspecified order 26 */ 27 List<IssueHistory> findByIssueId(Integer issueId); 28 29 }