src/main/java/de/uapcore/lightpit/dao/IssueDao.java

changeset 150
822b7e3d064d
parent 134
f47e82cd6077
equal deleted inserted replaced
149:30b840ed8c0e 150:822b7e3d064d
81 81
82 /** 82 /**
83 * Stores the specified comment in database. 83 * Stores the specified comment in database.
84 * This is an update-or-insert operation. 84 * This is an update-or-insert operation.
85 * 85 *
86 * @param issue the issue to save the comment for
86 * @param comment the comment to save 87 * @param comment the comment to save
87 * @throws SQLException on any kind of SQL error 88 * @throws SQLException on any kind of SQL error
88 */ 89 */
89 void saveComment(IssueComment comment) throws SQLException; 90 void saveComment(Issue issue, IssueComment comment) throws SQLException;
90 91
91 /** 92 /**
92 * Saves an instances to the database. 93 * Saves an instances to the database.
93 * Implementations of this DAO must guarantee that the generated ID is stored in the instance. 94 * Implementations of this DAO must guarantee that the generated ID is stored in the instance.
94 * 95 *

mercurial