1 package com.panogenesis.service;
2
3 import java.util.List;
4
5 import com.panogenesis.model.IssueHistory;
6 import com.panogenesis.dao.IssueHistoryDAO;
7
8 public interface IssueHistoryManager extends Manager {
9
10 /***
11 * Setter for DAO, convenient for unit testing
12 */
13 public void setIssueHistoryDAO(IssueHistoryDAO issueHistoryDAO);
14
15 /***
16 * Retrieves all of the issueHistorys
17 */
18 public List getIssueHistorys(IssueHistory issueHistory);
19
20 /***
21 * Gets issueHistory's information based on id.
22 * @param id the issueHistory's id
23 * @return issueHistory populated issueHistory object
24 */
25 public IssueHistory getIssueHistory(final String id);
26
27 /***
28 * Saves a issueHistory's information
29 * @param issueHistory the object to be saved
30 */
31 public void saveIssueHistory(IssueHistory issueHistory);
32
33 /***
34 * Removes a issueHistory from the database by id
35 * @param id the issueHistory's id
36 */
37 public void removeIssueHistory(final String id);
38 }
39