Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • source

        private final java.lang.Object source
      • mongoOperations

        private final org.springframework.data.mongodb.core.MongoOperations mongoOperations
    • Constructor Detail

      • CascadeSaveCallback

        public CascadeSaveCallback​(java.lang.Object source,
                                   org.springframework.data.mongodb.core.MongoOperations mongoOperations)
    • Method Detail

      • doWith

        public void doWith​(java.lang.reflect.Field field)
                    throws java.lang.IllegalArgumentException,
                           java.lang.IllegalAccessException
        Specified by:
        doWith in interface org.springframework.util.ReflectionUtils.FieldCallback
        Throws:
        java.lang.IllegalArgumentException
        java.lang.IllegalAccessException