this.getFunction().getIdInternal()).append("\">").append(parentUnit.getName()).append(
this.getFunction().getIdInternal()).append("\">").append(parentUnit.getNameWithAcronym()).append(
    private void getSubUnitsListToChoosePrincipalFunction(Unit parentUnit, Unit parentUnitParent,	    StringBuilder buffer, YearMonthDay currentDate) throws FenixFilterException,	    FenixServiceException {	openLITag(buffer);	List<Unit> subUnits = null;	if (this.getFunction().isActive(currentDate)) {	    subUnits = getSubUnits(true, parentUnit, currentDate);	} else {	    subUnits = getSubUnits(false, parentUnit, currentDate);	}	if (!subUnits.isEmpty()) {	    putImage(parentUnit, buffer, parentUnitParent);	}	buffer.append("<a href=\"").append(getContextPath()).append(		"/manager/organizationalStructureManagament/").append("chooseFunction.faces?").append(		"unitID=").append(this.getUnit().getIdInternal()).append("&chooseUnitID=").append(		parentUnit.getIdInternal()).append("&functionID=").append(		this.getFunction().getIdInternal()).append("\">").append(parentUnit.getName()).append(		"</a>").append("</li>");	if (!subUnits.isEmpty()) {	    openULTag(parentUnit, buffer, parentUnitParent);	    Collections.sort(subUnits, Unit.UNIT_COMPARATOR_BY_NAME);	}	for (Unit subUnit : subUnits) {	    getSubUnitsListToChoosePrincipalFunction(subUnit, parentUnit, buffer, currentDate);	}	if (!subUnits.isEmpty()) {	    closeULTag(buffer);	}    }