src/org/ohmage/service/UserCampaignDocumentServices.java
public void userCanAssociateDocumentsWithCampaigns(
			final String username, final Collection<String> campaignIds) 
			throws ServiceException {
		
		for(String campaignId : campaignIds) {
			userCanAssociateDocumentsWithCampaign(username, campaignId);
		}
	}
/**
	 * Verifies that a user can associate documents with all of the campaigns
	 * in a list. The only restriction is that the user must belong to each of
	 * the campaigns.
	 * 
	 * @param username The username of the user in question.
	 * 
	 * @param campaignIds A List of campaign IDs where each campaign ID will be
	 * 					  checked that the user is a member of it.
	 * 
	 * @throws ServiceException Thrown if there is an error or if the user is
	 * 							not allowed to associate documents with any of
	 * 							the campaigns.
	 */
Verifies that a user can associate documents with all of the campaigns
in a list. The only restriction is that the user must belong to each of
the campaigns.

@param username The username of the user in question.

@param campaignIds A List of campaign IDs where each campaign ID will be
checked that the user is a member of it.

@throws ServiceException Thrown if there is an error or if the user is
not allowed to associate documents with any of
the campaigns.
Verifies that a user can associate documents with all of the campaigns in a list . The only restriction is that the user must belong to each of the campaigns . @param username The username of the user in question . @param campaignIds A List of campaign IDs where each campaign ID will be checked that the user is a member of it . @throws ServiceException Thrown if there is an error or if the user is not allowed to associate documents with any of the campaigns .
public void userCanAssociateDocumentsWithCampaigns(
			final String username, final Collection<String> campaignIds) 
			throws ServiceException {
		for(String campaignId : campaignIds) {
			userCanAssociateDocumentsWithCampaign(username, campaignId);
		}
	}
public void userCanAssociateDocumentsWithCampaigns ( final String username , final Collection < String > campaignIds ) throws ServiceException { for ( String campaignId : campaignIds ) { userCanAssociateDocumentsWithCampaign ( username , campaignId ) ; } }
Verifies that a user can associate documents with all of the campaigns
 in a list.
Verifies that a user can associate documents with all of the campaigns in a list .