org.cumulus4j.store.datastoreversion
Class DatastoreVersionManager
java.lang.Object
org.cumulus4j.store.datastoreversion.DatastoreVersionManager
public class DatastoreVersionManager
- extends Object
- Author:
- Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de
Method Summary |
protected void |
apply(CryptoContext cryptoContext,
int keyStoreRefID)
|
void |
applyOnce(CryptoContext cryptoContext)
|
protected void |
applyOneCommand(CryptoContext cryptoContext,
int keyStoreRefID,
PersistenceManager pm,
DatastoreVersionDAO datastoreVersionDAO,
Map<String,DatastoreVersion> datastoreVersionID2DatastoreVersionMap,
DatastoreVersionCommand datastoreVersionCommand)
|
protected Map<String,DatastoreVersion> |
check(CryptoContext cryptoContext,
int keyStoreRefID,
PersistenceManager pm,
DatastoreVersionDAO datastoreVersionDAO,
List<DatastoreVersionCommand> datastoreVersionCommands)
|
protected List<DatastoreVersionCommand> |
createDatastoreVersionCommands()
|
protected DatastoreVersion |
detachDatastoreVersion(PersistenceManager pm,
DatastoreVersion attached)
|
protected Map<String,DatastoreVersion> |
detachDatastoreVersionID2DatastoreVersionMap(CryptoContext cryptoContext,
PersistenceManager pm,
Map<String,DatastoreVersion> datastoreVersionID2DatastoreVersionMap)
|
protected boolean |
isDatastoreVersionCommandEnabled(CryptoContext cryptoContext,
DatastoreVersionCommand datastoreVersionCommand)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MANAGER_VERSION
public static final int MANAGER_VERSION
- See Also:
- Constant Field Values
DatastoreVersionManager
public DatastoreVersionManager(Cumulus4jStoreManager storeManager)
applyOnce
public void applyOnce(CryptoContext cryptoContext)
apply
protected void apply(CryptoContext cryptoContext,
int keyStoreRefID)
isDatastoreVersionCommandEnabled
protected boolean isDatastoreVersionCommandEnabled(CryptoContext cryptoContext,
DatastoreVersionCommand datastoreVersionCommand)
createDatastoreVersionCommands
protected List<DatastoreVersionCommand> createDatastoreVersionCommands()
check
protected Map<String,DatastoreVersion> check(CryptoContext cryptoContext,
int keyStoreRefID,
PersistenceManager pm,
DatastoreVersionDAO datastoreVersionDAO,
List<DatastoreVersionCommand> datastoreVersionCommands)
applyOneCommand
protected void applyOneCommand(CryptoContext cryptoContext,
int keyStoreRefID,
PersistenceManager pm,
DatastoreVersionDAO datastoreVersionDAO,
Map<String,DatastoreVersion> datastoreVersionID2DatastoreVersionMap,
DatastoreVersionCommand datastoreVersionCommand)
throws Exception
- Throws:
Exception
detachDatastoreVersion
protected DatastoreVersion detachDatastoreVersion(PersistenceManager pm,
DatastoreVersion attached)
detachDatastoreVersionID2DatastoreVersionMap
protected Map<String,DatastoreVersion> detachDatastoreVersionID2DatastoreVersionMap(CryptoContext cryptoContext,
PersistenceManager pm,
Map<String,DatastoreVersion> datastoreVersionID2DatastoreVersionMap)
Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.