Class InsertContentCallback

  • All Implemented Interfaces:
    XccCallback<java.lang.Void>

    public class InsertContentCallback
    extends java.lang.Object
    implements XccCallback<java.lang.Void>
    Simple callback for inserting a single document.
    • Constructor Summary

      Constructors 
      Constructor Description
      InsertContentCallback​(java.lang.String uri, java.io.File file, com.marklogic.xcc.DocumentFormat format)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Void execute​(com.marklogic.xcc.Session session)  
      • Methods inherited from class java.lang.Object

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

      • InsertContentCallback

        public InsertContentCallback​(java.lang.String uri,
                                     java.io.File file,
                                     com.marklogic.xcc.DocumentFormat format)
    • Method Detail

      • execute

        public java.lang.Void execute​(com.marklogic.xcc.Session session)
                               throws com.marklogic.xcc.exceptions.RequestException
        Specified by:
        execute in interface XccCallback<java.lang.Void>
        Throws:
        com.marklogic.xcc.exceptions.RequestException