View Javadoc

1   package org.itracker.persistence.dao;
2   
3   import java.util.List;
4   
5   import org.itracker.model.Notification;
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       * @param issueId 
18       * @return list of notification for the given issue, in unspecified order
19       */
20      List<Notification> findByIssueId(Integer issueId);
21      
22  }