Class: Option

Option()

Option represents name-value pair, either directly configurable by the user or some system property.

Constructor

new Option()

Source:

Extends

Members

(protected) becca

Overrides:
Source:

isSynced :boolean

Type:
  • boolean
Source:

name :string

Type:
  • string
Source:

utcDateModified :string

Type:
  • string
Source:

value :string

Type:
  • string
Source:

Methods

(protected) addEntityChange()

Overrides:
Source:

(protected) beforeSaving()

Overrides:
Source:

(protected) generateHash()

Overrides:
Source:

(protected) generateIdIfNecessary()

Overrides:
Source:

(protected) getPojoToSave()

Overrides:
Source:

(protected) getUtcDateChanged()

Overrides:
Source:

markAsDeleted(deleteIdopt)

Mark the entity as (soft) deleted. It will be completely erased later. This is a low level method, for notes and branches use `note.deleteNote()` and 'branch.deleteBranch()` instead.
Parameters:
Name Type Attributes Default Description
deleteId <optional>
null
Overrides:
Source:

save() → {AbstractEntity}

Saves entity - executes SQL, but doesn't commit the transaction on its own
Overrides:
Source:
Returns:
Type
AbstractEntity