lumis.socialnetworkintegration
Enum SocialNetworkMessageStatus

Package class diagram package SocialNetworkMessageStatus
java.lang.Object
  extended by java.lang.Enum<SocialNetworkMessageStatus>
      extended by lumis.socialnetworkintegration.SocialNetworkMessageStatus
All Implemented Interfaces:
Serializable, Comparable<SocialNetworkMessageStatus>

public enum SocialNetworkMessageStatus
extends Enum<SocialNetworkMessageStatus>

Social network message possible status.

Since:
6.1.0

Enum Constant Summary
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 lumis portal.
 
Method Summary
 String getTranslatedString()
          Returns the translated string.
static SocialNetworkMessageStatus valueOf(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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 lumis portal. 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(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


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.