fluid-api/src/main/java/com/fluidbpm/program/api/util/elasticsearch/ESFormUtil.java
@Override
	public List<Form> getFormDescendants(
			Long electronicFormIdParam,
			boolean includeFieldDataParam,
			boolean includeTableFieldsParam,
			boolean includeTableFieldFormRecordInfoParam) {

		if(electronicFormIdParam == null)
		{
			return null;
		}

		List<Long> electronicFormIds = new ArrayList();
		electronicFormIds.add(electronicFormIdParam);

		//Get Form Descendants...
		return this.getFormDescendants(
				electronicFormIds,
				includeFieldDataParam,
				includeTableFieldsParam,
				includeTableFieldFormRecordInfoParam);
	}
@Override
	public List<Form> getFormDescendants(
			Long electronicFormIdParam,
			boolean includeFieldDataParam,
			boolean includeTableFieldsParam,
			boolean includeTableFieldFormRecordInfoParam) {

		if(electronicFormIdParam == null)
		{
			return null;
		}

		List<Long> electronicFormIds = new ArrayList();
		electronicFormIds.add(electronicFormIdParam);

		//Get Form Descendants...
		return this.getFormDescendants(
				electronicFormIds,
				includeFieldDataParam,
				includeTableFieldsParam,
				includeTableFieldFormRecordInfoParam);
	}
@ Override public List < Form > getFormDescendants ( Long electronicFormIdParam , boolean includeFieldDataParam , boolean includeTableFieldsParam , boolean includeTableFieldFormRecordInfoParam ) { if ( electronicFormIdParam == null ) { return null ; } List < Long > electronicFormIds = new ArrayList ( ) ; electronicFormIds . add ( electronicFormIdParam ) ; //Get Form Descendants... return this . getFormDescendants ( electronicFormIds , includeFieldDataParam , includeTableFieldsParam , includeTableFieldFormRecordInfoParam ) ; }
Gets the descendants for the {@code electronicFormIdParam} Form.

@param electronicFormIdParam Identifier for the Form.
@param includeFieldDataParam Whether to populate the return {@code List<Form>} fields.
@param includeTableFieldsParam Whether to populate the return {@code List<Form>} table fields.
@param includeTableFieldFormRecordInfoParam Does table record form data need to be included.

@return {@code List<Form>} descendants.

@see Form
Gets the descendants for the { @code electronicFormIdParam } Form .