public class IDBTransaction extends EventTarget
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<IDBDatabase> |
db |
Objs.Property<DOMError> |
error |
Objs.Property<String> |
mode |
Objs.Property<Function.A1<? super Event,? extends Object>> |
onabort |
Objs.Property<Function.A1<? super Event,? extends Object>> |
oncomplete |
Objs.Property<Function.A1<? super Event,? extends Object>> |
onerror |
Objs.Property<String> |
READ_ONLY |
Objs.Property<String> |
READ_WRITE |
Objs.Property<String> |
VERSION_CHANGE |
Modifier | Constructor and Description |
---|---|
protected |
IDBTransaction(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static IDBTransaction |
$as(Object obj) |
void |
abort() |
void |
addEventListener(String type,
EventListener listener) |
void |
addEventListener(String type,
EventListener listener,
Boolean useCapture) |
void |
addEventListener(String type,
EventListenerObject listener) |
void |
addEventListener(String type,
EventListenerObject listener,
Boolean useCapture) |
void |
addEventListener(Void type,
Function.A1<? super ErrorEvent,? extends Object> listener) |
void |
addEventListener(Void type,
Function.A1<? super ErrorEvent,? extends Object> listener,
Boolean useCapture) |
IDBDatabase |
db() |
DOMError |
error() |
String |
mode() |
IDBObjectStore |
objectStore(String name) |
Function.A1<? super Event,? extends Object> |
onabort() |
Function.A1<? super Event,? extends Object> |
oncomplete() |
Function.A1<? super Event,? extends Object> |
onerror() |
String |
READ_ONLY() |
String |
READ_WRITE() |
String |
VERSION_CHANGE() |
dispatchEvent, removeEventListener, removeEventListener, removeEventListener, removeEventListener
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public Objs.Property<IDBDatabase> db
public Objs.Property<DOMError> error
public Objs.Property<String> mode
public Objs.Property<Function.A1<? super Event,? extends Object>> onabort
public Objs.Property<Function.A1<? super Event,? extends Object>> oncomplete
public Objs.Property<Function.A1<? super Event,? extends Object>> onerror
public Objs.Property<String> READ_ONLY
public Objs.Property<String> READ_WRITE
public Objs.Property<String> VERSION_CHANGE
protected IDBTransaction(Objs.Constructor<?> c, Object js)
public static IDBTransaction $as(Object obj)
public IDBDatabase db()
public DOMError error()
public String mode()
public Function.A1<? super Event,? extends Object> onabort()
public Function.A1<? super Event,? extends Object> oncomplete()
public Function.A1<? super Event,? extends Object> onerror()
public String READ_ONLY()
public String READ_WRITE()
public String VERSION_CHANGE()
public void abort()
public void addEventListener(String type, EventListener listener, Boolean useCapture)
addEventListener
in class EventTarget
public void addEventListener(String type, EventListenerObject listener, Boolean useCapture)
addEventListener
in class EventTarget
public void addEventListener(String type, EventListener listener)
addEventListener
in class EventTarget
public void addEventListener(String type, EventListenerObject listener)
addEventListener
in class EventTarget
public void addEventListener(Void type, Function.A1<? super ErrorEvent,? extends Object> listener, Boolean useCapture)
public void addEventListener(Void type, Function.A1<? super ErrorEvent,? extends Object> listener)
public IDBObjectStore objectStore(String name)
Copyright © 2018. All rights reserved.