src/org/ohmage/service/UserAnnotationServices.java
public UUID createPromptResponseAnnotation(final String client, final Long time, final DateTimeZone timezone,
		final String annotationText, final Integer promptResponseId, final String user) 
			throws ServiceException {
		try {
			UUID annotationId = UUID.randomUUID();
			annotationQueries.createPromptResponseAnnotation(annotationId, client, time, timezone, annotationText, promptResponseId, user);
			return annotationId;
		}
		catch(DataAccessException e) {
			throw new ServiceException(e);
		}
	}
/**
	 * Dispatches to the data layer to create an annotation on a prompt
	 * response.
	 * 
	 * @param client the ubiquitous client parameter
	 * @param time the annotation time (epoch milllis) 
	 * @param timezone the annotation timezone
	 * @param annotationText the annotation text
	 * @param promptResponseId the unique prompt response identifier
 	 * @return the UUID representing the key for the annotation
	 * @throws ServiceException if an error occurs
	 */
Dispatches to the data layer to create an annotation on a prompt
response.


Dispatches to the data layer to create an annotation on a prompt response .
public UUID createPromptResponseAnnotation(final String client, final Long time, final DateTimeZone timezone,
		final String annotationText, final Integer promptResponseId, final String user) 
			throws ServiceException {
		try {
			UUID annotationId = UUID.randomUUID();
			annotationQueries.createPromptResponseAnnotation(annotationId, client, time, timezone, annotationText, promptResponseId, user);
			return annotationId;
		}
		catch(DataAccessException e) {
			throw new ServiceException(e);
		}
	}
public UUID createPromptResponseAnnotation ( final String client , final Long time , final DateTimeZone timezone , final String annotationText , final Integer promptResponseId , final String user ) throws ServiceException { try { UUID annotationId = UUID . randomUUID ( ) ; annotationQueries . createPromptResponseAnnotation ( annotationId , client , time , timezone , annotationText , promptResponseId , user ) ; return annotationId ; } catch ( DataAccessException e ) { throw new ServiceException ( e ) ; } }
Dispatches to the data layer to create an annotation on a prompt
 response.
Dispatches to the data layer to create an annotation on a prompt response .