Class StatusDAO

    • Constructor Detail

      • StatusDAO

        public StatusDAO​(java.sql.Connection con)
    • Method Detail

      • searchStatus

        public void searchStatus​(SearchResult<Status> searchResult)
                          throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getStatus

        public Status getStatus​(int id)
                         throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • deleteStatus

        public void deleteStatus​(int id)
                          throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • updateStatus

        public void updateStatus​(Status status)
                          throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getStatusList

        public java.util.List<Status> getStatusList()
                                             throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getStatusList

        public java.util.List<Status> getStatusList​(java.util.Set<java.lang.Integer> ids)
                                             throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getStatusFromRs

        public static Status getStatusFromRs​(java.sql.ResultSet rs)
                                      throws java.sql.SQLException
        Throws:
        java.sql.SQLException