private void getUnitsList(IUnit parentUnit, int index, StringBuffer buffer) {
private void getUnitsList(IUnit parentUnit, List<IUnit> subUnits, StringBuffer buffer, Date currentDate, boolean active) {
    private void getUnitsList(IUnit parentUnit, int index, StringBuffer buffer) {        buffer.append("<li>").append("<a href=\"").append(getContextPath()).append(                "/manager/organizationalStructureManagament/").append("unitDetails.faces?").append(                "unitID=").append(parentUnit.getIdInternal()).append("\">").append(parentUnit.getName())                .append("</a>").append("</li>").append("<ul>");        for (IUnit subUnit : parentUnit.getSubUnits()) {            getUnitsList(subUnit, index + 1, buffer);        }        buffer.append("</ul>");    }