Package de.caluga.morphium
Class MorphiumStorageAdapter<T>
java.lang.Object
de.caluga.morphium.MorphiumStorageAdapter<T>
- All Implemented Interfaces:
MorphiumStorageListener<T>
- Direct Known Subclasses:
JavaxValidationStorageListener
public abstract class MorphiumStorageAdapter<T>
extends Object
implements MorphiumStorageListener<T>
User: Stephan Bösebeck
Date: 06.03.13
Time: 08:13
the adapter for the storage listener
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.caluga.morphium.MorphiumStorageListener
MorphiumStorageListener.UpdateTypes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidpostRemove(Morphium m, Query<T> q) voidpostRemove(Morphium m, List<T> toRemove) voidpostRemove(Morphium m, T r) voidvoidvoidpostUpdate(Morphium m, Class<? extends T> cls, Enum updateType) voidvoidvoidvoidvoidvoid
-
Constructor Details
-
MorphiumStorageAdapter
public MorphiumStorageAdapter()
-
-
Method Details
-
preStore
- Specified by:
preStorein interfaceMorphiumStorageListener<T>- Throws:
MorphiumAccessVetoException
-
preStore
- Specified by:
preStorein interfaceMorphiumStorageListener<T>- Throws:
MorphiumAccessVetoException
-
preDrop
- Specified by:
preDropin interfaceMorphiumStorageListener<T>- Throws:
MorphiumAccessVetoException
-
preRemove
- Specified by:
preRemovein interfaceMorphiumStorageListener<T>- Throws:
MorphiumAccessVetoException
-
preUpdate
public void preUpdate(Morphium m, Class<? extends T> cls, Enum updateType) throws MorphiumAccessVetoException - Specified by:
preUpdatein interfaceMorphiumStorageListener<T>- Throws:
MorphiumAccessVetoException
-
postStore
- Specified by:
postStorein interfaceMorphiumStorageListener<T>
-
postLoad
- Specified by:
postLoadin interfaceMorphiumStorageListener<T>
-
postRemove
- Specified by:
postRemovein interfaceMorphiumStorageListener<T>
-
postStore
- Specified by:
postStorein interfaceMorphiumStorageListener<T>
-
postRemove
- Specified by:
postRemovein interfaceMorphiumStorageListener<T>
-
preRemove
- Specified by:
preRemovein interfaceMorphiumStorageListener<T>
-
postDrop
- Specified by:
postDropin interfaceMorphiumStorageListener<T>
-
postRemove
- Specified by:
postRemovein interfaceMorphiumStorageListener<T>
-
postLoad
- Specified by:
postLoadin interfaceMorphiumStorageListener<T>
-
postUpdate
- Specified by:
postUpdatein interfaceMorphiumStorageListener<T>
-