Enum Class DocumentIDRegistry.MODE

java.lang.Object
java.lang.Enum<DocumentIDRegistry.MODE>
de.hybris.platform.impex.jalo.DocumentIDRegistry.MODE
All Implemented Interfaces:
Serializable, Comparable<DocumentIDRegistry.MODE>, Constable
Enclosing class:
DocumentIDRegistry

public static enum DocumentIDRegistry.MODE extends Enum<DocumentIDRegistry.MODE>
Enumeration representing the two modes of storing an ID => resolved and unresolved. So when you use mode RESOLVED the context will always use storage resolvedQualifiers. When using UNRESOLVED the context always use storage unresolvedQualifiers.
The resolved storage is always used within import process.
  • Enum Constant Details

    • RESOLVED

      public static final DocumentIDRegistry.MODE RESOLVED
      An ID is resolved and therefore has to be stored in RESOLVED storage when the ID is used within import process, or in export process and the item with mapped pk is exported.
    • UNRESOLVED

      public static final DocumentIDRegistry.MODE UNRESOLVED
      An ID is unresolved when the ID is used within export process and an item A references to the item B with mapped pk, but item B is not exported until yet.
  • Method Details

    • values

      public static DocumentIDRegistry.MODE[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DocumentIDRegistry.MODE valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null