View Javadoc

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