src/org/ohmage/service/CampaignServices.java
public void checkCampaignsExistence(
			final Collection<String> campaignIds, final boolean shouldExist) 
			throws ServiceException {
		
		for(String campaignId : campaignIds) {
			checkCampaignExistence(campaignId, shouldExist);
		}
	}
/**
	 * Checks if the existence of every campaign in a List of campaign IDs
	 * matches the parameterized 'shouldExist'.
	 * 
	 * @param campaignIds A List of campaign IDs to check.
	 * 
	 * @param shouldExist Whether or not every campaign in the List should 
	 * 					  exist or not.
	 * 
	 * @throws ServiceException Thrown if any of the campaigns exist and they
	 * 							shouldn't or if any of the campaigns don't 
	 * 							exist and they should.
	 */
Checks if the existence of every campaign in a List of campaign IDs
matches the parameterized 'shouldExist'.

@param campaignIds A List of campaign IDs to check.

@param shouldExist Whether or not every campaign in the List should
exist or not.

@throws ServiceException Thrown if any of the campaigns exist and they
shouldn't or if any of the campaigns don't
exist and they should.
Checks if the existence of every campaign in a List of campaign IDs matches the parameterized ' shouldExist ' . @param campaignIds A List of campaign IDs to check . @param shouldExist Whether or not every campaign in the List should exist or not . @throws ServiceException Thrown if any of the campaigns exist and they shouldn ' t or if any of the campaigns don ' t exist and they should .
public void checkCampaignsExistence(
			final Collection<String> campaignIds, final boolean shouldExist) 
			throws ServiceException {
		for(String campaignId : campaignIds) {
			checkCampaignExistence(campaignId, shouldExist);
		}
	}
public void checkCampaignsExistence ( final Collection < String > campaignIds , final boolean shouldExist ) throws ServiceException { for ( String campaignId : campaignIds ) { checkCampaignExistence ( campaignId , shouldExist ) ; } }
Checks if the existence of every campaign in a List of campaign IDs
 matches the parameterized 'shouldExist'.
Checks if the existence of every campaign in a List of campaign IDs matches the parameterized ' shouldExist ' .