public static enum Database.OpenDocumentMode extends Enum<Database.OpenDocumentMode>
Enum Constant and Description |
---|
ABSTRACT_ONLY
Only open an abstract of large documents
|
CACHE
If specified, the open will check to see if this note had already been read and
saved in memory.
|
CONVERT_MIME_TO_RICHTEXT
Converts items of type
ItemDataType.TYPE_MIME_PART to ItemDataType.TYPE_COMPOSITE
(rich text). |
CONVERT_RFC822_TO_TEXT_AND_TIME
Converts items of type
ItemDataType.TYPE_RFC822_TEXT to ItemDataType.TYPE_TEXT
and ItemDataType.TYPE_TIME . |
LOAD_RESPONSES
Generate an ID Table of Note IDs for the responses to this note.
|
MARK_READ
Mark unread to read if unread list is currently associated (database is a remote database).
|
NOOBJECTS
Do not read any objects.
|
SUMMARY_ONLY
open only summary info
|
Modifier and Type | Method and Description |
---|---|
static Database.OpenDocumentMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Database.OpenDocumentMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Database.OpenDocumentMode SUMMARY_ONLY
public static final Database.OpenDocumentMode MARK_READ
public static final Database.OpenDocumentMode ABSTRACT_ONLY
public static final Database.OpenDocumentMode LOAD_RESPONSES
public static final Database.OpenDocumentMode CACHE
public static final Database.OpenDocumentMode NOOBJECTS
public static final Database.OpenDocumentMode CONVERT_RFC822_TO_TEXT_AND_TIME
ItemDataType.TYPE_RFC822_TEXT
to ItemDataType.TYPE_TEXT
and ItemDataType.TYPE_TIME
. If not set, we leave the items in their native format.public static final Database.OpenDocumentMode CONVERT_MIME_TO_RICHTEXT
ItemDataType.TYPE_MIME_PART
to ItemDataType.TYPE_COMPOSITE
(rich text). If not set, we leave the items in their native format.public static Database.OpenDocumentMode[] values()
for (Database.OpenDocumentMode c : Database.OpenDocumentMode.values()) System.out.println(c);
public static Database.OpenDocumentMode 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 © 2019–2021 HCL. All rights reserved.