com.worklight.jsonstore.api

Class JSONStoreReplaceOptions

  • java.lang.Object
    • com.worklight.jsonstore.api.JSONStoreReplaceOptions


  • public class JSONStoreReplaceOptions
    extends java.lang.Object
    Options that are used to modify the replace operation in JSONStoreCollection.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean isMarkDirty()
      Determine if the mark dirty flag is set or not.
      void setMarkDirty(boolean mark_dirty)
      Enable or disable the mark dirty flag.
      • Methods inherited from class java.lang.Object

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

      • JSONStoreReplaceOptions

        public JSONStoreReplaceOptions()
    • Method Detail

      • setMarkDirty

        public void setMarkDirty(boolean mark_dirty)
        Enable or disable the mark dirty flag.
        Parameters:
        mark_dirty - If true, the document that is added will be marked dirty when replaced.
      • isMarkDirty

        public boolean isMarkDirty()
        Determine if the mark dirty flag is set or not.
        Returns:
        True if the setMarkDirty method has been called to mark the document dirty when replaced.
        See Also:
        JSONStoreReplaceOptions.setMarkDirty(boolean)


© Copyright IBM Corp. 2006, 2015. All Rights Reserved.