public class IDBDatabase
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
IDBDatabase.OnabortFn |
static interface |
IDBDatabase.OncloseFn |
static interface |
IDBDatabase.OnerrorFn |
static interface |
IDBDatabase.OnversionchangeFn |
static interface |
IDBDatabase.TransactionStoreNamesUnionType |
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
name |
DOMStringList |
objectStoreNames |
IDBDatabase.OnabortFn |
onabort |
IDBDatabase.OncloseFn |
onclose |
IDBDatabase.OnerrorFn |
onerror |
IDBDatabase.OnversionchangeFn |
onversionchange |
double |
version |
| Constructor and Description |
|---|
IDBDatabase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEventListener(java.lang.String type,
EventListener listener) |
void |
addEventListener(java.lang.String type,
EventListener listener,
EventTarget.AddEventListenerOptionsUnionType options) |
void |
close() |
IDBObjectStore |
createObjectStore(java.lang.String name) |
IDBObjectStore |
createObjectStore(java.lang.String name,
IDBObjectStoreParameters parameters) |
void |
deleteObjectStore(java.lang.String name) |
boolean |
dispatchEvent(Event evt) |
void |
removeEventListener(java.lang.String type,
EventListener listener) |
void |
removeEventListener(java.lang.String type,
EventListener listener,
EventTarget.RemoveEventListenerOptionsUnionType options) |
IDBTransaction |
transaction(<any> storeNames) |
IDBTransaction |
transaction(<any> storeNames,
java.lang.String mode) |
IDBTransaction |
transaction(DOMStringList storeNames) |
IDBTransaction |
transaction(DOMStringList storeNames,
java.lang.String mode) |
public java.lang.String name
public DOMStringList objectStoreNames
public IDBDatabase.OnabortFn onabort
public IDBDatabase.OncloseFn onclose
public IDBDatabase.OnerrorFn onerror
public IDBDatabase.OnversionchangeFn onversionchange
public double version
public void addEventListener(java.lang.String type,
EventListener listener,
EventTarget.AddEventListenerOptionsUnionType options)
public void addEventListener(java.lang.String type,
EventListener listener)
public void close()
public IDBObjectStore createObjectStore(java.lang.String name, IDBObjectStoreParameters parameters)
public IDBObjectStore createObjectStore(java.lang.String name)
public void deleteObjectStore(java.lang.String name)
public boolean dispatchEvent(Event evt)
public void removeEventListener(java.lang.String type,
EventListener listener,
EventTarget.RemoveEventListenerOptionsUnionType options)
public void removeEventListener(java.lang.String type,
EventListener listener)
public final IDBTransaction transaction(DOMStringList storeNames, java.lang.String mode)
public final IDBTransaction transaction(DOMStringList storeNames)
public final IDBTransaction transaction(<any> storeNames, java.lang.String mode)
public final IDBTransaction transaction(<any> storeNames)