Package org.alfresco.repo.imap
Enum Class AlfrescoImapConst.ImapViewMode
java.lang.Object
java.lang.Enum<AlfrescoImapConst.ImapViewMode>
org.alfresco.repo.imap.AlfrescoImapConst.ImapViewMode
- All Implemented Interfaces:
Serializable,Comparable<AlfrescoImapConst.ImapViewMode>,Constable
- Enclosing interface:
- AlfrescoImapConst
- Since:
- 3.2
- Author:
- Derek Hulley
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDefinesAlfrescoImapFolderview mode as archive mode.DefinesAlfrescoImapFolderview mode as mixed mode.DefinesAlfrescoImapFolderview mode as virtual mode. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AlfrescoImapConst.ImapViewMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VIRTUAL
DefinesAlfrescoImapFolderview mode as virtual mode. Used for IMAP Virtualised View.In the virtual mode alfresco nodes of cm:content are shown regardless of whether they are IMAP messages.
A template is used to generate a "virtual" email message from a content item that is not an email message.
Only nodes from IMAP favourite sites are shown, non favourite sites are not shown.
-
MIXED
DefinesAlfrescoImapFolderview mode as mixed mode. Used for IMAP Mixed View.In mixed mode both IMAP messages and Alfresco nodes of other types are shown. Only nodes from IMAP favourite sites are shown, non favourite sites are not shown.
-
ARCHIVE
DefinesAlfrescoImapFolderview mode as archive mode. Used for Email Archive View.In archive mode only IMAP messages are shown. Alfresco nodes of other types are not shown. And no nodes within sites (favourite or otherwise) are shown.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-