src/org/ohmage/service/ObserverServices.java
public void updateObserver(
			final String username,
			final Observer observer,
			final Map<String, Long> unchangedStreamIds)
			throws ServiceException {

		try {
			observerQueries.updateObserver(
				username,
				observer,
				unchangedStreamIds);
		}
		catch(DataAccessException e) {
			throw new ServiceException(e);
		}
	}
/**
	 * Updates an observer.
	 * 
	 * @param username The username of the user that is updating the observer.
	 * 
	 * @param observer The new observer.
	 * 
	 * @param unchangedStreamIds The IDs of the streams in the new observer 
	 * 							 whose version didn't change and their version.
	 * 
	 * @throws ServiceException There was an error.
	 */
Updates an observer.

@param username The username of the user that is updating the observer.

@param observer The new observer.

@param unchangedStreamIds The IDs of the streams in the new observer
whose version didn't change and their version.

@throws ServiceException There was an error.
Updates an observer . @param username The username of the user that is updating the observer . @param observer The new observer . @param unchangedStreamIds The IDs of the streams in the new observer whose version didn ' t change and their version . @throws ServiceException There was an error .
public void updateObserver(
			final String username,
			final Observer observer,
			final Map<String, Long> unchangedStreamIds)
			throws ServiceException {
		try {
			observerQueries.updateObserver(
				username,
				observer,
				unchangedStreamIds);
		}
		catch(DataAccessException e) {
			throw new ServiceException(e);
		}
	}
public void updateObserver ( final String username , final Observer observer , final Map < String , Long > unchangedStreamIds ) throws ServiceException { try { observerQueries . updateObserver ( username , observer , unchangedStreamIds ) ; } catch ( DataAccessException e ) { throw new ServiceException ( e ) ; } }
Updates an observer.
Updates an observer .