Interface IDBDatabase

  • All Superinterfaces:
    org.teavm.jso.dom.events.EventTarget, org.teavm.jso.JSObject

    public interface IDBDatabase
    extends org.teavm.jso.dom.events.EventTarget
    • Field Detail

      • TRANSACTION_READONLY

        static final java.lang.String TRANSACTION_READONLY
        See Also:
        Constant Field Values
      • TRANSACTION_READWRITE

        static final java.lang.String TRANSACTION_READWRITE
        See Also:
        Constant Field Values
      • TRANSACTION_VERSIONCHANGE

        static final java.lang.String TRANSACTION_VERSIONCHANGE
        See Also:
        Constant Field Values
    • Method Detail

      • getName

        java.lang.String getName()
      • getVersion

        int getVersion()
      • getObjectStoreNames

        java.lang.String[] getObjectStoreNames()
      • createObjectStore

        IDBObjectStore createObjectStore​(java.lang.String name)
      • deleteObjectStore

        void deleteObjectStore​(java.lang.String name)
      • transaction

        IDBTransaction transaction​(java.lang.String storeName,
                                   java.lang.String transactionMode)
      • transaction

        IDBTransaction transaction​(java.lang.String storeName)
      • transaction

        IDBTransaction transaction​(java.lang.String[] storeNames,
                                   java.lang.String transactionMode)
      • transaction

        IDBTransaction transaction​(java.lang.String[] storeNames)
      • close

        void close()
      • setOnVersionChange

        void setOnVersionChange​(EventHandler handler)