Package org.alfresco.repo.imap
Enum AlfrescoImapConst.ImapViewMode
- java.lang.Object
-
- java.lang.Enum<AlfrescoImapConst.ImapViewMode>
-
- org.alfresco.repo.imap.AlfrescoImapConst.ImapViewMode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AlfrescoImapConst.ImapViewMode>
- Enclosing interface:
- AlfrescoImapConst
public static enum AlfrescoImapConst.ImapViewMode extends java.lang.Enum<AlfrescoImapConst.ImapViewMode>
- Since:
- 3.2
- Author:
- Derek Hulley
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARCHIVEDefinesAlfrescoImapFolderview mode as archive mode.MIXEDDefinesAlfrescoImapFolderview mode as mixed mode.VIRTUALDefinesAlfrescoImapFolderview mode as virtual mode.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AlfrescoImapConst.ImapViewModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AlfrescoImapConst.ImapViewMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VIRTUAL
public static final AlfrescoImapConst.ImapViewMode 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
public static final AlfrescoImapConst.ImapViewMode 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
public static final AlfrescoImapConst.ImapViewMode 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 Detail
-
values
public static AlfrescoImapConst.ImapViewMode[] 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 (AlfrescoImapConst.ImapViewMode c : AlfrescoImapConst.ImapViewMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlfrescoImapConst.ImapViewMode 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
-
-