src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
function (bDeserialize) {
				var self = this, oItem,
					sMsrDeserialize = "[sync ] _getAll: deserialize";

				return new Promise(function (resolve, reject) {
					var entries = [],
						transaction = self._db.transaction([self.defaultOptions._contentStoreName], "readonly"),
						objectStore = transaction.objectStore(self.defaultOptions._contentStoreName);

					transaction.onerror = function (event) {
						reject(collectErrorData(event));
					};

					transaction.oncomplete = function (event) {
						resolve(entries);
					};

					objectStore.openCursor().onsuccess = function (event) {
						var cursor = event.target.result;
						if (cursor && cursor.value) { //cursor.value is ItemData
							oItem = new Item(cursor.value, sMsrDeserialize, sMsrCatGet).deserialize();
							entries.push({
								key: oItem.oData.key,
								value: oItem.oData.value
							});
							cursor.continue();
						}
					};
				});
			}
function (bDeserialize) {
				var self = this, oItem,
					sMsrDeserialize = "[sync ] _getAll: deserialize";

				return new Promise(function (resolve, reject) {
					var entries = [],
						transaction = self._db.transaction([self.defaultOptions._contentStoreName], "readonly"),
						objectStore = transaction.objectStore(self.defaultOptions._contentStoreName);

					transaction.onerror = function (event) {
						reject(collectErrorData(event));
					};

					transaction.oncomplete = function (event) {
						resolve(entries);
					};

					objectStore.openCursor().onsuccess = function (event) {
						var cursor = event.target.result;
						if (cursor && cursor.value) { //cursor.value is ItemData
							oItem = new Item(cursor.value, sMsrDeserialize, sMsrCatGet).deserialize();
							entries.push({
								key: oItem.oData.key,
								value: oItem.oData.value
							});
							cursor.continue();
						}
					};
				});
			}
function ( bDeserialize ) { var self = this , oItem , sMsrDeserialize = "[sync ] _getAll: deserialize" ; return new Promise ( function ( resolve , reject ) { var entries = [ ] , transaction = self . _db . transaction ( [ self . defaultOptions . _contentStoreName ] , "readonly" ) , objectStore = transaction . objectStore ( self . defaultOptions . _contentStoreName ) ; transaction . onerror = function ( event ) { reject ( collectErrorData ( event ) ) ; } ; transaction . oncomplete = function ( event ) { resolve ( entries ) ; } ; objectStore . openCursor ( ) . onsuccess = function ( event ) { var cursor = event . target . result ; if ( cursor && cursor . value ) { //cursor.value is ItemData oItem = new Item ( cursor . value , sMsrDeserialize , sMsrCatGet ) . deserialize ( ) ; entries . push ( { key : oItem . oData . key , value : oItem . oData . value } ) ; cursor . continue ( ) ; } } ; } ) ; }
Retrieves all items.
@param {boolean} bDeserialize  whether to deserialize the content or not
@returns {Promise} a promise that would be resolved in case of successful operation or rejected with
value of the error message if the operation fails. When resolved the Promise will return the array of all
entries in the following format: <code>{key: <myKey>, value: <myValue>}</code>
@private
Retrieves all items .