src/org/ohmage/query/IAuditQueries.java
void createAudit(
		RequestServlet.RequestType requestType,
		String uri,
		String client,
		String requestId,
		String deviceId,
		Map<String, String[]> parameters,
		Map<String, String[]> extras,
		String response,
		long receivedMillis,
		long respondMillis) throws DataAccessException;
/**
	 * Creates an audit entry with the parameterized information. Not all 
	 * information is required; see the specific parameters for details.
	 * 
	 * @param requestType The RequestType of the request. Required.
	 * 
	 * @param uri The URI of the request. Required.
	 * 
	 * @param client The value of the client parameter. Not required.
	 * 
	 * @param requestId The unqiue identifier for this request. Required.
	 * 
	 * @param deviceId An unique identifier for each device. Not required.
	 * 
	 * @param parameters A map of parameter keys to all of their values. Not
	 * 					 required.
	 * 
	 * @param extras A map of keys from the HTTP request header to their 
	 * 				 values.
	 * 
	 * @param response A string that should have the format of a JSONObject
	 * 				   indicating whether or not the request succeed or failed.
	 * 				   If the request succeed, that is all that needs to be
	 * 				   passed; passing the data that was returned to the 
	 * 				   requesting user would create too much duplicate data and
	 * 				   may leak private information. If the request failed, the
	 * 				   error code and error text should be included in this 
	 * 				   JSONObject string.
	 * 
	 * @param receivedMillis A millisecond-level epoch-based time at which the
	 * 						 request was received. This should be obtained by
	 * 						 the same mechanism as 'respondMillis'. Required.
	 *  
	 * @param respondMillis A millisecond-level epoch-based time at which the
	 * 						request was received. This should be obtained by
	 * 						the same mechanism as 'receivedMillis'. Required.
	 * 
	 * @throws IllegalArgumentException Thrown if any of the required 
	 * 									parameters are null.
	 */
Creates an audit entry with the parameterized information. Not all
information is required; see the specific parameters for details.

@param requestType The RequestType of the request. Required.

@param uri The URI of the request. Required.

@param client The value of the client parameter. Not required.

@param requestId The unqiue identifier for this request. Required.

@param deviceId An unique identifier for each device. Not required.

@param parameters A map of parameter keys to all of their values. Not
required.

@param extras A map of keys from the HTTP request header to their
values.

@param response A string that should have the format of a JSONObject
indicating whether or not the request succeed or failed.
If the request succeed, that is all that needs to be
passed; passing the data that was returned to the
requesting user would create too much duplicate data and
may leak private information. If the request failed, the
error code and error text should be included in this
JSONObject string.

@param receivedMillis A millisecond-level epoch-based time at which the
request was received. This should be obtained by
the same mechanism as 'respondMillis'. Required.

@param respondMillis A millisecond-level epoch-based time at which the
request was received. This should be obtained by
the same mechanism as 'receivedMillis'. Required.

@throws IllegalArgumentException Thrown if any of the required
parameters are null.
Creates an audit entry with the parameterized information . Not all information is required ; see the specific parameters for details . @param requestType The RequestType of the request . Required . @param uri The URI of the request . Required . @param client The value of the client parameter . Not required . @param requestId The unqiue identifier for this request . Required . @param deviceId An unique identifier for each device . Not required . @param parameters A map of parameter keys to all of their values . Not required . @param extras A map of keys from the HTTP request header to their values . @param response A string that should have the format of a JSONObject indicating whether or not the request succeed or failed . If the request succeed that is all that needs to be passed ; passing the data that was returned to the requesting user would create too much duplicate data and may leak private information . If the request failed the error code and error text should be included in this JSONObject string . @param receivedMillis A millisecond - level epoch - based time at which the request was received . This should be obtained by the same mechanism as ' respondMillis ' . Required . @param respondMillis A millisecond - level epoch - based time at which the request was received . This should be obtained by the same mechanism as ' receivedMillis ' . Required . @throws IllegalArgumentException Thrown if any of the required parameters are null .
void createAudit(
		RequestServlet.RequestType requestType,
		String uri,
		String client,
		String requestId,
		String deviceId,
		Map<String, String[]> parameters,
		Map<String, String[]> extras,
		String response,
		long receivedMillis,
		long respondMillis) throws DataAccessException;
void createAudit ( RequestServlet . RequestType requestType , String uri , String client , String requestId , String deviceId , Map < String , String [ ] > parameters , Map < String , String [ ] > extras , String response , long receivedMillis , long respondMillis ) throws DataAccessException ;
Creates an audit entry with the parameterized information.
Creates an audit entry with the parameterized information .