org.datanucleus.sco.queued
Class RemoveOperation

java.lang.Object
  extended by org.datanucleus.sco.queued.RemoveOperation
All Implemented Interfaces:
QueuedOperation

public class RemoveOperation
extends java.lang.Object
implements QueuedOperation

Remove operation for a collection or map.


Constructor Summary
RemoveOperation(java.lang.Object value)
          Constructor.
RemoveOperation(java.lang.Object value, boolean allowCascadeDelete)
          Constructor, specifying whether cascade delete should be allowed.
 
Method Summary
 void perform(Store store, StateManager sm)
          Perform the remove(Object) operation on the specified container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveOperation

public RemoveOperation(java.lang.Object value)
Constructor.

Parameters:
value - The value to remove

RemoveOperation

public RemoveOperation(java.lang.Object value,
                       boolean allowCascadeDelete)
Constructor, specifying whether cascade delete should be allowed.

Parameters:
value - The value to remove
allowCascadeDelete - Whether to allow cascade delete
Method Detail

perform

public void perform(Store store,
                    StateManager sm)
Perform the remove(Object) operation on the specified container.

Specified by:
perform in interface QueuedOperation
Parameters:
store - The backing store to perform it on
sm - StateManager for the owner of the container


Copyright © 2010. All Rights Reserved.