com.google.wave.api
Enum OperationType

java.lang.Object
  extended by java.lang.Enum<OperationType>
      extended by com.google.wave.api.OperationType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OperationType>

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

The Operation types supported by Robots.


Enum Constant Summary
BLIP_CONTINUE_THREAD
           
BLIP_CREATE_CHILD
           
BLIP_DELETE
           
BLIP_SET_AUTHOR
           
BLIP_SET_CREATION_TIME
           
DOCUMENT_ANNOTATION_DELETE
          Deprecated. 
DOCUMENT_ANNOTATION_SET
          Deprecated. 
DOCUMENT_ANNOTATION_SET_NORANGE
          Deprecated. 
DOCUMENT_APPEND
           
DOCUMENT_APPEND_ELEMENT
           
DOCUMENT_APPEND_INLINE_BLIP
           
DOCUMENT_APPEND_MARKUP
           
DOCUMENT_APPEND_STYLED_TEXT
           
DOCUMENT_DELETE
           
DOCUMENT_DELETE_ANNOTATION
           
DOCUMENT_DELETE_ELEMENT
           
DOCUMENT_ELEMENT_APPEND
          Deprecated. 
DOCUMENT_ELEMENT_DELETE
          Deprecated. 
DOCUMENT_ELEMENT_INSERT
          Deprecated. 
DOCUMENT_ELEMENT_INSERT_AFTER
          Deprecated. 
DOCUMENT_ELEMENT_INSERT_BEFORE
          Deprecated. 
DOCUMENT_ELEMENT_MODIFY_ATTRS
          Deprecated. 
DOCUMENT_ELEMENT_REPLACE
          Deprecated. 
DOCUMENT_INLINE_BLIP_APPEND
          Deprecated. 
DOCUMENT_INLINE_BLIP_INSERT
          Deprecated. 
DOCUMENT_INLINE_BLIP_INSERT_AFTER_ELEMENT
          Deprecated. 
DOCUMENT_INSERT
           
DOCUMENT_INSERT_ELEMENT
           
DOCUMENT_INSERT_ELEMENT_AFTER
           
DOCUMENT_INSERT_ELEMENT_BEFORE
           
DOCUMENT_INSERT_INLINE_BLIP
           
DOCUMENT_INSERT_INLINE_BLIP_AFTER_ELEMENT
           
DOCUMENT_MODIFY
           
DOCUMENT_MODIFY_ELEMENT_ATTRS
           
DOCUMENT_REPLACE
           
DOCUMENT_REPLACE_ELEMENT
           
DOCUMENT_SET_ANNOTATION
           
DOCUMENT_SET_ANNOTATION_NORANGE
           
ROBOT_CREATE_WAVELET
           
ROBOT_FETCH_MY_PROFILE
           
ROBOT_FETCH_PROFILES
           
ROBOT_FETCH_WAVE
           
ROBOT_FOLDER_ACTION
           
ROBOT_NOTIFY
           
ROBOT_NOTIFY_CAPABILITIES_HASH
          Deprecated. 
ROBOT_SEARCH
           
UNKNOWN
           
WAVELET_ADD_PARTICIPANT
          Deprecated. 
WAVELET_ADD_PARTICIPANT_NEWSYNTAX
           
WAVELET_APPEND_BLIP
           
WAVELET_APPEND_DATADOC
           
WAVELET_CREATE
           
WAVELET_DATADOC_APPEND
          Deprecated. 
WAVELET_DATADOC_SET
          Deprecated. 
WAVELET_MODIFY_PARTICIPANT_ROLE
           
WAVELET_MODIFY_TAG
           
WAVELET_REMOVE_PARTICIPANT
          Deprecated. 
WAVELET_REMOVE_PARTICIPANT_NEWSYNTAX
           
WAVELET_REMOVE_SELF
           
WAVELET_SET_DATADOC
           
WAVELET_SET_TITLE
           
 
Method Summary
static OperationType fromMethodName(java.lang.String methodName)
          Returns an OperationType enumeration that has the given method name.
 java.lang.String method()
          Returns the method name of an operation type.
static OperationType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OperationType[] 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

