Enum SocialNetworkMessageStatus

    • Enum Constant Detail

      • Scheduled

        public static final SocialNetworkMessageStatus Scheduled
        Indicates that a message has already been scheduled to be publish. In this status, the message is waiting for the current date/time to be equal/greater than the scheduled date/time.
        Since:
        6.1.0
      • WaitingContentPublishing

        public static final SocialNetworkMessageStatus WaitingContentPublishing
        Indicates that the publish date has already expired but the content associated to the message has not yet been published in the LumisXP. This status is not valid for messages that are not associated to any Lumis content.
        Since:
        6.1.0
      • SentToQueue

        public static final SocialNetworkMessageStatus SentToQueue
        Indicates the message has been added to the publishing queue and is waiting for it to be processed.
        Since:
        6.1.0
      • Processed

        public static final SocialNetworkMessageStatus Processed
        Indicates the message has been sent to the social network.
        Since:
        6.1.0
    • Method Detail

      • values

        public static SocialNetworkMessageStatus[] 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 (SocialNetworkMessageStatus c : SocialNetworkMessageStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SocialNetworkMessageStatus valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getTranslatedString

        public String getTranslatedString()
                                   throws PortalException
        Returns the translated string.
        Returns:
        the translated string.
        Throws:
        PortalException
        Since:
        6.1.0