com.vodafone360.people.service.io
Enum Request.Type

java.lang.Object
  extended by java.lang.Enum<Request.Type>
      extended by com.vodafone360.people.service.io.Request.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Request.Type>
Enclosing class:
Request

public static enum Request.Type
extends java.lang.Enum<Request.Type>

Request types, these are based on the content requested from, or delivered to, the server, and whether the returned response contains a type identifier or not.


Enum Constant Summary
ADD_CONTACT
           
AVAILABILITY
           
COMMON
           
CONTACT_CHANGES_OR_UPDATES
           
CONTACT_DELETE
           
CONTACT_DETAIL_DELETE
           
CONTACT_GROUP_RELATION_LIST
           
CONTACT_GROUP_RELATIONS
           
CREATE_CONVERSATION
           
EXPECTING_STATUS_ONLY
           
EXTERNAL_RPG_RESPONSE
           
FRIENDSHIP_REQUEST
           
GROUP_LIST
           
ITEM_LIST_OF_LONGS
           
PRESENCE_LIST
           
PUSH_MSG
           
RETRIEVE_PUBLIC_KEY
           
SEND_CHAT_MESSAGE
           
SIGN_IN
           
SIGN_UP
           
STATUS
           
STATUS_LIST
           
TEXT_RESPONSE_ONLY
           
USER_INVITATION
           
 
Method Summary
static Request.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Request.Type[] 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

COMMON

public static final Request.Type COMMON

ADD_CONTACT

public static final Request.Type ADD_CONTACT

TEXT_RESPONSE_ONLY

public static final Request.Type TEXT_RESPONSE_ONLY

CONTACT_CHANGES_OR_UPDATES

public static final Request.Type CONTACT_CHANGES_OR_UPDATES

CONTACT_DELETE

public static final Request.Type CONTACT_DELETE

CONTACT_DETAIL_DELETE

public static final Request.Type CONTACT_DETAIL_DELETE

FRIENDSHIP_REQUEST

public static final Request.Type FRIENDSHIP_REQUEST

USER_INVITATION

public static final Request.Type USER_INVITATION

SIGN_UP

public static final Request.Type SIGN_UP

SIGN_IN

public static final Request.Type SIGN_IN

RETRIEVE_PUBLIC_KEY

public static final Request.Type RETRIEVE_PUBLIC_KEY

EXPECTING_STATUS_ONLY

public static final Request.Type EXPECTING_STATUS_ONLY

GROUP_LIST

public static final Request.Type GROUP_LIST

STATUS_LIST

public static final Request.Type STATUS_LIST

STATUS

public static final Request.Type STATUS

CONTACT_GROUP_RELATION_LIST

public static final Request.Type CONTACT_GROUP_RELATION_LIST

CONTACT_GROUP_RELATIONS

public static final Request.Type CONTACT_GROUP_RELATIONS

ITEM_LIST_OF_LONGS

public static final Request.Type ITEM_LIST_OF_LONGS

PRESENCE_LIST

public static final Request.Type PRESENCE_LIST

AVAILABILITY

public static final Request.Type AVAILABILITY

CREATE_CONVERSATION

public static final Request.Type CREATE_CONVERSATION

SEND_CHAT_MESSAGE

public static final Request.Type SEND_CHAT_MESSAGE

PUSH_MSG

public static final Request.Type PUSH_MSG

EXTERNAL_RPG_RESPONSE

public static final Request.Type EXTERNAL_RPG_RESPONSE
Method Detail

values

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

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

valueOf

public static Request.Type 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


JavaDoc