BlackBerry Administration API
v5.0.3.29

com.rim.bes.bas.baa.dto
Enum DeleteGroupReturnStatusEnumType

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

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

Java class for DeleteGroupReturnStatusEnumType.

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

 <simpleType name="DeleteGroupReturnStatusEnumType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="SUCCESS"/>
     <enumeration value="UNKNOWN"/>
     <enumeration value="NOT_AUTHORIZED"/>
     <enumeration value="GROUP_NOT_FOUND"/>
     <enumeration value="INVALID_PARAMETER"/>
     <enumeration value="EXTERNAL_GROUP_CANNOT_BE_DELETED"/>
     <enumeration value="DYNAMIC_GROUP_CANNOT_BE_DELETED"/>
     <enumeration value="LAST_GROUP_CANNOT_BE_DELETED"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
DYNAMIC_GROUP_CANNOT_BE_DELETED
          The group specified for deletion is a dynamically defined group and so cannot be deleted.
EXTERNAL_GROUP_CANNOT_BE_DELETED
          The group specified for deletion is an externally defined group and so cannot be deleted.
GROUP_NOT_FOUND
          The group ID specified for deletion could not be found.
INVALID_PARAMETER
          An invalid parameter was passed into the API call.
LAST_GROUP_CANNOT_BE_DELETED
          The group ID specified for deletion is the last administrative group and cannot be deleted.
NOT_AUTHORIZED
          User does not have permission to perform the operation.
SUCCESS
          API call completed successfully.
UNKNOWN
          An unknown error has occurred.
 
Method Summary
static DeleteGroupReturnStatusEnumType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static DeleteGroupReturnStatusEnumType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DeleteGroupReturnStatusEnumType[] 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 DeleteGroupReturnStatusEnumType SUCCESS
API call completed successfully.


UNKNOWN

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


NOT_AUTHORIZED

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


GROUP_NOT_FOUND

public static final DeleteGroupReturnStatusEnumType GROUP_NOT_FOUND
The group ID specified for deletion could not be found.


INVALID_PARAMETER

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


EXTERNAL_GROUP_CANNOT_BE_DELETED

public static final DeleteGroupReturnStatusEnumType EXTERNAL_GROUP_CANNOT_BE_DELETED
The group specified for deletion is an externally defined group and so cannot be deleted.


DYNAMIC_GROUP_CANNOT_BE_DELETED

public static final DeleteGroupReturnStatusEnumType DYNAMIC_GROUP_CANNOT_BE_DELETED
The group specified for deletion is a dynamically defined group and so cannot be deleted.


LAST_GROUP_CANNOT_BE_DELETED

public static final DeleteGroupReturnStatusEnumType LAST_GROUP_CANNOT_BE_DELETED
The group ID specified for deletion is the last administrative group and cannot be deleted.

Method Detail

values

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

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

valueOf

public static DeleteGroupReturnStatusEnumType 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 DeleteGroupReturnStatusEnumType fromValue(java.lang.String v)

BlackBerry Administration API
v5.0.3.29

Copyright 2009 Research In Motion Limited. All Rights Reserved.