src/org/ohmage/query/impl/CampaignQueries.java
@Override
						public Campaign mapRow(
								ResultSet rs,
								int rowNum)
								throws SQLException {
							
							try {
								return
									new Campaign(
										null,
										null,
										rs.getString("description"),
										Campaign.RunningState.getValue(rs.getString("running_state")),
										Campaign.PrivacyState.getValue(rs.getString("privacy_state")),
										new Date(rs.getTimestamp("creation_timestamp").getTime()),
										rs.getString("xml"),
										rs.getBoolean("editable"));
							}
							catch(DomainException e) {
								throw new SQLException(e);
							}
						}
/**
						 * Counts the total number of results and converts each
						 * of the actual results into a Campaign object.
						 */
Counts the total number of results and converts each
of the actual results into a Campaign object.
Counts the total number of results and converts each of the actual results into a Campaign object .
@Override
						public Campaign mapRow(
								ResultSet rs,
								int rowNum)
								throws SQLException {
							try {
								return
									new Campaign(
										null,
										null,
										rs.getString("description"),
										Campaign.RunningState.getValue(rs.getString("running_state")),
										Campaign.PrivacyState.getValue(rs.getString("privacy_state")),
										new Date(rs.getTimestamp("creation_timestamp").getTime()),
										rs.getString("xml"),
										rs.getBoolean("editable"));
							}
							catch(DomainException e) {
								throw new SQLException(e);
							}
						}
@ Override public Campaign mapRow ( ResultSet rs , int rowNum ) throws SQLException { try { return new Campaign ( null , null , rs . getString ( "description" ) , Campaign . RunningState . getValue ( rs . getString ( "running_state" ) ) , Campaign . PrivacyState . getValue ( rs . getString ( "privacy_state" ) ) , new Date ( rs . getTimestamp ( "creation_timestamp" ) . getTime ( ) ) , rs . getString ( "xml" ) , rs . getBoolean ( "editable" ) ) ; } catch ( DomainException e ) { throw new SQLException ( e ) ; } }
Counts the total number of results and converts each
 of the actual results into a Campaign object.
Counts the total number of results and converts each of the actual results into a Campaign object .