src/org/ohmage/service/UserCampaignServices.java
public void createUserCampaignMask(
		final CampaignMask mask)
		throws ServiceException {
		
		try {
			userCampaignQueries.createUserCampaignMask(mask);
		}
		catch(DataAccessException e) {
			throw new ServiceException(e);
		}
	}
/**
	 * Creates a campaign mask for the given user. When the campaign is
	 * queried, only the surveys given by this list will be shown to the user.
	 * 
	 * @param mask The campaign mask to save.
	 * 
	 * @throws DataAccessException There was an error saving the data.
	 */
Creates a campaign mask for the given user. When the campaign is
queried, only the surveys given by this list will be shown to the user.

@param mask The campaign mask to save.

@throws DataAccessException There was an error saving the data.
Creates a campaign mask for the given user . When the campaign is queried only the surveys given by this list will be shown to the user . @param mask The campaign mask to save . @throws DataAccessException There was an error saving the data .
public void createUserCampaignMask(
		final CampaignMask mask)
		throws ServiceException {
		try {
			userCampaignQueries.createUserCampaignMask(mask);
		}
		catch(DataAccessException e) {
			throw new ServiceException(e);
		}
	}
public void createUserCampaignMask ( final CampaignMask mask ) throws ServiceException { try { userCampaignQueries . createUserCampaignMask ( mask ) ; } catch ( DataAccessException e ) { throw new ServiceException ( e ) ; } }
Creates a campaign mask for the given user.
Creates a campaign mask for the given user .