org.coweb.oe
Class UpdateOperation

java.lang.Object
  extended by org.coweb.oe.Operation
      extended by org.coweb.oe.UpdateOperation

public class UpdateOperation
extends Operation


Field Summary
 
Fields inherited from class org.coweb.oe.Operation
contextVector, immutable, infinity, key, local, order, position, seqId, siteId, type, value, xCache
 
Constructor Summary
protected UpdateOperation(Map<String,Object> args)
           
 
Method Summary
 Operation transformWithDelete(Operation op)
          Transforms this update to include the effect of a delete.
 Operation transformWithInsert(Operation op)
          Transforms this update to include the effect of an insert.
 Operation transformWithUpdate(Operation op)
          Transforms this update to include the effect of an update.
 
Methods inherited from class org.coweb.oe.Operation
addToCache, compareByContext, compareByOrder, copy, createHistoryKey, createOperationFromState, createOperationFromType, getContextVector, getFromCache, getPosition, getSeqId, getSiteId, getState, getValue, setImmutable, setState, toString, transformWith, upgradeContextTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateOperation

protected UpdateOperation(Map<String,Object> args)
                   throws OperationEngineException
Throws:
OperationEngineException
Method Detail

transformWithUpdate

public Operation transformWithUpdate(Operation op)
Transforms this update to include the effect of an update.

Specified by:
transformWithUpdate in class Operation
Parameters:
op - Update to include in this op
Returns:
This instance

transformWithInsert

public Operation transformWithInsert(Operation op)
Transforms this update to include the effect of an insert.

Specified by:
transformWithInsert in class Operation
Parameters:
op - Insert to include in this op
Returns:
This instance

transformWithDelete

public Operation transformWithDelete(Operation op)
Transforms this update to include the effect of a delete.

Specified by:
transformWithDelete in class Operation
Parameters:
op - Delete to include in this op
Returns:
This instance


Copyright © 2011-2012 The Dojo Foundation. All Rights Reserved.