Class CascadeSaveCallback
- java.lang.Object
-
- co.mastermindcms.common.extensions.mongodb.CascadeSaveCallback
-
- All Implemented Interfaces:
org.springframework.util.ReflectionUtils.FieldCallback
public class CascadeSaveCallback extends java.lang.Object implements org.springframework.util.ReflectionUtils.FieldCallback
-
-
Field Summary
Fields Modifier and Type Field Description private org.springframework.data.mongodb.core.MongoOperations
mongoOperations
private java.lang.Object
source
-
Constructor Summary
Constructors Constructor Description CascadeSaveCallback(java.lang.Object source, org.springframework.data.mongodb.core.MongoOperations mongoOperations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doWith(java.lang.reflect.Field field)
-
-
-
Method Detail
-
doWith
public void doWith(java.lang.reflect.Field field) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException
- Specified by:
doWith
in interfaceorg.springframework.util.ReflectionUtils.FieldCallback
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
-
-