Class SetIssue
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.SetIssue
A Data Access Object to update development Issues.
- Since:
- 1.0
- Version:
- 9.0
- Author:
- Luke
-
Field Summary
Fields inherited from class org.deltava.dao.DAO
_queryMax, _queryStart, _queryTimeout, WGS84_SRID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Writes an Issue to the database.void
write
(IssueComment ic) Writes a new Issue comment to the database.Methods inherited from class org.deltava.dao.DAO
commitTransaction, createTimestamp, executeIDs, executeUpdate, executeUpdate, expandDate, formatDBName, formatLocation, getNewID, getQueryCount, prepare, prepareWithoutLimits, rollbackTransaction, setQueryMax, setQueryStart, setQueryTimeout, startTransaction, toID, toID, toInstant
-
Constructor Details
-
SetIssue
Initializes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
write
Writes an Issue to the database. This can both update and create issues. New Issue comments are also wrtten.- Parameters:
i
- the Issue to write- Throws:
DAOException
- if a JDBC error occurs
-
write
Writes a new Issue comment to the database.- Parameters:
ic
- the IssueComment to write- Throws:
DAOException
- if a JDBC error occurs
-