src/org/ohmage/domain/campaign/Campaign.java
public boolean surveyIdExists(
			final String surveyId) 
			throws DomainException {
		
		if(surveyId == null) {
			throw new DomainException("The survey ID is null.");
		}
		
		return surveyMap.containsKey(surveyId);
	}
/**
	 * Returns whether or not a survey with a given identifier exists.
	 * 
	 * @param surveyId The survey's configuration-unique identifier.
	 * 
	 * @return Whether or not a survey with the given ID exists.
	 * 
	 * @throws DomainException Thrown if the survey ID is null.
	 */
Returns whether or not a survey with a given identifier exists.

@param surveyId The survey's configuration-unique identifier.

@return Whether or not a survey with the given ID exists.

@throws DomainException Thrown if the survey ID is null.
Returns whether or not a survey with a given identifier exists . @param surveyId The survey ' s configuration - unique identifier . @return Whether or not a survey with the given ID exists . @throws DomainException Thrown if the survey ID is null .
public boolean surveyIdExists(
			final String surveyId) 
			throws DomainException {
		if(surveyId == null) {
			throw new DomainException("The survey ID is null.");
		}
		return surveyMap.containsKey(surveyId);
	}
public boolean surveyIdExists ( final String surveyId ) throws DomainException { if ( surveyId == null ) { throw new DomainException ( "The survey ID is null." ) ; } return surveyMap . containsKey ( surveyId ) ; }
Returns whether or not a survey with a given identifier exists.
Returns whether or not a survey with a given identifier exists .