src/org/ohmage/service/UserClassDocumentServices.java
public void userCanAssociateDocumentsWithClasses(
			final String username, final Collection<String> classIds) 
			throws ServiceException {
		
		for(String classId : classIds) {
			userCanAssociateDocumentsWithClass(username, classId);
		}
	}
/**
	 * Verifies that the user can associate documents with all of the classes 
	 * in the list. Currently, the only restriction is that the user must 
	 * belong to each of the classes in some capacity.
	 * 
	 * @param username The username of the user in question.
	 * 
	 * @param classIds A List of class IDs where the user must belong to all of
	 * 				   the classes in some capacity.
	 * 				 
	 * @throws ServiceException Thrown if there is an error or if the user 
	 * 							doesn't belong to one or more of the classes.
	 */
Verifies that the user can associate documents with all of the classes
in the list. Currently, the only restriction is that the user must
belong to each of the classes in some capacity.

@param username The username of the user in question.

@param classIds A List of class IDs where the user must belong to all of
the classes in some capacity.

@throws ServiceException Thrown if there is an error or if the user
doesn't belong to one or more of the classes.
Verifies that the user can associate documents with all of the classes in the list . Currently the only restriction is that the user must belong to each of the classes in some capacity . @param username The username of the user in question . @param classIds A List of class IDs where the user must belong to all of the classes in some capacity . @throws ServiceException Thrown if there is an error or if the user doesn ' t belong to one or more of the classes .
public void userCanAssociateDocumentsWithClasses(
			final String username, final Collection<String> classIds) 
			throws ServiceException {
		for(String classId : classIds) {
			userCanAssociateDocumentsWithClass(username, classId);
		}
	}
public void userCanAssociateDocumentsWithClasses ( final String username , final Collection < String > classIds ) throws ServiceException { for ( String classId : classIds ) { userCanAssociateDocumentsWithClass ( username , classId ) ; } }
Verifies that the user can associate documents with all of the classes
 in the list.
Verifies that the user can associate documents with all of the classes in the list .