src/org/ohmage/service/ClassServices.java
public void updateClass(final String classId, 
			final String className, final String classDescription, 
			final Map<String, Clazz.Role> usersToAdd, 
			final Collection<String> usersToRemove) throws ServiceException {
		
		try {
			classQueries.updateClass(classId, className, classDescription, usersToAdd, usersToRemove);
		}
		catch(DataAccessException e) {
			throw new ServiceException(e);
		}
	}
/**
	 * Updates the class.
	 * 
	 * @param classId The unique identifier for the class to update.
	 * 
	 * @param className A new name for the class or null if the class name
	 * 					should not be updated.
	 * 
	 * @param classDescription A new description for the class or null if the
	 * 						   class' description should not be updated.
	 * 
	 * @param usersToAdd A List of usernames and respective roles that should 
	 * 					 be associated with the class.
	 * 
	 * @param usersToRemove A List of usernames and respective roles that 
	 * 						should be disassociated with the class.
	 * 
	 * @throws ServiceException Thrown if there is an error.
	 */
Updates the class.

@param classId The unique identifier for the class to update.

@param className A new name for the class or null if the class name
should not be updated.

@param classDescription A new description for the class or null if the
class' description should not be updated.

@param usersToAdd A List of usernames and respective roles that should
be associated with the class.

@param usersToRemove A List of usernames and respective roles that
should be disassociated with the class.

@throws ServiceException Thrown if there is an error.
Updates the class . @param classId The unique identifier for the class to update . @param className A new name for the class or null if the class name should not be updated . @param classDescription A new description for the class or null if the class ' description should not be updated . @param usersToAdd A List of usernames and respective roles that should be associated with the class . @param usersToRemove A List of usernames and respective roles that should be disassociated with the class . @throws ServiceException Thrown if there is an error .
public void updateClass(final String classId, 
			final String className, final String classDescription, 
			final Map<String, Clazz.Role> usersToAdd, 
			final Collection<String> usersToRemove) throws ServiceException {
		try {
			classQueries.updateClass(classId, className, classDescription, usersToAdd, usersToRemove);
		}
		catch(DataAccessException e) {
			throw new ServiceException(e);
		}
	}
public void updateClass ( final String classId , final String className , final String classDescription , final Map < String , Clazz . Role > usersToAdd , final Collection < String > usersToRemove ) throws ServiceException { try { classQueries . updateClass ( classId , className , classDescription , usersToAdd , usersToRemove ) ; } catch ( DataAccessException e ) { throw new ServiceException ( e ) ; } }
Updates the class.
Updates the class .