public enum DocumentStatus extends Enum<DocumentStatus>
Enum used to indicate document status
Enum Constant and Description |
---|
LONG_CHECKOUT
Document is long-term checked out and current user isn't checkout owner
|
LONG_CHECKOUT_OWNER
Document is long-term checked out and current user is checkout owner
|
NORMAL
Document isn't checked out and readonly
|
READONLY
Document isn't checked out, but it is readonly
|
SHORT_CHECKOUT
Document is short-term checked out and current user isn't checkout owner
|
SHORT_CHECKOUT_OWNER
Document is short-term checked out and current user is checkout owner
|
Modifier and Type | Method and Description |
---|---|
static DocumentStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentStatus NORMAL
public static final DocumentStatus READONLY
public static final DocumentStatus SHORT_CHECKOUT
public static final DocumentStatus SHORT_CHECKOUT_OWNER
public static final DocumentStatus LONG_CHECKOUT
public static final DocumentStatus LONG_CHECKOUT_OWNER
public static DocumentStatus[] values()
for (DocumentStatus c : DocumentStatus.values()) System.out.println(c);
public static DocumentStatus 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 nullCopyright © 2005–2017 Alfresco Software. All rights reserved.