UNKNOWN

public static final OperationType UNKNOWN

WAVELET_APPEND_BLIP

public static final OperationType WAVELET_APPEND_BLIP

WAVELET_CREATE

public static final OperationType WAVELET_CREATE

WAVELET_REMOVE_SELF

public static final OperationType WAVELET_REMOVE_SELF

WAVELET_SET_TITLE

public static final OperationType WAVELET_SET_TITLE

WAVELET_ADD_PARTICIPANT_NEWSYNTAX

public static final OperationType WAVELET_ADD_PARTICIPANT_NEWSYNTAX

WAVELET_REMOVE_PARTICIPANT_NEWSYNTAX

public static final OperationType WAVELET_REMOVE_PARTICIPANT_NEWSYNTAX

WAVELET_APPEND_DATADOC

public static final OperationType WAVELET_APPEND_DATADOC

WAVELET_SET_DATADOC

public static final OperationType WAVELET_SET_DATADOC

WAVELET_MODIFY_TAG

public static final OperationType WAVELET_MODIFY_TAG

WAVELET_MODIFY_PARTICIPANT_ROLE

public static final OperationType WAVELET_MODIFY_PARTICIPANT_ROLE

BLIP_CONTINUE_THREAD

public static final OperationType BLIP_CONTINUE_THREAD

BLIP_CREATE_CHILD

public static final OperationType BLIP_CREATE_CHILD

BLIP_DELETE

public static final OperationType BLIP_DELETE

BLIP_SET_AUTHOR

public static final OperationType BLIP_SET_AUTHOR

BLIP_SET_CREATION_TIME

public static final OperationType BLIP_SET_CREATION_TIME

DOCUMENT_DELETE_ANNOTATION

public static final OperationType DOCUMENT_DELETE_ANNOTATION

DOCUMENT_SET_ANNOTATION

public static final OperationType DOCUMENT_SET_ANNOTATION

DOCUMENT_SET_ANNOTATION_NORANGE

public static final OperationType DOCUMENT_SET_ANNOTATION_NORANGE

DOCUMENT_APPEND

public static final OperationType DOCUMENT_APPEND

DOCUMENT_APPEND_MARKUP

public static final OperationType DOCUMENT_APPEND_MARKUP

DOCUMENT_APPEND_STYLED_TEXT

public static final OperationType DOCUMENT_APPEND_STYLED_TEXT

DOCUMENT_DELETE

public static final OperationType DOCUMENT_DELETE

DOCUMENT_INSERT

public static final OperationType DOCUMENT_INSERT

DOCUMENT_MODIFY

public static final OperationType DOCUMENT_MODIFY

DOCUMENT_REPLACE

public static final OperationType DOCUMENT_REPLACE

DOCUMENT_APPEND_ELEMENT

public static final OperationType DOCUMENT_APPEND_ELEMENT

DOCUMENT_DELETE_ELEMENT

public static final OperationType DOCUMENT_DELETE_ELEMENT

DOCUMENT_INSERT_ELEMENT

public static final OperationType DOCUMENT_INSERT_ELEMENT

DOCUMENT_INSERT_ELEMENT_AFTER

public static final OperationType DOCUMENT_INSERT_ELEMENT_AFTER

DOCUMENT_INSERT_ELEMENT_BEFORE

public static final OperationType DOCUMENT_INSERT_ELEMENT_BEFORE

DOCUMENT_MODIFY_ELEMENT_ATTRS

public static final OperationType DOCUMENT_MODIFY_ELEMENT_ATTRS

DOCUMENT_REPLACE_ELEMENT

public static final OperationType DOCUMENT_REPLACE_ELEMENT

DOCUMENT_APPEND_INLINE_BLIP

public static final OperationType DOCUMENT_APPEND_INLINE_BLIP

DOCUMENT_INSERT_INLINE_BLIP

public static final OperationType DOCUMENT_INSERT_INLINE_BLIP

DOCUMENT_INSERT_INLINE_BLIP_AFTER_ELEMENT

public static final OperationType DOCUMENT_INSERT_INLINE_BLIP_AFTER_ELEMENT

