public final enum

WriteOperation

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.google.gwt.requestfactory.shared.WriteOperation

Class Overview

The enum used in EntityProxyChange.

  • A PERSIST event is fired after a proxy that was created on the client has been persisted on the server.
  • An UPDATE event is fired whenever a client encounters a proxy for the first time, or encounters a proxy whose version number has changed.
  • A DELETE event is fired after a proxy that was deleted on the client is deleted on the server as well.

Summary

Enum Values
WriteOperation  DELETE   
WriteOperation  PERSIST   
WriteOperation  UPDATE   
Public Methods
String getUnObfuscatedEnumName()
Returns the unobfuscated name of the event associated with this WriteOperation.
static WriteOperation valueOf(String name)
final static WriteOperation[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final WriteOperation DELETE

public static final WriteOperation PERSIST

public static final WriteOperation UPDATE

Public Methods

public String getUnObfuscatedEnumName ()

Returns the unobfuscated name of the event associated with this WriteOperation.

Returns
  • one of "PERSIST", "UPDATE", or "DELETE"

public static WriteOperation valueOf (String name)

public static final WriteOperation[] values ()