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 Constructor Description MorphiumStorageAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpostDrop(Morphium m, Class<? extends T> cls)voidpostLoad(Morphium m, List<T> o)voidpostLoad(Morphium m, T o)voidpostRemove(Morphium m, Query<T> q)voidpostRemove(Morphium m, List<T> toRemove)voidpostRemove(Morphium m, T r)voidpostStore(Morphium m, Map<T,Boolean> isNew)voidpostStore(Morphium m, T r, boolean isNew)voidpostUpdate(Morphium m, Class<? extends T> cls, Enum updateType)voidpreDrop(Morphium m, Class<? extends T> cls)voidpreRemove(Morphium m, Query<T> q)voidpreRemove(Morphium m, T r)voidpreStore(Morphium m, Map<T,Boolean> isNew)voidpreStore(Morphium m, T r, boolean isNew)voidpreUpdate(Morphium m, Class<? extends T> cls, Enum updateType)
-
-
-
Method Detail
-
preStore
public void preStore(Morphium m, Map<T,Boolean> isNew) throws MorphiumAccessVetoException
- Specified by:
preStorein interfaceMorphiumStorageListener<T>- Throws:
MorphiumAccessVetoException
-
preStore
public void preStore(Morphium m, T r, boolean isNew) throws MorphiumAccessVetoException
- Specified by:
preStorein interfaceMorphiumStorageListener<T>- Throws:
MorphiumAccessVetoException
-
preDrop
public void preDrop(Morphium m, Class<? extends T> cls) throws MorphiumAccessVetoException
- Specified by:
preDropin interfaceMorphiumStorageListener<T>- Throws:
MorphiumAccessVetoException
-
preRemove
public void preRemove(Morphium m, Query<T> q) throws MorphiumAccessVetoException
- 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
public void postStore(Morphium m, Map<T,Boolean> isNew)
- Specified by:
postStorein interfaceMorphiumStorageListener<T>
-
postLoad
public void postLoad(Morphium m, List<T> o)
- Specified by:
postLoadin interfaceMorphiumStorageListener<T>
-
postRemove
public void postRemove(Morphium m, List<T> toRemove)
- Specified by:
postRemovein interfaceMorphiumStorageListener<T>
-
postStore
public void postStore(Morphium m, T r, boolean isNew)
- Specified by:
postStorein interfaceMorphiumStorageListener<T>
-
postRemove
public void postRemove(Morphium m, T r)
- Specified by:
postRemovein interfaceMorphiumStorageListener<T>
-
preRemove
public void preRemove(Morphium m, T r)
- Specified by:
preRemovein interfaceMorphiumStorageListener<T>
-
postDrop
public void postDrop(Morphium m, Class<? extends T> cls)
- Specified by:
postDropin interfaceMorphiumStorageListener<T>
-
postRemove
public void postRemove(Morphium m, Query<T> q)
- Specified by:
postRemovein interfaceMorphiumStorageListener<T>
-
postLoad
public void postLoad(Morphium m, T o)
- Specified by:
postLoadin interfaceMorphiumStorageListener<T>
-
postUpdate
public void postUpdate(Morphium m, Class<? extends T> cls, Enum updateType)
- Specified by:
postUpdatein interfaceMorphiumStorageListener<T>
-
-