org.cumulus4j.store
Class IndexEntryAction
java.lang.Object
org.cumulus4j.store.IndexEntryAction
public abstract class IndexEntryAction
- extends Object
Logic to add or remove an index entry.
This class is thread-safe. You should normally never need to instantiate this class.
- Author:
- Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de
Method Summary |
protected abstract void |
_perform(CryptoContext cryptoContext,
IndexEntry indexEntry,
long dataEntryID)
|
protected abstract IndexEntry |
getIndexEntry(IndexEntryFactory indexEntryFactory,
CryptoContext cryptoContext,
PersistenceManager pmIndex,
FieldMeta fieldMeta,
ClassMeta classMeta,
Object fieldValue)
|
protected abstract IndexEntry |
getIndexEntryForObjectRelation(CryptoContext cryptoContext,
PersistenceManager pmIndex,
FieldMeta fieldMeta,
ClassMeta classMeta,
Long otherDataEntryID)
|
void |
perform(CryptoContext cryptoContext,
long dataEntryID,
FieldMeta fieldMeta,
AbstractMemberMetaData dnMemberMetaData,
ClassMeta classMeta,
Object fieldValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
persistenceHandler
protected Cumulus4jPersistenceHandler persistenceHandler
storeManager
protected Cumulus4jStoreManager storeManager
encryptionHandler
protected EncryptionHandler encryptionHandler
indexEntryFactoryRegistry
protected IndexEntryFactoryRegistry indexEntryFactoryRegistry
IndexEntryAction
public IndexEntryAction(Cumulus4jPersistenceHandler persistenceHandler)
getIndexEntry
protected abstract IndexEntry getIndexEntry(IndexEntryFactory indexEntryFactory,
CryptoContext cryptoContext,
PersistenceManager pmIndex,
FieldMeta fieldMeta,
ClassMeta classMeta,
Object fieldValue)
getIndexEntryForObjectRelation
protected abstract IndexEntry getIndexEntryForObjectRelation(CryptoContext cryptoContext,
PersistenceManager pmIndex,
FieldMeta fieldMeta,
ClassMeta classMeta,
Long otherDataEntryID)
_perform
protected abstract void _perform(CryptoContext cryptoContext,
IndexEntry indexEntry,
long dataEntryID)
perform
public void perform(CryptoContext cryptoContext,
long dataEntryID,
FieldMeta fieldMeta,
AbstractMemberMetaData dnMemberMetaData,
ClassMeta classMeta,
Object fieldValue)
Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.