com.ibm.workplace.wcm.api.messaging
Enum MessagingConstants.ItemStatus

java.lang.Object
  extended by java.lang.Enum<MessagingConstants.ItemStatus>
      extended by com.ibm.workplace.wcm.api.messaging.MessagingConstants.ItemStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MessagingConstants.ItemStatus>
Enclosing class:
MessagingConstants

public static enum MessagingConstants.ItemStatus
extends java.lang.Enum<MessagingConstants.ItemStatus>

Represents the valid status's of an item. This is specified as MESSAGE_PROPERTY_ITEM_STATUS and MESSAGE_PROPERTY_ITEM_PENDING_STATUS (if there is a pending status) in the MessageMap for a messages of type MessageUpdateType.


Enum Constant Summary
ACTIVE
           
DELETED
           
DRAFT
           
EXPIRED
           
PENDING
           
PUBLISHED
           
PUBLISHED_FAILED
           
PUBLISHING
           
PURGED
           
REJECTED
           
REVIEW
           
SYNDICATING
           
 
Method Summary
static MessagingConstants.ItemStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MessagingConstants.ItemStatus[] 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

ACTIVE

public static final MessagingConstants.ItemStatus ACTIVE

DRAFT

public static final MessagingConstants.ItemStatus DRAFT

SYNDICATING

public static final MessagingConstants.ItemStatus SYNDICATING

PENDING

public static final MessagingConstants.ItemStatus PENDING

PUBLISHING

public static final MessagingConstants.ItemStatus PUBLISHING

PUBLISHED

public static final MessagingConstants.ItemStatus PUBLISHED

PUBLISHED_FAILED

public static final MessagingConstants.ItemStatus PUBLISHED_FAILED

EXPIRED

public static final MessagingConstants.ItemStatus EXPIRED

DELETED

public static final MessagingConstants.ItemStatus DELETED

PURGED

public static final MessagingConstants.ItemStatus PURGED

REVIEW

public static final MessagingConstants.ItemStatus REVIEW

REJECTED

public static final MessagingConstants.ItemStatus REJECTED
Method Detail

values

public static MessagingConstants.ItemStatus[] 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 (MessagingConstants.ItemStatus c : MessagingConstants.ItemStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MessagingConstants.ItemStatus 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