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

		if(electronicFormIdsParam == null || electronicFormIdsParam.isEmpty()) {
			return null;
		}

		List<Form> returnVal = new ArrayList();

		for(Long electronicFormId : electronicFormIdsParam) {
			List<Form> forTheCycle = this.getFormDescendants(
					electronicFormId,
					includeFieldDataParam,
					includeTableFieldsParam,
					includeTableFieldFormRecordInfoParam);

			if(forTheCycle == null) {
				continue;
			}

			returnVal.addAll(forTheCycle);
		}

		return returnVal;
	}
@Override
	public List<Form> getFormDescendants(
			List<Long> electronicFormIdsParam,
			boolean includeFieldDataParam,
			boolean includeTableFieldsParam,
			boolean includeTableFieldFormRecordInfoParam) {

		if(electronicFormIdsParam == null || electronicFormIdsParam.isEmpty()) {
			return null;
		}

		List<Form> returnVal = new ArrayList();

		for(Long electronicFormId : electronicFormIdsParam) {
			List<Form> forTheCycle = this.getFormDescendants(
					electronicFormId,
					includeFieldDataParam,
					includeTableFieldsParam,
					includeTableFieldFormRecordInfoParam);

			if(forTheCycle == null) {
				continue;
			}

			returnVal.addAll(forTheCycle);
		}

		return returnVal;
	}
@ Override public List < Form > getFormDescendants ( List < Long > electronicFormIdsParam , boolean includeFieldDataParam , boolean includeTableFieldsParam , boolean includeTableFieldFormRecordInfoParam ) { if ( electronicFormIdsParam == null || electronicFormIdsParam . isEmpty ( ) ) { return null ; } List < Form > returnVal = new ArrayList ( ) ; for ( Long electronicFormId : electronicFormIdsParam ) { List < Form > forTheCycle = this . getFormDescendants ( electronicFormId , includeFieldDataParam , includeTableFieldsParam , includeTableFieldFormRecordInfoParam ) ; if ( forTheCycle == null ) { continue ; } returnVal . addAll ( forTheCycle ) ; } return returnVal ; }
Gets the descendants for the {@code electronicFormIdsParam} Forms.

@param electronicFormIdsParam Identifiers for the Forms to retrieve.
@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 electronicFormIdsParam } Forms .