net.sf.farrago.catalog
Class FarragoTransientStorage.MVIndex

java.lang.Object
  extended by org.netbeans.mdr.persistence.memoryimpl.MultivaluedIndexImpl
      extended by org.netbeans.mdr.persistence.memoryimpl.MultivaluedOrderedIndexImpl
          extended by net.sf.farrago.catalog.FarragoTransientStorage.MVIndex
All Implemented Interfaces:
FarragoTransientStorage.TxnIndex, org.netbeans.mdr.persistence.Index, org.netbeans.mdr.persistence.MultivaluedIndex, org.netbeans.mdr.persistence.MultivaluedOrderedIndex, org.netbeans.mdr.persistence.Streamable
Enclosing class:
FarragoTransientStorage

private static class FarragoTransientStorage.MVIndex
extends org.netbeans.mdr.persistence.memoryimpl.MultivaluedOrderedIndexImpl
implements FarragoTransientStorage.TxnIndex


Field Summary
 
Fields inherited from class org.netbeans.mdr.persistence.memoryimpl.MultivaluedIndexImpl
entries, keyType, name, storage, transLog, unique, valueType
 
Constructor Summary
FarragoTransientStorage.MVIndex(String name, org.netbeans.mdr.persistence.memoryimpl.StorageImpl storage, org.netbeans.mdr.persistence.Storage.EntryType keyType, org.netbeans.mdr.persistence.Storage.EntryType valueType, boolean unique)
           
 
Method Summary
 void commitChangesPublic()
           
 void rollBackChangesPublic()
           
 
Methods inherited from class org.netbeans.mdr.persistence.memoryimpl.MultivaluedOrderedIndexImpl
add, getItemsOrdered, getObjectsOrdered, remove, replace
 
Methods inherited from class org.netbeans.mdr.persistence.memoryimpl.MultivaluedIndexImpl
add, changed, commitChanges, createValueAlreadyContainedExc, getItems, getKeyType, getName, getObjects, getValueType, isUnique, isUniqueValue, keySet, queryByKeyPrefix, read, remove, remove, rollBackChanges, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.netbeans.mdr.persistence.MultivaluedIndex
getItems, getObjects, isUnique, queryByKeyPrefix, remove
 
Methods inherited from interface org.netbeans.mdr.persistence.Index
add, getKeyType, getName, getValueType, keySet, remove
 
Methods inherited from interface org.netbeans.mdr.persistence.Streamable
read, write
 

Constructor Detail

FarragoTransientStorage.MVIndex

public FarragoTransientStorage.MVIndex(String name,
                                       org.netbeans.mdr.persistence.memoryimpl.StorageImpl storage,
                                       org.netbeans.mdr.persistence.Storage.EntryType keyType,
                                       org.netbeans.mdr.persistence.Storage.EntryType valueType,
                                       boolean unique)
Method Detail

commitChangesPublic

public void commitChangesPublic()
                         throws org.netbeans.mdr.persistence.StorageException
Specified by:
commitChangesPublic in interface FarragoTransientStorage.TxnIndex
Throws:
org.netbeans.mdr.persistence.StorageException

rollBackChangesPublic

public void rollBackChangesPublic()
                           throws org.netbeans.mdr.persistence.StorageException
Specified by:
rollBackChangesPublic in interface FarragoTransientStorage.TxnIndex
Throws:
org.netbeans.mdr.persistence.StorageException