src/org/ohmage/domain/campaign/Campaign.java
public boolean isPromptSkippable(
			final String surveyId, 
			final String promptId) 
			throws DomainException {
		
		Prompt prompt = getPrompt(surveyId, promptId);
		if(prompt == null) {
			throw new DomainException(
					"No prompt with the given ID: " + promptId);
		}
		else {
			return prompt.skippable();
		}
	}
/**
	 * Returns whether or not a prompt may be skipped.
	 * 
	 * @param surveyId The survey's configuration-unique identifier.
	 * 
	 * @param promptId The prompt's configuration-unique identifier.
	 * 
	 * @return Whether or not the prompt may be skipped.
	 * 
	 * @throws DomainException Thrown if the survey ID or repeatable set ID are
	 * 						   null or if the survey doesn't exist in this 
	 * 						   campaign or if the prompt doesn't exist in that 
	 * 						   survey.
	 */
Returns whether or not a prompt may be skipped.

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

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

@return Whether or not the prompt may be skipped.

@throws DomainException Thrown if the survey ID or repeatable set ID are
null or if the survey doesn't exist in this
campaign or if the prompt doesn't exist in that
survey.
Returns whether or not a prompt may be skipped . @param surveyId The survey ' s configuration - unique identifier . @param promptId The prompt ' s configuration - unique identifier . @return Whether or not the prompt may be skipped . @throws DomainException Thrown if the survey ID or repeatable set ID are null or if the survey doesn ' t exist in this campaign or if the prompt doesn ' t exist in that survey .
public boolean isPromptSkippable(
			final String surveyId, 
			final String promptId) 
			throws DomainException {
		Prompt prompt = getPrompt(surveyId, promptId);
		if(prompt == null) {
			throw new DomainException(
					"No prompt with the given ID: " + promptId);
		}
		else {
			return prompt.skippable();
		}
	}
public boolean isPromptSkippable ( final String surveyId , final String promptId ) throws DomainException { Prompt prompt = getPrompt ( surveyId , promptId ) ; if ( prompt == null ) { throw new DomainException ( "No prompt with the given ID: " + promptId ) ; } else { return prompt . skippable ( ) ; } }
Returns whether or not a prompt may be skipped.
Returns whether or not a prompt may be skipped .