BlackBerry Administration API
v5.0.3.29

com.rim.bes.bas.baa.dispatcher.dto
Enum SetExternalServicesStateForUserReturnStatusEnumType

Package class diagram package SetExternalServicesStateForUserReturnStatusEnumType
java.lang.Object
  extended by java.lang.Enum<SetExternalServicesStateForUserReturnStatusEnumType>
      extended by com.rim.bes.bas.baa.dispatcher.dto.SetExternalServicesStateForUserReturnStatusEnumType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SetExternalServicesStateForUserReturnStatusEnumType>

public enum SetExternalServicesStateForUserReturnStatusEnumType
extends java.lang.Enum<SetExternalServicesStateForUserReturnStatusEnumType>

Java class for SetExternalServicesStateForUserReturnStatusEnumType.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="SetExternalServicesStateForUserReturnStatusEnumType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="SUCCESS"/>
     <enumeration value="UNKNOWN"/>
     <enumeration value="NOT_AUTHORIZED"/>
     <enumeration value="INVALID_PARAMETER"/>
     <enumeration value="COULD_NOT_SET_EXTERNAL_SERVICES_STATE"/>
     <enumeration value="USER_IS_NOT_BLACKBERRY_ENABLED"/>
     <enumeration value="EXTERNAL_SERVICES_NOT_ENABLED_AT_SERVER_LEVEL"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
COULD_NOT_SET_EXTERNAL_SERVICES_STATE
          Failed to set the external services state for user.
EXTERNAL_SERVICES_NOT_ENABLED_AT_SERVER_LEVEL
          Server does not have external services enabled.
INVALID_PARAMETER
          An invalid parameter was passed into the API call.
NOT_AUTHORIZED
          User does not have permission to perform the operation.
SUCCESS
          API call completed successfully.
UNKNOWN
          An unknown error has occurred.
USER_IS_NOT_BLACKBERRY_ENABLED
          User does not have BlackBerry service enabled.
 
Method Summary
static SetExternalServicesStateForUserReturnStatusEnumType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static SetExternalServicesStateForUserReturnStatusEnumType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SetExternalServicesStateForUserReturnStatusEnumType[] 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

SUCCESS

public static final SetExternalServicesStateForUserReturnStatusEnumType SUCCESS
API call completed successfully.


UNKNOWN

public static final SetExternalServicesStateForUserReturnStatusEnumType UNKNOWN
An unknown error has occurred. Inspect the message for details or consult the log file.


NOT_AUTHORIZED

public static final SetExternalServicesStateForUserReturnStatusEnumType NOT_AUTHORIZED
User does not have permission to perform the operation.


INVALID_PARAMETER

public static final SetExternalServicesStateForUserReturnStatusEnumType INVALID_PARAMETER
An invalid parameter was passed into the API call.


COULD_NOT_SET_EXTERNAL_SERVICES_STATE

public static final SetExternalServicesStateForUserReturnStatusEnumType COULD_NOT_SET_EXTERNAL_SERVICES_STATE
Failed to set the external services state for user.


USER_IS_NOT_BLACKBERRY_ENABLED

public static final SetExternalServicesStateForUserReturnStatusEnumType USER_IS_NOT_BLACKBERRY_ENABLED
User does not have BlackBerry service enabled.


EXTERNAL_SERVICES_NOT_ENABLED_AT_SERVER_LEVEL

public static final SetExternalServicesStateForUserReturnStatusEnumType EXTERNAL_SERVICES_NOT_ENABLED_AT_SERVER_LEVEL
Server does not have external services enabled.

Method Detail

values

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

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

valueOf

public static SetExternalServicesStateForUserReturnStatusEnumType 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

value

public java.lang.String value()

fromValue

public static SetExternalServicesStateForUserReturnStatusEnumType fromValue(java.lang.String v)

BlackBerry Administration API
v5.0.3.29

Copyright 2009 Research In Motion Limited. All Rights Reserved.