public class JsDatabaseSync extends JsElementalMixinBase implements DatabaseSync
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN
Modifier | Constructor and Description |
---|---|
protected |
JsDatabaseSync() |
Modifier and Type | Method and Description |
---|---|
void |
changeVersion(String oldVersion,
String newVersion) |
void |
changeVersion(String oldVersion,
String newVersion,
SQLTransactionSyncCallback callback) |
String |
getLastErrorMessage() |
String |
getVersion()
The version of the connected database.
|
void |
readTransaction(SQLTransactionSyncCallback callback) |
void |
transaction(SQLTransactionSyncCallback callback)
Creates and returns a transaction, acquiring locks on the given database objects, within the specified timeout duration, if possible.
|
addEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
intAt, length
numberAt
public final String getLastErrorMessage()
getLastErrorMessage
in interface DatabaseSync
public final String getVersion()
DatabaseSync
getVersion
in interface DatabaseSync
public final void changeVersion(String oldVersion, String newVersion)
changeVersion
in interface DatabaseSync
public final void changeVersion(String oldVersion, String newVersion, SQLTransactionSyncCallback callback)
changeVersion
in interface DatabaseSync
public final void readTransaction(SQLTransactionSyncCallback callback)
readTransaction
in interface DatabaseSync
public final void transaction(SQLTransactionSyncCallback callback)
DatabaseSync
Creates and returns a transaction, acquiring locks on the given database objects, within the specified timeout duration, if possible.
IDBTransactionSync transaction ( in optional DOMStringList storeNames, in optional unsigned int timeout ) raises (IDBDatabaseException);
storeNames
.IDBTransactionSync
This method can raise an IDBDatabaseException with the following code:
TIMEOUT_ERR
storeNames
takes longer than the timeout
interval.transaction
in interface DatabaseSync
Copyright © 2018. All rights reserved.