View Javadoc

1   package com.panogenesis.dao;
2   
3   import java.util.List;
4   
5   import com.panogenesis.model.IssueResolution;
6   
7   public interface IssueResolutionDAO extends DAO {
8   
9       /***
10       * Retrieves all of the issueResolutions
11       */
12      public List getIssueResolutions(IssueResolution issueResolution);
13  
14      /***
15       * Gets issueResolution's information based on id. An 
16       * ObjectRetrievalFailureException Runtime Exception is thrown if 
17       * nothing is found.
18       * 
19       * @param id the issueResolution's id
20       * @return issueResolution populated issueResolution object
21       */
22      public IssueResolution getIssueResolution(final Integer id);
23  
24      /***
25       * Saves a issueResolution's information
26       * @param issueResolution the object to be saved
27       * @return IssueResolution the persisted issueResolution object
28       */	
29      public void saveIssueResolution(IssueResolution issueResolution);
30  
31  	/***
32       * Removes a issueResolution from the database by id
33       * @param id the issueResolution's id
34       */
35      public void removeIssueResolution(final Integer id);
36  }
37