mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

lutoff
07.50.2008 9b6dfe96f8d0e0c92c4fdbf3f65459271bca425c
opends/src/server/org/opends/server/tasks/ExportTask.java
@@ -131,6 +131,7 @@
  private boolean compressLDIF;
  private boolean encryptLDIF;
  private boolean signHash;
  private boolean includeOperationalAttributes;
  private ArrayList<String> includeAttributeStrings;
  private ArrayList<String> excludeAttributeStrings;
  private ArrayList<String> includeFilterStrings;
@@ -189,6 +190,7 @@
    AttributeType typeIncludeBranch;
    AttributeType typeExcludeBranch;
    AttributeType typeWrapColumn;
    AttributeType typeIncludeOperationalAttributes;
    typeLdifFile =
@@ -217,6 +219,8 @@
         getAttributeType(ATTR_TASK_EXPORT_EXCLUDE_BRANCH, true);
    typeWrapColumn =
         getAttributeType(ATTR_TASK_EXPORT_WRAP_COLUMN, true);
    typeIncludeOperationalAttributes =
      getAttributeType(ATTR_TASK_EXPORT_INCLUDE_OPERATIONAL_ATTRIBUTES, true);
    List<Attribute> attrList;
@@ -260,6 +264,9 @@
    attrList = taskEntry.getAttribute(typeWrapColumn);
    wrapColumn = TaskUtils.getSingleValueInteger(attrList, 0);
    attrList = taskEntry.getAttribute(typeIncludeOperationalAttributes);
    includeOperationalAttributes = TaskUtils.getBoolean(attrList, true);
  }
@@ -522,6 +529,7 @@
    exportConfig.setIncludeFilters(includeFilters);
    exportConfig.setSignHash(signHash);
    exportConfig.setWrapColumn(wrapColumn);
    exportConfig.setIncludeOperationalAttributes(includeOperationalAttributes);
    // FIXME -- Should this be conditional?
    exportConfig.setInvokeExportPlugins(true);