src/org/ohmage/service/UserCampaignServices.java
public void verifyUserCanReadClassesAssociatedWithCampaigns(
			final String username, final Collection<String> campaignIds) 
			throws ServiceException {
		
		for(String campaignId : campaignIds) {
			verifyUserCanReadClassesAssociatedWithCampaign(username, campaignId);
		}
	}
/**
	 * Verifies that a user is allowed to read the list of classes associated
	 * with a Collection of campaigns.
	 * 
	 * @param username The username of the user whose permissions are being
	 * 				   checked.
	 * 
	 * @param campaignIds A Collection of unique identifiers for the campaigns.
	 * 
	 * @throws ServiceException Thrown if the user doesn't have sufficient
	 * 							permissions to read the list of classes for any
	 * 							of the campaigns.
	 */
Verifies that a user is allowed to read the list of classes associated
with a Collection of campaigns.

@param username The username of the user whose permissions are being
checked.

@param campaignIds A Collection of unique identifiers for the campaigns.

@throws ServiceException Thrown if the user doesn't have sufficient
permissions to read the list of classes for any
of the campaigns.
Verifies that a user is allowed to read the list of classes associated with a Collection of campaigns . @param username The username of the user whose permissions are being checked . @param campaignIds A Collection of unique identifiers for the campaigns . @throws ServiceException Thrown if the user doesn ' t have sufficient permissions to read the list of classes for any of the campaigns .
public void verifyUserCanReadClassesAssociatedWithCampaigns(
			final String username, final Collection<String> campaignIds) 
			throws ServiceException {
		for(String campaignId : campaignIds) {
			verifyUserCanReadClassesAssociatedWithCampaign(username, campaignId);
		}
	}
public void verifyUserCanReadClassesAssociatedWithCampaigns ( final String username , final Collection < String > campaignIds ) throws ServiceException { for ( String campaignId : campaignIds ) { verifyUserCanReadClassesAssociatedWithCampaign ( username , campaignId ) ; } }
Verifies that a user is allowed to read the list of classes associated
 with a Collection of campaigns.
Verifies that a user is allowed to read the list of classes associated with a Collection of campaigns .