Class CascadeCallback
- java.lang.Object
-
- co.mastermindcms.common.extensions.mongodb.CascadeCallback
-
- All Implemented Interfaces:
org.springframework.util.ReflectionUtils.FieldCallback
public class CascadeCallback 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 CascadeCallback(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)
private org.springframework.data.mongodb.core.MongoOperations
getMongoOperations()
private java.lang.Object
getSource()
private void
setMongoOperations(org.springframework.data.mongodb.core.MongoOperations mongoOperations)
void
setSource(java.lang.Object source)
-
-
-
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
-
getSource
private java.lang.Object getSource()
-
setSource
public void setSource(java.lang.Object source)
-
getMongoOperations
private org.springframework.data.mongodb.core.MongoOperations getMongoOperations()
-
setMongoOperations
private void setMongoOperations(org.springframework.data.mongodb.core.MongoOperations mongoOperations)
-
-