src/org/ohmage/domain/campaign/Campaign.java
public boolean promptExists(
			final String surveyId, 
			final String promptId) 
			throws DomainException {
		
		return getPrompt(surveyId, promptId) != null;
	}
/**
	 * Returns whether or not a prompt exists in a survey.
	 * 
	 * @param surveyId The survey's configuration-unique identifier.
	 * 
	 * @param promptId The prompt's configuration-unique identifier.
	 * 
	 * @return Whether or not the prompt exists in the survey.
	 * 
	 * @throws DomainException Thrown if the survey ID or repeatable set ID are
	 * 						   null or if the survey doesn't exist in this 
	 * 						   configuration.
	 */
Returns whether or not a prompt exists in a survey.

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

@param promptId The prompt's configuration-unique identifier.

@return Whether or not the prompt exists in the survey.

@throws DomainException Thrown if the survey ID or repeatable set ID are
null or if the survey doesn't exist in this
configuration.
Returns whether or not a prompt exists in a survey . @param surveyId The survey ' s configuration - unique identifier . @param promptId The prompt ' s configuration - unique identifier . @return Whether or not the prompt exists in the survey . @throws DomainException Thrown if the survey ID or repeatable set ID are null or if the survey doesn ' t exist in this configuration .
public boolean promptExists(
			final String surveyId, 
			final String promptId) 
			throws DomainException {
		return getPrompt(surveyId, promptId) != null;
	}
public boolean promptExists ( final String surveyId , final String promptId ) throws DomainException { return getPrompt ( surveyId , promptId ) != null ; }
Returns whether or not a prompt exists in a survey.
Returns whether or not a prompt exists in a survey .