code: public List<CmsOrganizationalUnit> getOrganizationalUnits(
          CmsRequestContext context,
          CmsOrganizationalUnit parent,
          boolean includeChildren)
      throws CmsException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          List<CmsOrganizationalUnit> result = null;
          try {
              result = m_driverManager.getOrganizationalUnits(dbc, parent, includeChildren);
          } catch (Exception e) {
              dbc.report(null, Messages.get().container(Messages.ERR_GET_ORGUNITS_1, parent.getName()), e);
          } finally {
              dbc.clear();
          }
          return result;
      }
docs: Returns all child organizational units of the given parent organizational unit including
  hierarchical deeper organization units if needed.<p>
  
  @param context the current request context
  @param parent the parent organizational unit
  @param includeChildren if hierarchical deeper organization units should also be returned
  
  @return a list of <code>{@link CmsOrganizationalUnit}</code> objects
  
  @throws CmsException if operation was not successful
  
  @see org.opencms.security.CmsOrgUnitManager#getOrganizationalUnits(CmsObject, String, boolean)