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

public static enum AlfrescoImapConst.ImapViewMode extends Enum<AlfrescoImapConst.ImapViewMode>
Since:
3.2
Author:
Derek Hulley
  • Enum Constant Details

    • VIRTUAL

      public static final AlfrescoImapConst.ImapViewMode VIRTUAL
      Defines AlfrescoImapFolder view 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
      Defines AlfrescoImapFolder view 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
      Defines AlfrescoImapFolder view 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

      public static AlfrescoImapConst.ImapViewMode[] 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

      public static AlfrescoImapConst.ImapViewMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null