org.datanucleus.store.types.sco.queued
Class AddAtOperation

java.lang.Object
  extended by org.datanucleus.store.types.sco.queued.AddAtOperation
All Implemented Interfaces:
QueuedOperation<ListStore>

public class AddAtOperation
extends java.lang.Object
implements QueuedOperation<ListStore>

Add operation at a position for a list.


Constructor Summary
AddAtOperation(int index, java.lang.Object value)
          Constructor.
 
Method Summary
 void perform(ListStore store, ObjectProvider sm)
          Perform the add(int, Object) operation on the specified list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddAtOperation

public AddAtOperation(int index,
                      java.lang.Object value)
Constructor.

Parameters:
index - The index to add it at
value - The value to add
Method Detail

perform

public void perform(ListStore store,
                    ObjectProvider sm)
Perform the add(int, Object) operation on the specified list.

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


Copyright © 2011. All Rights Reserved.