src/org/ohmage/service/DocumentServices.java
public void deleteDocument(final String documentId) 
			throws ServiceException {
		
		try {
			documentQueries.deleteDocument(documentId);
		}
		catch(DataAccessException e) {
			throw new ServiceException(e);
		}
	}
/**
	 * Deletes a document.
	 * 
	 * @param documentId The unique ID for the document to be deleted.
	 * 
	 * @throws ServiceException Thrown if there is an error.
	 */
Deletes a document.

@param documentId The unique ID for the document to be deleted.

@throws ServiceException Thrown if there is an error.
Deletes a document . @param documentId The unique ID for the document to be deleted . @throws ServiceException Thrown if there is an error .
public void deleteDocument(final String documentId) 
			throws ServiceException {
		try {
			documentQueries.deleteDocument(documentId);
		}
		catch(DataAccessException e) {
			throw new ServiceException(e);
		}
	}
public void deleteDocument ( final String documentId ) throws ServiceException { try { documentQueries . deleteDocument ( documentId ) ; } catch ( DataAccessException e ) { throw new ServiceException ( e ) ; } }
Deletes a document.
Deletes a document .