org.cumulus4j.store.datastoreversion.command
Class IntroduceKeyStoreRefID
java.lang.Object
org.cumulus4j.store.datastoreversion.AbstractDatastoreVersionCommand
org.cumulus4j.store.datastoreversion.command.IntroduceKeyStoreRefID
- All Implemented Interfaces:
- DatastoreVersionCommand
public class IntroduceKeyStoreRefID
- extends AbstractDatastoreVersionCommand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntroduceKeyStoreRefID
public IntroduceKeyStoreRefID()
getCommandVersion
public int getCommandVersion()
- Description copied from interface:
DatastoreVersionCommand
- Get the version of this command.
This version must be incremented, if this command is modified!
Note, that a final
command cannot be modified!!! You can only modify a final command
if this command was newly introduced in the current SNAPSHOT. Never modify a command after it
was released!!!
- Returns:
- the version of this command.
apply
public void apply(CommandApplyParam commandApplyParam)
- Description copied from interface:
DatastoreVersionCommand
- Perform the upgrade or do whatever this command has to do.
- Parameters:
commandApplyParam
- various arguments bundled for better compatibility with future extensions. Never null
.
applyToData
protected void applyToData(CommandApplyParam commandApplyParam,
PersistenceManager pm)
applyToIndex
protected void applyToIndex(CommandApplyParam commandApplyParam,
PersistenceManager pm)
getAll
protected <T> Collection<T> getAll(PersistenceManager pm,
Class<T> entityClass)
getIndexEntryClasses
protected Set<Class<? extends IndexEntry>> getIndexEntryClasses()
Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.