org.apache.jackrabbit.spi.commons.batch
Class ConsolidatingChangeLog.CancelableOperations.AddProperty

java.lang.Object
  extended by org.apache.jackrabbit.spi.commons.batch.Operations.AddProperty
      extended by org.apache.jackrabbit.spi.commons.batch.ConsolidatingChangeLog.CancelableOperations.AddProperty
All Implemented Interfaces:
ConsolidatingChangeLog.CancelableOperation, Operation
Enclosing class:
ConsolidatingChangeLog.CancelableOperations

public static class ConsolidatingChangeLog.CancelableOperations.AddProperty
extends Operations.AddProperty
implements ConsolidatingChangeLog.CancelableOperation

AddProperty operations might cancel with Remove and SetValue operations.


Field Summary
 
Fields inherited from class org.apache.jackrabbit.spi.commons.batch.Operations.AddProperty
isMultivalued, parentId, propertyName, values
 
Fields inherited from interface org.apache.jackrabbit.spi.commons.batch.ConsolidatingChangeLog.CancelableOperation
CANCEL_BOTH, CANCEL_NONE, CANCEL_OTHER, CANCEL_THIS
 
Constructor Summary
ConsolidatingChangeLog.CancelableOperations.AddProperty(NodeId parentId, Name propertyName, QValue value)
           
ConsolidatingChangeLog.CancelableOperations.AddProperty(NodeId parentId, Name propertyName, QValue[] values)
           
 
Method Summary
 int cancel(ConsolidatingChangeLog.CancelableOperation other)
          Determines the cancellation behavior of the other operation on this operation.
 
Methods inherited from class org.apache.jackrabbit.spi.commons.batch.Operations.AddProperty
apply, equals, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.jackrabbit.spi.commons.batch.Operation
apply
 

Constructor Detail

ConsolidatingChangeLog.CancelableOperations.AddProperty

public ConsolidatingChangeLog.CancelableOperations.AddProperty(NodeId parentId,
                                                               Name propertyName,
                                                               QValue value)

ConsolidatingChangeLog.CancelableOperations.AddProperty

public ConsolidatingChangeLog.CancelableOperations.AddProperty(NodeId parentId,
                                                               Name propertyName,
                                                               QValue[] values)
Method Detail

cancel

public int cancel(ConsolidatingChangeLog.CancelableOperation other)
           throws RepositoryException
Description copied from interface: ConsolidatingChangeLog.CancelableOperation
Determines the cancellation behavior of the other operation on this operation.

Specified by:
cancel in interface ConsolidatingChangeLog.CancelableOperation
Returns:


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.