Package lumis.socialnetworkintegration
Enum SocialNetworkMessageStatus
- java.lang.Object
-
- java.lang.Enum<SocialNetworkMessageStatus>
-
- lumis.socialnetworkintegration.SocialNetworkMessageStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SocialNetworkMessageStatus>
public enum SocialNetworkMessageStatus extends java.lang.Enum<SocialNetworkMessageStatus>
Social network message possible status.- Since:
- 6.1.0
- Version:
- $Revision$ $Date$
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Error
Indicates an error occured trying to send a message.Processed
Indicates the message has been sent to the social network.Scheduled
Indicates that a message has already been scheduled to be publish.SentToQueue
Indicates the message has been added to the publishing queue and is waiting for it to be processed.WaitingContentPublishing
Indicates that the publish date has already expired but the content associated to the message has not yet been published in the LumisXP.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getTranslatedString()
Returns the translated string.static SocialNetworkMessageStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SocialNetworkMessageStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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
-
Error
public static final SocialNetworkMessageStatus Error
Indicates an error occured trying to send a message.- 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(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
-
getTranslatedString
public java.lang.String getTranslatedString() throws PortalException
Returns the translated string.- Returns:
- the translated string.
- Throws:
PortalException
- Since:
- 6.1.0
-
-