ROBOT_FOLDER_ACTION

public static final OperationType ROBOT_FOLDER_ACTION

ROBOT_CREATE_WAVELET

public static final OperationType ROBOT_CREATE_WAVELET

ROBOT_FETCH_MY_PROFILE

public static final OperationType ROBOT_FETCH_MY_PROFILE

ROBOT_FETCH_PROFILES

public static final OperationType ROBOT_FETCH_PROFILES

ROBOT_FETCH_WAVE

public static final OperationType ROBOT_FETCH_WAVE

ROBOT_NOTIFY

public static final OperationType ROBOT_NOTIFY

ROBOT_SEARCH

public static final OperationType ROBOT_SEARCH

WAVELET_ADD_PARTICIPANT

@Deprecated
public static final OperationType WAVELET_ADD_PARTICIPANT
Deprecated. 

WAVELET_REMOVE_PARTICIPANT

@Deprecated
public static final OperationType WAVELET_REMOVE_PARTICIPANT
Deprecated. 

WAVELET_DATADOC_APPEND

@Deprecated
public static final OperationType WAVELET_DATADOC_APPEND
Deprecated. 

WAVELET_DATADOC_SET

@Deprecated
public static final OperationType WAVELET_DATADOC_SET
Deprecated. 

DOCUMENT_ANNOTATION_DELETE

@Deprecated
public static final OperationType DOCUMENT_ANNOTATION_DELETE
Deprecated. 

DOCUMENT_ANNOTATION_SET

@Deprecated
public static final OperationType DOCUMENT_ANNOTATION_SET
Deprecated. 

DOCUMENT_ANNOTATION_SET_NORANGE

@Deprecated
public static final OperationType DOCUMENT_ANNOTATION_SET_NORANGE
Deprecated. 

DOCUMENT_ELEMENT_APPEND

@Deprecated
public static final OperationType DOCUMENT_ELEMENT_APPEND
Deprecated. 

DOCUMENT_ELEMENT_DELETE

@Deprecated
public static final OperationType DOCUMENT_ELEMENT_DELETE
Deprecated. 

DOCUMENT_ELEMENT_INSERT

@Deprecated
public static final OperationType DOCUMENT_ELEMENT_INSERT
Deprecated. 

DOCUMENT_ELEMENT_INSERT_AFTER

@Deprecated
public static final OperationType DOCUMENT_ELEMENT_INSERT_AFTER
Deprecated. 

DOCUMENT_ELEMENT_INSERT_BEFORE

@Deprecated
public static final OperationType DOCUMENT_ELEMENT_INSERT_BEFORE
Deprecated. 

DOCUMENT_ELEMENT_MODIFY_ATTRS

@Deprecated
public static final OperationType DOCUMENT_ELEMENT_MODIFY_ATTRS
Deprecated. 

DOCUMENT_ELEMENT_REPLACE

@Deprecated
public static final OperationType DOCUMENT_ELEMENT_REPLACE
Deprecated. 

DOCUMENT_INLINE_BLIP_APPEND

@Deprecated
public static final OperationType DOCUMENT_INLINE_BLIP_APPEND
Deprecated. 

DOCUMENT_INLINE_BLIP_INSERT

@Deprecated
public static final OperationType DOCUMENT_INLINE_BLIP_INSERT
Deprecated. 

DOCUMENT_INLINE_BLIP_INSERT_AFTER_ELEMENT

@Deprecated
public static final OperationType DOCUMENT_INLINE_BLIP_INSERT_AFTER_ELEMENT
Deprecated. 

ROBOT_NOTIFY_CAPABILITIES_HASH

@Deprecated
public static final OperationType ROBOT_NOTIFY_CAPABILITIES_HASH
Deprecated. 
Method Detail

values

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

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

valueOf

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

method

public java.lang.String method()
Returns the method name of an operation type.

Returns:
The method name of an operation type.

fromMethodName

public static OperationType fromMethodName(java.lang.String methodName)
Returns an OperationType enumeration that has the given method name. If no match is found, UNKNOWN is returned.

Parameters:
methodName - The method name of an operation.
Returns:
An OperationType that has the given method name.