/**
 *
 *  CS3283/4 storage.js
 *  This class acts as a facade for other developers to access to the database.
 *  The implementation is a non-SQL local storage to support the WebApp.
 *
 */

import entitiesCreator from './create/entitiesCreator';

import query from './retrieve/query'; // for debugging

export default class storage {
  static constructor() {}

  static initializeDatabase() {
    entitiesCreator.createUserTable();
    entitiesCreator.createOrganizationTable();
    entitiesCreator.createFolderTable();
    entitiesCreator.createFileManagerTable();
    query.getFullTableData('user');
  }


@@ -602,8 +602,266 @@
 );%0A  %7D%0A%0A
+  static getList(folderID, callback) %7B%0A%0A  %7D%0A%0A  static loadFile(fileID) %7B%0A%0A  %7D%0A%0A  static saveFile(fileID, file) %7B%0A%0A  %7D%0A%0A  static createFile() %7B%0A%0A  %7D%0A%0A  static deleteFile(fileID) %7B%0A%0A  %7D%0A%0A  static createFolder() %7B%0A%0A  %7D%0A%0A  static deleteFolder(folderID) %7B%0A%0A  %7D%0A%7D%0A

Add empty functions in storage.js for API