Package de.hybris.platform.impex.jalo
Enum DocumentIDRegistry.MODE
- java.lang.Object
-
- java.lang.Enum<DocumentIDRegistry.MODE>
-
- de.hybris.platform.impex.jalo.DocumentIDRegistry.MODE
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DocumentIDRegistry.MODE>
- Enclosing class:
- DocumentIDRegistry
public static enum DocumentIDRegistry.MODE extends java.lang.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 storageresolvedQualifiers. When using UNRESOLVED the context always use storageunresolvedQualifiers.
The resolved storage is always used within import process.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RESOLVEDAn 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.UNRESOLVEDAn 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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocumentIDRegistry.MODEvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DocumentIDRegistry.MODE[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static DocumentIDRegistry.MODE[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DocumentIDRegistry.MODE c : DocumentIDRegistry.MODE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentIDRegistry.MODE valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-