Extends
Members
attributeId :string
Type:
- string
- Source:
isInheritable :boolean
Type:
- boolean
- Source:
name :string
Type:
- string
- Source:
noteId :string
Type:
- string
- Source:
position :int
Type:
- int
- Source:
type :string
Type:
- string
- Source:
utcDateModified :string
Type:
- string
- Source:
value :string
Type:
- string
- Source:
Methods
getNote() → {Note|null}
- Source:
Returns:
- Type
- Note | null
getTargetNote() → {Note|null}
- Source:
Returns:
- Type
- Note | null
isDefinition() → {boolean}
- Source:
Returns:
- Type
- boolean
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