org.coweb.oe
Class DeleteOperation

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

public class DeleteOperation
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 DeleteOperation(Map<String,Object> args)
           
 
Method Summary
 Operation transformWithDelete(Operation op)
          Transforms this delete to include the effect of a delete.
 Operation transformWithInsert(Operation op)
          Transforms this delete to include the effect of an insert.
 Operation transformWithUpdate(Operation op)
          No-op.
 
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

DeleteOperation

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

transformWithDelete

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

Specified by:
transformWithDelete in class Operation
Parameters:
{DeleteOperation} - op Delete to include in this op

transformWithUpdate

public Operation transformWithUpdate(Operation op)
No-op. Update has no effect on a delete.

Specified by:
transformWithUpdate in class Operation
Parameters:
{UpdateOperation} - op Update to include in this op

transformWithInsert

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

Specified by:
transformWithInsert in class Operation
Parameters:
{InsertOperation} - op Insert to include in this op


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