public static enum TemporalDocumentManager.ProtectionLevel extends Enum<TemporalDocumentManager.ProtectionLevel>
Various protection levels to prevent updation/deletion and wiping of temporal documents. You can request a more restrictive protection level than the current protection level but not a lesser restrictive level. The descending order of restriction levels are as follows: NOUPDATE, NODELETE and NOWIPE
| Enum Constant and Description |
|---|
NODELETE
Protection level to prevent deletion of a temporal document.
|
NOUPDATE
Protection level to prevent updating a temporal document.
|
NOWIPE
Protection level to prevent wiping of a temporal document
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static TemporalDocumentManager.ProtectionLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemporalDocumentManager.ProtectionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemporalDocumentManager.ProtectionLevel NOUPDATE
public static final TemporalDocumentManager.ProtectionLevel NODELETE
public static final TemporalDocumentManager.ProtectionLevel NOWIPE
public static TemporalDocumentManager.ProtectionLevel[] values()
for (TemporalDocumentManager.ProtectionLevel c : TemporalDocumentManager.ProtectionLevel.values()) System.out.println(c);
public static TemporalDocumentManager.ProtectionLevel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<TemporalDocumentManager.ProtectionLevel>Copyright © 2013-2017 MarkLogic Corporation.