Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


com.bea.wcp.profile
Enum ProfileSubscription.ProfileSubscriptionState

java.lang.Object
  extended by java.lang.Enum<ProfileSubscription.ProfileSubscriptionState>
      extended by com.bea.wcp.profile.ProfileSubscription.ProfileSubscriptionState

All Implemented Interfaces:
Serializable, Comparable<ProfileSubscription.ProfileSubscriptionState>
Enclosing interface:
ProfileSubscription

public static enum ProfileSubscription.ProfileSubscriptionState
extends Enum<ProfileSubscription.ProfileSubscriptionState>

PENDING means the subscription request has been submitted, and the final state of the subscription is not yet known. The calling application can listen to ProfileListener to be notified of the state changes. The subscription request will either be accepted, with the state changing to ACTIVE, or rejected, with the state changing to INACTIVE.
ACTIVE means the subscription is currently active, and ready to receive updates about the document being subscribed to.
INACTIVE means the subscription has either been rejected, expired, or errored out. In any case, the application will not be receiving updates about the document.


Enum Constant Summary
ACTIVE
           
INACTIVE
           
PENDING
           

 

Method Summary
static ProfileSubscription.ProfileSubscriptionState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ProfileSubscription.ProfileSubscriptionState[] 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

PENDING

public static final ProfileSubscription.ProfileSubscriptionState PENDING

ACTIVE

public static final ProfileSubscription.ProfileSubscriptionState ACTIVE

INACTIVE

public static final ProfileSubscription.ProfileSubscriptionState INACTIVE

Method Detail

values

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

valueOf

public static ProfileSubscription.ProfileSubscriptionState 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

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.