View Javadoc
1   package org.itracker.persistence.dao;
2   
3   import org.itracker.model.Notification;
4   
5   import java.util.List;
6   
7   /**
8    *
9    */
10  public interface NotificationDAO extends BaseDAO<Notification> {
11  
12      Notification findById(Integer id);
13  
14      /**
15       * Finds all Notifications for an Issue.
16       *
17       * @return list of notification for the given issue, in unspecified order
18       */
19      List<Notification> findByIssueId(Integer issueId);
20  
21  }