public abstract class Update<A extends UpdateAction>
extends java.lang.Object
UpdateCommand
.
The actions will be applied to the object in the order they were added. If one action fails
to be executed on the server, the whole update fails and none of the actions will be applied.Constructor and Description |
---|
Update() |
Modifier and Type | Method and Description |
---|---|
protected void |
add(A action)
Adds an
UpdateAction to the update. |
protected java.util.List<A> |
getActions() |
boolean |
isEmpty() |
protected void add(A action)
UpdateAction
to the update.action
- the action to addprotected java.util.List<A> getActions()
public boolean isEmpty()