Class C4Document

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class C4Document
    extends C4NativePeer
    • Method Detail

      • getFlags

        public int getFlags()
      • getDocID

        @Nullable
        public java.lang.String getDocID()
      • getRevID

        @Nullable
        public java.lang.String getRevID()
      • getSequence

        public long getSequence()
      • getSelectedRevID

        @Nullable
        public java.lang.String getSelectedRevID()
      • getSelectedSequence

        public long getSelectedSequence()
      • getSelectedBody2

        @Nullable
        public FLDict getSelectedBody2()
      • getSelectedFlags

        public int getSelectedFlags()
      • selectNextRevision

        public boolean selectNextRevision()
      • resolveConflict

        public void resolveConflict​(java.lang.String winningRevID,
                                    java.lang.String losingRevID,
                                    byte[] mergeBody,
                                    int mergedFlags)
                             throws LiteCoreException
        Throws:
        LiteCoreException
      • deleted

        public boolean deleted()
      • exists

        public boolean exists()
      • isSelectedRevFlags

        public boolean isSelectedRevFlags​(int flag)
      • close

        @CallSuper
        public void close()