Enum AlfrescoImapConst.ImapViewMode

    • Enum Constant Detail

      • 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 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 name
        java.lang.NullPointerException - if the argument is null