Class SetIssue

java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.SetIssue

public class SetIssue extends DAO
A Data Access Object to update development Issues.
Since:
1.0
Version:
9.0
Author:
Luke
  • Constructor Details

    • SetIssue

      public SetIssue(Connection c)
      Initializes the Data Access Object.
      Parameters:
      c - the JDBC connection to use
  • Method Details

    • write

      public void write(Issue i) throws DAOException
      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

      public void write(IssueComment ic) throws DAOException
      Writes a new Issue comment to the database.
      Parameters:
      ic - the IssueComment to write
      Throws:
      DAOException - if a JDBC error occurs