Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WAKData

Hierarchy

Index

Properties

ds

References the datastore of the application.

model

model: WakModel

References the model object of the application

Methods

backupDataStore

compactDataStore

getBackupRegistry

  • Returns an Array that lists the 20 most recent backup manifests recorded in the specified backup registry.

    Parameters

    Returns Array<Object>

getBackupSettings

  • getBackupSettings(): Object
  • Returns an Object containing the default backup settings for the solution.

    Returns Object

getJournalInfo

  • getJournalInfo(dataFile: WAKFileInstance, options?: Object): Object
  • getJournalInfo(dataFile: String, options?: Object): Object
  • Returns information about the journal of the datastore whose data file you passed in dataFile.

    Parameters

    Returns Object

  • Returns information about the journal of the datastore whose data file you passed in dataFile.

    Parameters

    • dataFile: String
    • Optional options: Object

    Returns Object

getLastBackups

  • getLastBackups(): Array<Object>
  • Returns an Array that lists the 20 most recent backup manifests recorded in the backup registry default folder of the application.

    Returns Array<Object>

integrateDataStoreJournal

repairDataStore

resetDataStoreJournal

  • resetDataStoreJournal(dataFile: WAKFileInstance): Object
  • resetDataStoreJournal(dataFile: String): Object
  • Resets the current journal of the datastore whose data file you passed in dataFile.

    Parameters

    Returns Object

  • Resets the current journal of the datastore whose data file you passed in dataFile.

    Parameters

    • dataFile: String

    Returns Object

restoreDataStore

  • restoreDataStore(manifest: WAKFileInstance, restoreFolder: WAKFolderInstance, options?: Object): Object
  • restoreDataStore(config: Object, options?: Object): Object
  • Allows you to restore a data folder previously archived.

    Parameters

    Returns Object

  • Allows you to restore a data folder previously archived.

    Parameters

    • config: Object
    • Optional options: Object

    Returns Object

verifyDataStore