Index

Package: org.hammurapi

Class HistoryOutputEngine

Methods
MethodDescription
public void <init>( com.pavelvlasov.sql.SQLProcessor processor ) Constructor
public int deleteHistory( )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Deletes all records from HISTORY
public java.util.Collection getHistory( ) Executes query, returns database backed collection with elements of type org.hammurapi.History. Selects all rows from HISTORY
public java.util.Collection getHistory( com.pavelvlasov.convert.Converter converter ) Executes query, returns database backed collection with elements of type org.hammurapi.History. If converter is not null then elements will be results of conversion.Selects all rows from HISTORY
public java.util.Collection getHistory( Class targetClass ) Executes query, returns database backed collection with elements of type org.hammurapi.History. If targetClass is not null then elements will be of targetClass typeSelects all rows from HISTORY
public java.util.Collection getHistory( java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type org.hammurapi.History and returns populated collection. Selects all rows from HISTORY
public java.util.Collection getHistory( java.util.Collection receiver, com.pavelvlasov.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type org.hammurapi.History and returns populated collection. If converter is not null then elements will be results of conversion. Selects all rows from HISTORY
public java.util.Collection getHistory( java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type org.hammurapi.History and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects all rows from HISTORY
public java.util.Collection getHistoryOrdered( ) Executes query, returns database backed collection with elements of type org.hammurapi.History.
public java.util.Collection getHistoryOrdered( com.pavelvlasov.convert.Converter converter ) Executes query, returns database backed collection with elements of type org.hammurapi.History. If converter is not null then elements will be results of conversion.
public java.util.Collection getHistoryOrdered( Class targetClass ) Executes query, returns database backed collection with elements of type org.hammurapi.History. If targetClass is not null then elements will be of targetClass type
public java.util.Collection getHistoryOrdered( java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type org.hammurapi.History and returns populated collection.
public java.util.Collection getHistoryOrdered( java.util.Collection receiver, com.pavelvlasov.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type org.hammurapi.History and returns populated collection. If converter is not null then elements will be results of conversion.
public java.util.Collection getHistoryOrdered( java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type org.hammurapi.History and returns populated collection. If targetClass is not null then elements will be of targetClass type.
public java.util.Collection getHosts( ) Executes query, returns database backed collection with elements of type org.hammurapi.Hosts.
public java.util.Collection getHosts( com.pavelvlasov.convert.Converter converter ) Executes query, returns database backed collection with elements of type org.hammurapi.Hosts. If converter is not null then elements will be results of conversion.
public java.util.Collection getHosts( Class targetClass ) Executes query, returns database backed collection with elements of type org.hammurapi.Hosts. If targetClass is not null then elements will be of targetClass type
public java.util.Collection getHosts( java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type org.hammurapi.Hosts and returns populated collection.
public java.util.Collection getHosts( java.util.Collection receiver, com.pavelvlasov.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type org.hammurapi.Hosts and returns populated collection. If converter is not null then elements will be results of conversion.
public java.util.Collection getHosts( java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type org.hammurapi.Hosts and returns populated collection. If targetClass is not null then elements will be of targetClass type.
public java.util.Collection getProjectHistory( String p1 ) Executes query, returns database backed collection with elements of type org.hammurapi.History.
public java.util.Collection getProjectHistory( String p1, com.pavelvlasov.convert.Converter converter ) Executes query, returns database backed collection with elements of type org.hammurapi.History. If converter is not null then elements will be results of conversion.
public java.util.Collection getProjectHistory( String p1, Class targetClass ) Executes query, returns database backed collection with elements of type org.hammurapi.History. If targetClass is not null then elements will be of targetClass type
public java.util.Collection getProjectHistory( String p1, java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type org.hammurapi.History and returns populated collection.
public java.util.Collection getProjectHistory( String p1, java.util.Collection receiver, com.pavelvlasov.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type org.hammurapi.History and returns populated collection. If converter is not null then elements will be results of conversion.
public java.util.Collection getProjectHistory( String p1, java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type org.hammurapi.History and returns populated collection. If targetClass is not null then elements will be of targetClass type.
public java.util.Collection getProjectSummary( ) Executes query, returns database backed collection with elements of type org.hammurapi.ProjectSummary.
public java.util.Collection getProjectSummary( com.pavelvlasov.convert.Converter converter ) Executes query, returns database backed collection with elements of type org.hammurapi.ProjectSummary. If converter is not null then elements will be results of conversion.
public java.util.Collection getProjectSummary( Class targetClass ) Executes query, returns database backed collection with elements of type org.hammurapi.ProjectSummary. If targetClass is not null then elements will be of targetClass type
public java.util.Collection getProjectSummary( java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type org.hammurapi.ProjectSummary and returns populated collection.
public java.util.Collection getProjectSummary( java.util.Collection receiver, com.pavelvlasov.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type org.hammurapi.ProjectSummary and returns populated collection. If converter is not null then elements will be results of conversion.
public java.util.Collection getProjectSummary( java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type org.hammurapi.ProjectSummary and returns populated collection. If targetClass is not null then elements will be of targetClass type.
public java.util.Collection getProjectSummaryByHost( String p1 ) Executes query, returns database backed collection with elements of type org.hammurapi.ProjectSummary.
public java.util.Collection getProjectSummaryByHost( String p1, com.pavelvlasov.convert.Converter converter ) Executes query, returns database backed collection with elements of type org.hammurapi.ProjectSummary. If converter is not null then elements will be results of conversion.
public java.util.Collection getProjectSummaryByHost( String p1, Class targetClass ) Executes query, returns database backed collection with elements of type org.hammurapi.ProjectSummary. If targetClass is not null then elements will be of targetClass type
public java.util.Collection getProjectSummaryByHost( String p1, java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type org.hammurapi.ProjectSummary and returns populated collection.
public java.util.Collection getProjectSummaryByHost( String p1, java.util.Collection receiver, com.pavelvlasov.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type org.hammurapi.ProjectSummary and returns populated collection. If converter is not null then elements will be results of conversion.
public java.util.Collection getProjectSummaryByHost( String p1, java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type org.hammurapi.ProjectSummary and returns populated collection. If targetClass is not null then elements will be of targetClass type.
public int insertHistory( long Codebase, Integer MaxSeverity, long Reviews, double ViolationLevel, long Violations, long WaivedViolations, int HasWarnings, double ChangeRatio, int CompilationUnits, java.sql.Timestamp ReportDate, Long ExecutionTime, String Name, String Description, String Host, String ReportUrl, String Sigma, String Dpmo )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Inserts new record into HISTORY
public int insertHistory( History rowInterface )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Inserts new record into HISTORY
public void processHistory( com.pavelvlasov.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects all rows from HISTORY
public void processHistoryOrdered( com.pavelvlasov.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row.
public void processHosts( com.pavelvlasov.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row.
public void processProjectHistory( String p1, com.pavelvlasov.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row.
public void processProjectSummary( com.pavelvlasov.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row.
public void processProjectSummaryByHost( String p1, com.pavelvlasov.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row.