
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, setZoomAndPanat, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAtcast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toStringintAt, lengthnumberAtpublic final String getLastErrorMessage()
getLastErrorMessage in interface DatabaseSyncpublic final String getVersion()
DatabaseSyncgetVersion in interface DatabaseSyncpublic final void changeVersion(String oldVersion, String newVersion)
changeVersion in interface DatabaseSyncpublic final void changeVersion(String oldVersion, String newVersion, SQLTransactionSyncCallback callback)
changeVersion in interface DatabaseSyncpublic final void readTransaction(SQLTransactionSyncCallback callback)
readTransaction in interface DatabaseSyncpublic final void transaction(SQLTransactionSyncCallback callback)
DatabaseSyncCreates 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.IDBTransactionSyncThis method can raise an IDBDatabaseException with the following code:
TIMEOUT_ERRstoreNames takes longer than the timeout interval.transaction in interface DatabaseSyncCopyright © 2016. All rights reserved.