org.datanucleus.store.mapped.scostore
Interface AbstractListStoreSpecialization

All Superinterfaces:
AbstractCollectionStoreSpecialization, ElementContainerStoreSpecialization
All Known Subinterfaces:
FKListStoreSpecialization, JoinListStoreSpecialization

public interface AbstractListStoreSpecialization
extends AbstractCollectionStoreSpecialization

Specialization interface for AbstractListStore. AbstractListStore delegates to instances of this interface for behavior that is tied to a specific datastore implementation.


Method Summary
 int[] getIndicesOf(StateManager sm, java.util.Collection elements, ElementContainerStore ecs)
           
 int indexOf(StateManager sm, java.lang.Object element, ElementContainerStore ecs)
           
 int[] internalShift(StateManager ownerSM, ManagedConnection conn, boolean batched, int oldIndex, int amount, boolean executeNow, ElementContainerStore ecs)
           
 int lastIndexOf(StateManager sm, java.lang.Object element, ElementContainerStore ecs)
           
 
Methods inherited from interface org.datanucleus.store.mapped.scostore.AbstractCollectionStoreSpecialization
contains, internalRemove, updateEmbeddedElement
 
Methods inherited from interface org.datanucleus.store.mapped.scostore.ElementContainerStoreSpecialization
executeClear, getSize
 

Method Detail

indexOf

int indexOf(StateManager sm,
            java.lang.Object element,
            ElementContainerStore ecs)

lastIndexOf

int lastIndexOf(StateManager sm,
                java.lang.Object element,
                ElementContainerStore ecs)

getIndicesOf

int[] getIndicesOf(StateManager sm,
                   java.util.Collection elements,
                   ElementContainerStore ecs)

internalShift

int[] internalShift(StateManager ownerSM,
                    ManagedConnection conn,
                    boolean batched,
                    int oldIndex,
                    int amount,
                    boolean executeNow,
                    ElementContainerStore ecs)
                    throws MappedDatastoreException
Throws:
MappedDatastoreException


Copyright © 2010. All Rights Reserved.