2018-08-29 20:44:35 +02:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "utf-8" >
< title > JSDoc: Class: NoteShort< / title >
< script src = "scripts/prettify/prettify.js" > < / script >
< script src = "scripts/prettify/lang-css.js" > < / script >
<!-- [if lt IE 9]>
< script src = "//html5shiv.googlecode.com/svn/trunk/html5.js" > < / script >
<![endif]-->
< link type = "text/css" rel = "stylesheet" href = "styles/prettify-tomorrow.css" >
< link type = "text/css" rel = "stylesheet" href = "styles/jsdoc-default.css" >
< / head >
< body >
< div id = "main" >
< h1 class = "page-title" > Class: NoteShort< / h1 >
< section >
< header >
2021-04-16 22:57:37 +02:00
< h2 > < span class = "attribs" > < span class = "type-signature" > < / span > < / span > NoteShort< span class = "signature" > (froca, row)< / span > < span class = "type-signature" > < / span > < / h2 >
2018-08-29 20:44:35 +02:00
2020-09-30 22:48:30 +02:00
< div class = "class-description" > FIXME: since there's no "full note" anymore we can rename this to Note
2021-04-16 22:57:37 +02:00
This note's representation is used in note tree and is kept in Froca.< / div >
2018-08-29 20:44:35 +02:00
< / header >
< article >
< div class = "container-overview" >
< h2 > Constructor< / h2 >
2021-04-16 22:57:37 +02:00
< h4 class = "name" id = "NoteShort" > < span class = "type-signature" > < / span > new NoteShort< span class = "signature" > (froca, row)< / span > < span class = "type-signature" > < / span > < / h4 >
2018-08-29 20:44:35 +02:00
2019-10-26 10:00:26 +02:00
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
2021-04-16 22:57:37 +02:00
< td class = "name" > < code > froca< / code > < / td >
2019-10-26 10:00:26 +02:00
< td class = "type" >
2021-04-16 22:57:37 +02:00
< span class = "param-type" > Froca< / span >
2019-10-26 10:00:26 +02:00
< / td >
< td class = "description last" > < / td >
< / tr >
< tr >
< td class = "name" > < code > row< / code > < / td >
< td class = "type" >
< span class = "param-type" > Object.< string, Object>< / span >
< / td >
< td class = "description last" > < / td >
< / tr >
< / tbody >
< / table >
2018-08-29 20:44:35 +02:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2021-09-30 12:26:13 +02:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line27" > line 27< / a >
2018-08-29 20:44:35 +02:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-08-29 20:44:35 +02:00
< / div >
< h3 class = "subsection-title" > Members< / h3 >
2020-02-02 11:44:08 +01:00
< h4 class = "name" id = "attributes" > < span class = "type-signature" > < / span > attributes< span class = "type-signature" > :Array.< string>< / span > < / h4 >
2018-08-29 20:44:35 +02:00
2020-02-02 11:44:08 +01:00
< h5 > Type:< / h5 >
< ul >
< li >
< span class = "param-type" > Array.< string>< / span >
< / li >
< / ul >
2018-08-29 20:44:35 +02:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2021-09-30 12:26:13 +02:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line36" > line 36< / a >
2019-10-26 10:00:26 +02:00
< / li > < / ul > < / dd >
< / dl >
< h4 class = "name" id = "children" > < span class = "type-signature" > < / span > children< span class = "type-signature" > :Array.< string>< / span > < / h4 >
< h5 > Type:< / h5 >
< ul >
< li >
< span class = "param-type" > Array.< string>< / span >
< / li >
< / ul >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2021-09-30 12:26:13 +02:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line44" > line 44< / a >
2019-10-26 10:00:26 +02:00
< / li > < / ul > < / dd >
< / dl >
< h4 class = "name" id = "childToBranch" > < span class = "type-signature" > < / span > childToBranch< span class = "type-signature" > :Object.< string, string>< / span > < / h4 >
< h5 > Type:< / h5 >
< ul >
< li >
< span class = "param-type" > Object.< string, string>< / span >
< / li >
< / ul >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2021-09-30 12:26:13 +02:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line50" > line 50< / a >
2019-11-05 21:26:54 +01:00
< / li > < / ul > < / dd >
< / dl >
2021-11-10 21:30:54 +01:00
< h4 class = "name" id = "isProtected" > < span class = "type-signature" > < / span > isProtected< span class = "type-signature" > :boolean< / span > < / h4 >
2019-11-23 22:56:35 +01:00
2021-11-10 21:30:54 +01:00
< h5 > Type:< / h5 >
< ul >
< li >
< span class = "param-type" > boolean< / span >
< / li >
< / ul >
2019-11-23 22:56:35 +01:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2021-09-30 12:26:13 +02:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line61" > line 61< / a >
2019-11-23 22:56:35 +01:00
< / li > < / ul > < / dd >
< / dl >
2021-11-10 21:30:54 +01:00
< h4 class = "name" id = "mime" > < span class = "type-signature" > < / span > mime< span class = "type-signature" > :string< / span > < / h4 >
2019-11-05 21:26:54 +01:00
2021-11-10 21:30:54 +01:00
< div class = "description" >
content-type, e.g. "application/json"
< / div >
< h5 > Type:< / h5 >
< ul >
< li >
< span class = "param-type" > string< / span >
2019-11-05 21:26:54 +01:00
2021-11-10 21:30:54 +01:00
< / li >
< / ul >
2019-11-05 21:26:54 +01:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2021-11-10 21:30:54 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line71" > line 71< / a >
2018-08-29 20:44:35 +02:00
< / li > < / ul > < / dd >
< / dl >
2021-11-10 21:30:54 +01:00
< h4 class = "name" id = "noteId" > < span class = "type-signature" > < / span > noteId< span class = "type-signature" > :string< / span > < / h4 >
2018-08-29 20:44:35 +02:00
2021-11-10 21:30:54 +01:00
< h5 > Type:< / h5 >
< ul >
< li >
< span class = "param-type" > string< / span >
< / li >
< / ul >
2018-08-29 20:44:35 +02:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2021-09-30 12:26:13 +02:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line57" > line 57< / a >
2018-08-29 20:44:35 +02:00
< / li > < / ul > < / dd >
< / dl >
2020-02-02 11:44:08 +01:00
< h4 class = "name" id = "parents" > < span class = "type-signature" > < / span > parents< span class = "type-signature" > :Array.< string>< / span > < / h4 >
2018-08-29 20:44:35 +02:00
2020-02-02 11:44:08 +01:00
< h5 > Type:< / h5 >
< ul >
< li >
2018-08-29 20:44:35 +02:00
2020-02-02 11:44:08 +01:00
< span class = "param-type" > Array.< string>< / span >
2018-08-29 20:44:35 +02:00
2020-02-02 11:44:08 +01:00
< / li >
< / ul >
2018-08-29 20:44:35 +02:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2021-09-30 12:26:13 +02:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line42" > line 42< / a >
2019-10-26 10:00:26 +02:00
< / li > < / ul > < / dd >
< / dl >
2020-02-02 11:44:08 +01:00
< h4 class = "name" id = "parentToBranch" > < span class = "type-signature" > < / span > parentToBranch< span class = "type-signature" > :Object.< string, string>< / span > < / h4 >
2019-10-26 10:00:26 +02:00
< h5 > Type:< / h5 >
< ul >
< li >
2020-02-02 11:44:08 +01:00
< span class = "param-type" > Object.< string, string>< / span >
2019-10-26 10:00:26 +02:00
< / li >
< / ul >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2021-09-30 12:26:13 +02:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line47" > line 47< / a >
2019-10-26 10:00:26 +02:00
< / li > < / ul > < / dd >
< / dl >
2020-02-02 11:44:08 +01:00
< h4 class = "name" id = "targetRelations" > < span class = "type-signature" > < / span > targetRelations< span class = "type-signature" > :Array.< string>< / span > < / h4 >
2019-10-26 10:00:26 +02:00
< h5 > Type:< / h5 >
< ul >
< li >
2020-02-02 11:44:08 +01:00
< span class = "param-type" > Array.< string>< / span >
2019-10-26 10:00:26 +02:00
< / li >
< / ul >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2021-09-30 12:26:13 +02:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line39" > line 39< / a >
2018-08-29 20:44:35 +02:00
< / li > < / ul > < / dd >
< / dl >
2021-11-10 21:30:54 +01:00
< h4 class = "name" id = "title" > < span class = "type-signature" > < / span > title< span class = "type-signature" > :string< / span > < / h4 >
2018-08-29 20:44:35 +02:00
2021-11-10 21:30:54 +01:00
< h5 > Type:< / h5 >
< ul >
< li >
< span class = "param-type" > string< / span >
2018-08-29 20:44:35 +02:00
2021-11-10 21:30:54 +01:00
< / li >
< / ul >
2018-08-29 20:44:35 +02:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2021-09-30 12:26:13 +02:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line59" > line 59< / a >
2018-08-29 20:44:35 +02:00
< / li > < / ul > < / dd >
< / dl >
2021-11-10 21:30:54 +01:00
< h4 class = "name" id = "type" > < span class = "type-signature" > < / span > type< span class = "type-signature" > :string< / span > < / h4 >
2018-08-29 20:44:35 +02:00
2021-11-10 21:30:54 +01:00
< div class = "description" >
one of 'text', 'code', 'file' or 'render'
< / div >
2018-08-29 20:44:35 +02:00
2021-11-10 21:30:54 +01:00
< h5 > Type:< / h5 >
< ul >
< li >
< span class = "param-type" > string< / span >
< / li >
< / ul >
2018-08-29 20:44:35 +02:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2021-11-10 21:30:54 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line66" > line 66< / a >
2018-08-29 20:44:35 +02:00
< / li > < / ul > < / dd >
< / dl >
< h3 class = "subsection-title" > Methods< / h3 >
2020-03-19 09:18:36 +01:00
< h4 class = "name" id = "getAttribute" > < span class = "type-signature" > < / span > getAttribute< span class = "signature" > (type, name)< / span > < span class = "type-signature" > → {< a href = "Attribute.html" > Attribute< / a > }< / span > < / h4 >
2018-12-22 22:28:49 +01:00
< h5 > Parameters:< / h5 >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< tr >
< td class = "name" > < code > type< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > attribute type (label, relation, etc.)< / td >
< / tr >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< tr >
< td class = "name" > < code > name< / code > < / td >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< td class = "type" >
< span class = "param-type" > string< / span >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< / td >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< td class = "description last" > attribute name< / td >
< / tr >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< / tbody >
< / table >
2018-08-29 20:44:35 +02:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line498" > line 498< / a >
2018-08-29 20:44:35 +02:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-08-29 20:44:35 +02:00
< h5 > Returns:< / h5 >
2018-12-22 22:28:49 +01:00
< div class = "param-desc" >
attribute of given type and name. If there's more such attributes, first is returned. Returns null if there's no such attribute belonging to this note.
< / div >
2018-08-29 20:44:35 +02:00
< dl >
< dt >
Type
< / dt >
< dd >
2020-03-19 09:18:36 +01:00
< span class = "param-type" > < a href = "Attribute.html" > Attribute< / a > < / span >
2018-08-29 20:44:35 +02:00
< / dd >
< / dl >
2020-03-19 09:18:36 +01:00
< h4 class = "name" id = "getAttributes" > < span class = "type-signature" > < / span > getAttributes< span class = "signature" > (type< span class = "signature-attributes" > opt< / span > , name< span class = "signature-attributes" > opt< / span > )< / span > < span class = "type-signature" > → {Array.< < a href = "Attribute.html" > Attribute< / a > >}< / span > < / h4 >
2018-12-22 22:28:49 +01:00
< h5 > Parameters:< / h5 >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th > Attributes< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
2018-08-29 20:44:35 +02:00
2019-12-03 22:53:17 +01:00
< tr >
< td class = "name" > < code > type< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "attributes" >
< optional>< br >
< / td >
< td class = "description last" > (optional) attribute type to filter< / td >
< / tr >
2018-12-22 22:28:49 +01:00
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< / td >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< td class = "attributes" >
< optional>< br >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< / td >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
2018-08-29 20:44:35 +02:00
2019-12-03 22:53:17 +01:00
< td class = "description last" > (optional) attribute name to filter< / td >
2018-12-22 22:28:49 +01:00
< / tr >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< / tbody >
< / table >
2018-08-29 20:44:35 +02:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line236" > line 236< / a >
2018-08-29 20:44:35 +02:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-08-29 20:44:35 +02:00
< h5 > Returns:< / h5 >
2019-12-03 22:53:17 +01:00
< div class = "param-desc" >
all note's attributes, including inherited ones
< / div >
2018-08-29 20:44:35 +02:00
< dl >
< dt >
Type
< / dt >
< dd >
2020-03-19 09:18:36 +01:00
< span class = "param-type" > Array.< < a href = "Attribute.html" > Attribute< / a > >< / span >
2018-08-29 20:44:35 +02:00
< / dd >
< / dl >
2020-03-19 09:18:36 +01:00
< h4 class = "name" id = "getAttributeValue" > < span class = "type-signature" > < / span > getAttributeValue< span class = "signature" > (type, name)< / span > < span class = "type-signature" > → {string}< / span > < / h4 >
2018-12-22 22:28:49 +01:00
< h5 > Parameters:< / h5 >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< tr >
< td class = "name" > < code > type< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > attribute type (label, relation, etc.)< / td >
< / tr >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< tr >
< td class = "name" > < code > name< / code > < / td >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< td class = "type" >
< span class = "param-type" > string< / span >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< / td >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< td class = "description last" > attribute name< / td >
< / tr >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< / tbody >
< / table >
2018-08-29 20:44:35 +02:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line520" > line 520< / a >
2018-08-29 20:44:35 +02:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-08-29 20:44:35 +02:00
< h5 > Returns:< / h5 >
2018-12-22 22:28:49 +01:00
< div class = "param-desc" >
attribute value of given type and name or null if no such attribute exists.
< / div >
2018-08-29 20:44:35 +02:00
< dl >
< dt >
Type
< / dt >
< dd >
2020-03-19 09:18:36 +01:00
< span class = "param-type" > string< / span >
2018-08-29 20:44:35 +02:00
< / dd >
< / dl >
2020-03-19 09:18:36 +01:00
< h4 class = "name" id = "getBranches" > < span class = "type-signature" > < / span > getBranches< span class = "signature" > ()< / span > < span class = "type-signature" > → {Array.< < a href = "Branch.html" > Branch< / a > >}< / span > < / h4 >
2018-08-29 20:44:35 +02:00
< dl class = "details" >
2022-01-05 20:31:21 +01:00
< dt class = "important tag-deprecated" > Deprecated:< / dt > < dd > < ul class = "dummy" > < li > use getParentBranches() instead< / li > < / ul > < / dd >
2018-08-29 20:44:35 +02:00
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line161" > line 161< / a >
2018-08-29 20:44:35 +02:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-08-29 20:44:35 +02:00
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
2020-03-19 09:18:36 +01:00
< span class = "param-type" > Array.< < a href = "Branch.html" > Branch< / a > >< / span >
2018-08-29 20:44:35 +02:00
< / dd >
< / dl >
2020-03-08 11:41:42 +01:00
< h4 class = "name" id = "getBranchIds" > < span class = "type-signature" > < / span > getBranchIds< span class = "signature" > ()< / span > < span class = "type-signature" > → {Array.< string>}< / span > < / h4 >
< dl class = "details" >
2022-01-05 20:31:21 +01:00
< dt class = "important tag-deprecated" > Deprecated:< / dt > < dd > < ul class = "dummy" > < li > use getParentBranchIds() instead< / li > < / ul > < / dd >
2020-03-08 11:41:42 +01:00
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line144" > line 144< / a >
2020-03-08 11:41:42 +01:00
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > Array.< string>< / span >
< / dd >
< / dl >
2020-03-19 09:18:36 +01:00
< h4 class = "name" id = "getChildBranches" > < span class = "type-signature" > < / span > getChildBranches< span class = "signature" > ()< / span > < span class = "type-signature" > → {Array.< < a href = "Branch.html" > Branch< / a > >}< / span > < / h4 >
2018-08-29 20:44:35 +02:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line171" > line 171< / a >
2018-08-29 20:44:35 +02:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-08-29 20:44:35 +02:00
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
2020-03-19 09:18:36 +01:00
< span class = "param-type" > Array.< < a href = "Branch.html" > Branch< / a > >< / span >
2018-08-29 20:44:35 +02:00
< / dd >
< / dl >
2018-12-22 22:28:49 +01:00
< h4 class = "name" id = "getChildNoteIds" > < span class = "type-signature" > < / span > getChildNoteIds< span class = "signature" > ()< / span > < span class = "type-signature" > → {Array.< string>}< / span > < / h4 >
2018-08-29 20:44:35 +02:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line209" > line 209< / a >
2018-08-29 20:44:35 +02:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-08-29 20:44:35 +02:00
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
2018-12-22 22:28:49 +01:00
< span class = "param-type" > Array.< string>< / span >
2018-08-29 20:44:35 +02:00
< / dd >
< / dl >
2018-12-22 22:28:49 +01:00
< h4 class = "name" id = "getChildNotes" > < span class = "type-signature" > (async) < / span > getChildNotes< span class = "signature" > ()< / span > < span class = "type-signature" > → {Promise.< Array.< < a href = "NoteShort.html" > NoteShort< / a > >>}< / span > < / h4 >
2018-08-29 20:44:35 +02:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line214" > line 214< / a >
2018-08-29 20:44:35 +02:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-08-29 20:44:35 +02:00
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
2018-12-22 22:28:49 +01:00
< span class = "param-type" > Promise.< Array.< < a href = "NoteShort.html" > NoteShort< / a > >>< / span >
2018-08-29 20:44:35 +02:00
< / dd >
< / dl >
2020-03-19 09:18:36 +01:00
< h4 class = "name" id = "getLabel" > < span class = "type-signature" > < / span > getLabel< span class = "signature" > (name)< / span > < span class = "type-signature" > → {< a href = "Attribute.html" > Attribute< / a > }< / span > < / h4 >
2018-12-22 22:28:49 +01:00
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< h5 > Parameters:< / h5 >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< tr >
< td class = "name" > < code > name< / code > < / td >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< td class = "type" >
< span class = "param-type" > string< / span >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< / td >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< td class = "description last" > label name< / td >
< / tr >
2018-08-29 20:44:35 +02:00
2018-12-22 22:28:49 +01:00
< / tbody >
< / table >
2018-08-29 20:44:35 +02:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line560" > line 560< / a >
2018-12-22 22:28:49 +01:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-12-22 22:28:49 +01:00
< h5 > Returns:< / h5 >
< div class = "param-desc" >
label if it exists, null otherwise
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
2020-03-19 09:18:36 +01:00
< span class = "param-type" > < a href = "Attribute.html" > Attribute< / a > < / span >
2018-12-22 22:28:49 +01:00
< / dd >
< / dl >
2020-09-30 22:48:30 +02:00
< h4 class = "name" id = "getLabels" > < span class = "type-signature" > < / span > getLabels< span class = "signature" > (name< span class = "signature-attributes" > opt< / span > )< / span > < span class = "type-signature" > → {Array.< < a href = "Attribute.html" > Attribute< / a > >}< / span > < / h4 >
2018-12-22 22:28:49 +01:00
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th > Attributes< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "attributes" >
< optional>< br >
< / td >
< td class = "description last" > label name to filter< / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line384" > line 384< / a >
2018-12-22 22:28:49 +01:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-12-22 22:28:49 +01:00
< h5 > Returns:< / h5 >
< div class = "param-desc" >
2020-09-30 22:48:30 +02:00
all note's labels (attributes with type label), including inherited ones
2018-12-22 22:28:49 +01:00
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
2020-03-19 09:18:36 +01:00
< span class = "param-type" > Array.< < a href = "Attribute.html" > Attribute< / a > >< / span >
2018-12-22 22:28:49 +01:00
< / dd >
< / dl >
2020-09-30 22:48:30 +02:00
< h4 class = "name" id = "getLabelValue" > < span class = "type-signature" > < / span > getLabelValue< span class = "signature" > (name)< / span > < span class = "type-signature" > → {string}< / span > < / h4 >
2018-12-22 22:28:49 +01:00
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
2020-09-30 22:48:30 +02:00
< td class = "description last" > label name< / td >
2018-12-22 22:28:49 +01:00
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line584" > line 584< / a >
2018-12-22 22:28:49 +01:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-12-22 22:28:49 +01:00
< h5 > Returns:< / h5 >
< div class = "param-desc" >
2020-09-30 22:48:30 +02:00
label value if label exists, null otherwise
2018-12-22 22:28:49 +01:00
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
2020-09-30 22:48:30 +02:00
< span class = "param-type" > string< / span >
2018-12-22 22:28:49 +01:00
< / dd >
< / dl >
2020-09-30 22:48:30 +02:00
< h4 class = "name" id = "getNoteComplement" > < span class = "type-signature" > (async) < / span > getNoteComplement< span class = "signature" > ()< / span > < span class = "type-signature" > → {Promise.< < a href = "NoteComplement.html" > NoteComplement< / a > >}< / span > < / h4 >
2018-12-22 22:28:49 +01:00
2020-09-30 22:48:30 +02:00
< div class = "description" >
Return note complement which is most importantly note's content
< / div >
2018-12-22 22:28:49 +01:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line706" > line 706< / a >
2018-12-22 22:28:49 +01:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-12-22 22:28:49 +01:00
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
2020-09-30 22:48:30 +02:00
< span class = "param-type" > Promise.< < a href = "NoteComplement.html" > NoteComplement< / a > >< / span >
2018-12-22 22:28:49 +01:00
< / dd >
< / dl >
2020-02-02 11:44:08 +01:00
< h4 class = "name" id = "getOwnedAttribute" > < span class = "type-signature" > < / span > getOwnedAttribute< span class = "signature" > (type, name)< / span > < span class = "type-signature" > → {< a href = "Attribute.html" > Attribute< / a > }< / span > < / h4 >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< h5 > Parameters:< / h5 >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< th > Type< / th >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< th class = "last" > Description< / th >
< / tr >
< / thead >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< tbody >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< tr >
< td class = "name" > < code > type< / code > < / td >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< td class = "type" >
< span class = "param-type" > string< / span >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< / td >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< td class = "description last" > attribute type (label, relation, etc.)< / td >
< / tr >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< tr >
< td class = "name" > < code > name< / code > < / td >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< td class = "type" >
< span class = "param-type" > string< / span >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< / td >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< td class = "description last" > attribute name< / td >
< / tr >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< / tbody >
< / table >
2018-12-22 22:28:49 +01:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line487" > line 487< / a >
2018-12-22 22:28:49 +01:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-12-22 22:28:49 +01:00
< h5 > Returns:< / h5 >
2020-02-02 11:44:08 +01:00
< div class = "param-desc" >
attribute of given type and name. If there's more such attributes, first is returned. Returns null if there's no such attribute belonging to this note.
< / div >
2018-12-22 22:28:49 +01:00
< dl >
< dt >
Type
< / dt >
< dd >
2020-02-02 11:44:08 +01:00
< span class = "param-type" > < a href = "Attribute.html" > Attribute< / a > < / span >
2018-12-22 22:28:49 +01:00
< / dd >
< / dl >
2020-02-02 11:44:08 +01:00
< h4 class = "name" id = "getOwnedAttributes" > < span class = "type-signature" > < / span > getOwnedAttributes< span class = "signature" > (type< span class = "signature-attributes" > opt< / span > , name< span class = "signature-attributes" > opt< / span > )< / span > < span class = "type-signature" > → {Array.< < a href = "Attribute.html" > Attribute< / a > >}< / span > < / h4 >
2018-12-22 22:28:49 +01:00
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
2020-02-02 11:44:08 +01:00
< th > Attributes< / th >
2018-12-22 22:28:49 +01:00
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
2020-02-02 11:44:08 +01:00
< td class = "name" > < code > type< / code > < / td >
2018-12-22 22:28:49 +01:00
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
2020-02-02 11:44:08 +01:00
< td class = "attributes" >
< optional>< br >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< / td >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< td class = "description last" > (optional) attribute type to filter< / td >
< / tr >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "attributes" >
< optional>< br >
< / td >
< td class = "description last" > (optional) attribute name to filter< / td >
< / tr >
2018-12-22 22:28:49 +01:00
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line223" > line 223< / a >
2018-12-22 22:28:49 +01:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-12-22 22:28:49 +01:00
< h5 > Returns:< / h5 >
< div class = "param-desc" >
2020-02-02 11:44:08 +01:00
all note's attributes, including inherited ones
2018-12-22 22:28:49 +01:00
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
2020-02-02 11:44:08 +01:00
< span class = "param-type" > Array.< < a href = "Attribute.html" > Attribute< / a > >< / span >
2018-12-22 22:28:49 +01:00
< / dd >
< / dl >
2020-02-02 11:44:08 +01:00
< h4 class = "name" id = "getOwnedAttributeValue" > < span class = "type-signature" > < / span > getOwnedAttributeValue< span class = "signature" > (type, name)< / span > < span class = "type-signature" > → {string}< / span > < / h4 >
2018-12-22 22:28:49 +01:00
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
2020-02-02 11:44:08 +01:00
< td class = "name" > < code > type< / code > < / td >
2018-12-22 22:28:49 +01:00
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
2020-02-02 11:44:08 +01:00
< td class = "description last" > attribute type (label, relation, etc.)< / td >
< / tr >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< span class = "param-type" > string< / span >
< / td >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< td class = "description last" > attribute name< / td >
2018-12-22 22:28:49 +01:00
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line509" > line 509< / a >
2018-12-22 22:28:49 +01:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-12-22 22:28:49 +01:00
< h5 > Returns:< / h5 >
< div class = "param-desc" >
2020-02-02 11:44:08 +01:00
attribute value of given type and name or null if no such attribute exists.
2018-12-22 22:28:49 +01:00
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
2020-02-02 11:44:08 +01:00
< span class = "param-type" > string< / span >
2018-12-22 22:28:49 +01:00
< / dd >
< / dl >
2020-02-02 11:44:08 +01:00
< h4 class = "name" id = "getOwnedLabel" > < span class = "type-signature" > < / span > getOwnedLabel< span class = "signature" > (name)< / span > < span class = "type-signature" > → {< a href = "Attribute.html" > Attribute< / a > }< / span > < / h4 >
2018-12-22 22:28:49 +01:00
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
2020-02-02 11:44:08 +01:00
< td class = "description last" > label name< / td >
2018-12-22 22:28:49 +01:00
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line554" > line 554< / a >
2018-12-22 22:28:49 +01:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-12-22 22:28:49 +01:00
< h5 > Returns:< / h5 >
< div class = "param-desc" >
2020-02-02 11:44:08 +01:00
label if it exists, null otherwise
2018-12-22 22:28:49 +01:00
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
2020-02-02 11:44:08 +01:00
< span class = "param-type" > < a href = "Attribute.html" > Attribute< / a > < / span >
2018-12-22 22:28:49 +01:00
< / dd >
< / dl >
2020-02-02 11:44:08 +01:00
< h4 class = "name" id = "getOwnedLabels" > < span class = "type-signature" > < / span > getOwnedLabels< span class = "signature" > (name< span class = "signature-attributes" > opt< / span > )< / span > < span class = "type-signature" > → {Array.< < a href = "Attribute.html" > Attribute< / a > >}< / span > < / h4 >
2018-12-22 22:28:49 +01:00
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
2020-02-02 11:44:08 +01:00
< th > Attributes< / th >
2018-12-22 22:28:49 +01:00
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
2020-02-02 11:44:08 +01:00
< td class = "attributes" >
< optional>< br >
< / td >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< td class = "description last" > label name to filter< / td >
2018-12-22 22:28:49 +01:00
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line376" > line 376< / a >
2018-12-22 22:28:49 +01:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-12-22 22:28:49 +01:00
< h5 > Returns:< / h5 >
< div class = "param-desc" >
2020-02-02 11:44:08 +01:00
all note's labels (attributes with type label), including inherited ones
2018-12-22 22:28:49 +01:00
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
2020-02-02 11:44:08 +01:00
< span class = "param-type" > Array.< < a href = "Attribute.html" > Attribute< / a > >< / span >
2018-12-22 22:28:49 +01:00
< / dd >
< / dl >
2020-02-02 11:44:08 +01:00
< h4 class = "name" id = "getOwnedLabelValue" > < span class = "type-signature" > < / span > getOwnedLabelValue< span class = "signature" > (name)< / span > < span class = "type-signature" > → {string}< / span > < / h4 >
2019-08-20 21:40:47 +02:00
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
2020-02-02 11:44:08 +01:00
< td class = "description last" > label name< / td >
2019-08-20 21:40:47 +02:00
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line578" > line 578< / a >
2019-08-20 21:40:47 +02:00
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
2020-02-02 11:44:08 +01:00
< div class = "param-desc" >
label value if label exists, null otherwise
< / div >
2019-08-20 21:40:47 +02:00
< dl >
< dt >
Type
< / dt >
< dd >
2020-02-02 11:44:08 +01:00
< span class = "param-type" > string< / span >
2019-08-20 21:40:47 +02:00
< / dd >
< / dl >
2020-02-02 11:44:08 +01:00
< h4 class = "name" id = "getOwnedRelation" > < span class = "type-signature" > < / span > getOwnedRelation< span class = "signature" > (name)< / span > < span class = "type-signature" > → {< a href = "Attribute.html" > Attribute< / a > }< / span > < / h4 >
2018-12-22 22:28:49 +01:00
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > relation name< / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line566" > line 566< / a >
2018-12-22 22:28:49 +01:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-12-22 22:28:49 +01:00
< h5 > Returns:< / h5 >
< div class = "param-desc" >
2020-02-02 11:44:08 +01:00
relation if it exists, null otherwise
2018-12-22 22:28:49 +01:00
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
2020-02-02 11:44:08 +01:00
< span class = "param-type" > < a href = "Attribute.html" > Attribute< / a > < / span >
2018-12-22 22:28:49 +01:00
< / dd >
< / dl >
2020-02-02 11:44:08 +01:00
< h4 class = "name" id = "getOwnedRelations" > < span class = "type-signature" > < / span > getOwnedRelations< span class = "signature" > (name< span class = "signature-attributes" > opt< / span > )< / span > < span class = "type-signature" > → {Array.< < a href = "Attribute.html" > Attribute< / a > >}< / span > < / h4 >
2019-08-20 21:40:47 +02:00
2020-02-02 11:44:08 +01:00
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th > Attributes< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "attributes" >
< optional>< br >
< / td >
< td class = "description last" > relation name to filter< / td >
< / tr >
< / tbody >
< / table >
2019-08-20 21:40:47 +02:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line452" > line 452< / a >
2019-08-20 21:40:47 +02:00
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
2020-02-02 11:44:08 +01:00
< div class = "param-desc" >
all note's relations (attributes with type relation), including inherited ones
< / div >
2019-08-20 21:40:47 +02:00
< dl >
< dt >
Type
< / dt >
< dd >
2020-02-02 11:44:08 +01:00
< span class = "param-type" > Array.< < a href = "Attribute.html" > Attribute< / a > >< / span >
2019-08-20 21:40:47 +02:00
< / dd >
< / dl >
2020-02-02 11:44:08 +01:00
< h4 class = "name" id = "getOwnedRelationValue" > < span class = "type-signature" > < / span > getOwnedRelationValue< span class = "signature" > (name)< / span > < span class = "type-signature" > → {string}< / span > < / h4 >
2018-12-22 22:28:49 +01:00
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
2020-02-02 11:44:08 +01:00
< td class = "description last" > relation name< / td >
2018-12-22 22:28:49 +01:00
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line590" > line 590< / a >
2018-12-22 22:28:49 +01:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-12-22 22:28:49 +01:00
< h5 > Returns:< / h5 >
< div class = "param-desc" >
2020-02-02 11:44:08 +01:00
relation value if relation exists, null otherwise
2018-12-22 22:28:49 +01:00
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
2020-02-02 11:44:08 +01:00
< span class = "param-type" > string< / span >
2018-12-22 22:28:49 +01:00
< / dd >
< / dl >
2022-01-05 20:31:21 +01:00
< h4 class = "name" id = "getParentBranches" > < span class = "type-signature" > < / span > getParentBranches< span class = "signature" > ()< / span > < span class = "type-signature" > → {Array.< < a href = "Branch.html" > Branch< / a > >}< / span > < / h4 >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line151" > line 151< / a >
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > Array.< < a href = "Branch.html" > Branch< / a > >< / span >
< / dd >
< / dl >
< h4 class = "name" id = "getParentBranchIds" > < span class = "type-signature" > < / span > getParentBranchIds< span class = "signature" > ()< / span > < span class = "type-signature" > → {Array.< string>}< / span > < / h4 >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line136" > line 136< / a >
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > Array.< string>< / span >
< / dd >
< / dl >
2020-02-02 11:44:08 +01:00
< h4 class = "name" id = "getParentNoteIds" > < span class = "type-signature" > < / span > getParentNoteIds< span class = "signature" > ()< / span > < span class = "type-signature" > → {Array.< string>}< / span > < / h4 >
2018-12-22 22:28:49 +01:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line179" > line 179< / a >
2018-12-22 22:28:49 +01:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-12-22 22:28:49 +01:00
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
2020-02-02 11:44:08 +01:00
< span class = "param-type" > Array.< string>< / span >
2018-12-22 22:28:49 +01:00
< / dd >
< / dl >
2020-03-19 09:18:36 +01:00
< h4 class = "name" id = "getParentNotes" > < span class = "type-signature" > < / span > getParentNotes< span class = "signature" > ()< / span > < span class = "type-signature" > → {Array.< < a href = "NoteShort.html" > NoteShort< / a > >}< / span > < / h4 >
2018-12-22 22:28:49 +01:00
2020-02-02 11:44:08 +01:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line184" > line 184< / a >
2020-02-02 11:44:08 +01:00
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
2020-03-19 09:18:36 +01:00
< span class = "param-type" > Array.< < a href = "NoteShort.html" > NoteShort< / a > >< / span >
2020-02-02 11:44:08 +01:00
< / dd >
< / dl >
2020-03-19 09:18:36 +01:00
< h4 class = "name" id = "getRelation" > < span class = "type-signature" > < / span > getRelation< span class = "signature" > (name)< / span > < span class = "type-signature" > → {< a href = "Attribute.html" > Attribute< / a > }< / span > < / h4 >
2020-02-02 11:44:08 +01:00
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > relation name< / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line572" > line 572< / a >
2020-02-02 11:44:08 +01:00
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
< div class = "param-desc" >
relation if it exists, null otherwise
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
2020-03-19 09:18:36 +01:00
< span class = "param-type" > < a href = "Attribute.html" > Attribute< / a > < / span >
2020-02-02 11:44:08 +01:00
< / dd >
< / dl >
2020-09-30 22:48:30 +02:00
< h4 class = "name" id = "getRelations" > < span class = "type-signature" > < / span > getRelations< span class = "signature" > (name< span class = "signature-attributes" > opt< / span > )< / span > < span class = "type-signature" > → {Array.< < a href = "Attribute.html" > Attribute< / a > >}< / span > < / h4 >
2020-02-02 11:44:08 +01:00
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th > Attributes< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "attributes" >
< optional>< br >
< / td >
< td class = "description last" > relation name to filter< / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line460" > line 460< / a >
2020-02-02 11:44:08 +01:00
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
< div class = "param-desc" >
2020-09-30 22:48:30 +02:00
all note's relations (attributes with type relation), including inherited ones
2020-02-02 11:44:08 +01:00
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
2020-03-19 09:18:36 +01:00
< span class = "param-type" > Array.< < a href = "Attribute.html" > Attribute< / a > >< / span >
2020-02-02 11:44:08 +01:00
< / dd >
< / dl >
2020-09-30 22:48:30 +02:00
< h4 class = "name" id = "getRelationTarget" > < span class = "type-signature" > (async) < / span > getRelationTarget< span class = "signature" > (name)< / span > < span class = "type-signature" > → {Promise.< < a href = "NoteShort.html" > NoteShort< / a > >|null}< / span > < / h4 >
2020-02-02 11:44:08 +01:00
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
2020-09-30 22:48:30 +02:00
< td class = "description last" > < / td >
2020-02-02 11:44:08 +01:00
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line602" > line 602< / a >
2020-02-02 11:44:08 +01:00
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
< div class = "param-desc" >
2020-09-30 22:48:30 +02:00
target note of the relation or null (if target is empty or note was not found)
2020-02-02 11:44:08 +01:00
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
2020-09-30 22:48:30 +02:00
< span class = "param-type" > Promise.< < a href = "NoteShort.html" > NoteShort< / a > >< / span >
|
< span class = "param-type" > null< / span >
2020-02-02 11:44:08 +01:00
< / dd >
< / dl >
2020-09-30 22:48:30 +02:00
< h4 class = "name" id = "getRelationTargets" > < span class = "type-signature" > (async) < / span > getRelationTargets< span class = "signature" > (name< span class = "signature-attributes" > opt< / span > )< / span > < span class = "type-signature" > → {Promise.< Array.< < a href = "NoteShort.html" > NoteShort< / a > >>}< / span > < / h4 >
2020-02-02 11:44:08 +01:00
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
2020-09-30 22:48:30 +02:00
< th > Attributes< / th >
2020-02-02 11:44:08 +01:00
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
2020-09-30 22:48:30 +02:00
< td class = "attributes" >
< optional>< br >
2020-02-02 11:44:08 +01:00
2020-09-30 22:48:30 +02:00
< / td >
2020-02-02 11:44:08 +01:00
2020-09-30 22:48:30 +02:00
< td class = "description last" > relation name to filter< / td >
2020-02-02 11:44:08 +01:00
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line612" > line 612< / a >
2020-02-02 11:44:08 +01:00
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
2020-09-30 22:48:30 +02:00
< span class = "param-type" > Promise.< Array.< < a href = "NoteShort.html" > NoteShort< / a > >>< / span >
2020-02-02 11:44:08 +01:00
< / dd >
< / dl >
2020-09-30 22:48:30 +02:00
< h4 class = "name" id = "getRelationValue" > < span class = "type-signature" > < / span > getRelationValue< span class = "signature" > (name)< / span > < span class = "type-signature" > → {string}< / span > < / h4 >
2020-02-02 11:44:08 +01:00
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
2020-09-30 22:48:30 +02:00
< td class = "description last" > relation name< / td >
2020-02-02 11:44:08 +01:00
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line596" > line 596< / a >
2020-02-02 11:44:08 +01:00
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
2020-09-30 22:48:30 +02:00
< div class = "param-desc" >
relation value if relation exists, null otherwise
< / div >
2020-02-02 11:44:08 +01:00
< dl >
< dt >
Type
< / dt >
< dd >
2020-09-30 22:48:30 +02:00
< span class = "param-type" > string< / span >
2020-02-02 11:44:08 +01:00
< / dd >
< / dl >
2021-09-30 12:26:13 +02:00
< h4 class = "name" id = "getScriptEnv" > < span class = "type-signature" > < / span > getScriptEnv< span class = "signature" > ()< / span > < span class = "type-signature" > → {string|null}< / span > < / h4 >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line750" > line 750< / a >
2021-09-30 12:26:13 +02:00
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
< div class = "param-desc" >
JS script environment - either "frontend" or "backend"
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > string< / span >
|
< span class = "param-type" > null< / span >
< / dd >
< / dl >
2020-09-30 22:48:30 +02:00
< h4 class = "name" id = "getTargetRelations" > < span class = "type-signature" > < / span > getTargetRelations< span class = "signature" > ()< / span > < span class = "type-signature" > → {Array.< < a href = "Attribute.html" > Attribute< / a > >}< / span > < / h4 >
2020-02-02 11:44:08 +01:00
2020-09-30 22:48:30 +02:00
< div class = "description" >
Get relations which target this note
< / div >
< dl class = "details" >
2020-02-02 11:44:08 +01:00
2020-09-30 22:48:30 +02:00
2020-02-02 11:44:08 +01:00
2020-09-30 22:48:30 +02:00
2020-02-02 11:44:08 +01:00
2020-09-30 22:48:30 +02:00
2020-02-02 11:44:08 +01:00
2020-09-30 22:48:30 +02:00
2020-02-02 11:44:08 +01:00
2020-09-30 22:48:30 +02:00
2020-02-02 11:44:08 +01:00
2020-09-30 22:48:30 +02:00
2020-02-02 11:44:08 +01:00
2020-09-30 22:48:30 +02:00
2020-02-02 11:44:08 +01:00
2020-09-30 22:48:30 +02:00
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line685" > line 685< / a >
2020-09-30 22:48:30 +02:00
< / li > < / ul > < / dd >
2020-02-02 11:44:08 +01:00
2020-09-30 22:48:30 +02:00
< / dl >
< h5 > Returns:< / h5 >
2020-02-02 11:44:08 +01:00
2020-09-30 22:48:30 +02:00
< dl >
< dt >
Type
< / dt >
< dd >
2020-02-02 11:44:08 +01:00
2020-09-30 22:48:30 +02:00
< span class = "param-type" > Array.< < a href = "Attribute.html" > Attribute< / a > >< / span >
2020-02-02 11:44:08 +01:00
2020-09-30 22:48:30 +02:00
< / dd >
< / dl >
2020-02-02 11:44:08 +01:00
2020-09-30 22:48:30 +02:00
2020-02-02 11:44:08 +01:00
2020-09-30 22:48:30 +02:00
2020-02-02 11:44:08 +01:00
2020-09-30 22:48:30 +02:00
< h4 class = "name" id = "getTargetRelationSourceNotes" > < span class = "type-signature" > (async) < / span > getTargetRelationSourceNotes< span class = "signature" > ()< / span > < span class = "type-signature" > → {Array.< < a href = "NoteShort.html" > NoteShort< / a > >}< / span > < / h4 >
2020-02-02 11:44:08 +01:00
2020-09-30 22:48:30 +02:00
< div class = "description" >
Get relations which target this note
< / div >
2020-02-02 11:44:08 +01:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line695" > line 695< / a >
2020-02-02 11:44:08 +01:00
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
2020-09-30 22:48:30 +02:00
< span class = "param-type" > Array.< < a href = "NoteShort.html" > NoteShort< / a > >< / span >
2020-02-02 11:44:08 +01:00
< / dd >
< / dl >
2020-09-30 22:48:30 +02:00
< h4 class = "name" id = "getTemplateNotes" > < span class = "type-signature" > < / span > getTemplateNotes< span class = "signature" > ()< / span > < span class = "type-signature" > → {Array.< < a href = "NoteShort.html" > NoteShort< / a > >}< / span > < / h4 >
2020-02-02 11:44:08 +01:00
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line626" > line 626< / a >
2020-02-02 11:44:08 +01:00
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
2020-09-30 22:48:30 +02:00
< span class = "param-type" > Array.< < a href = "NoteShort.html" > NoteShort< / a > >< / span >
2020-02-02 11:44:08 +01:00
< / dd >
< / dl >
2020-03-19 09:18:36 +01:00
< h4 class = "name" id = "hasAttribute" > < span class = "type-signature" > < / span > hasAttribute< span class = "signature" > (type, name)< / span > < span class = "type-signature" > → {boolean}< / span > < / h4 >
2020-02-02 11:44:08 +01:00
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > type< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > attribute type (label, relation, etc.)< / td >
< / tr >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > attribute name< / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line469" > line 469< / a >
2020-02-02 11:44:08 +01:00
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
< div class = "param-desc" >
true if note has an attribute with given type and name (including inherited)
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
2020-03-19 09:18:36 +01:00
< span class = "param-type" > boolean< / span >
2020-02-02 11:44:08 +01:00
< / dd >
< / dl >
< h4 class = "name" id = "hasChildren" > < span class = "type-signature" > < / span > hasChildren< span class = "signature" > ()< / span > < span class = "type-signature" > → {boolean}< / span > < / h4 >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line166" > line 166< / a >
2020-02-02 11:44:08 +01:00
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > boolean< / span >
< / dd >
< / dl >
2020-03-19 09:18:36 +01:00
< h4 class = "name" id = "hasLabel" > < span class = "type-signature" > < / span > hasLabel< span class = "signature" > (name)< / span > < span class = "type-signature" > → {boolean}< / span > < / h4 >
2020-02-02 11:44:08 +01:00
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > label name< / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line536" > line 536< / a >
2020-02-02 11:44:08 +01:00
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
< div class = "param-desc" >
true if label exists (including inherited)
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
2020-03-19 09:18:36 +01:00
< span class = "param-type" > boolean< / span >
2020-02-02 11:44:08 +01:00
< / dd >
< / dl >
< h4 class = "name" id = "hasOwnedAttribute" > < span class = "type-signature" > < / span > hasOwnedAttribute< span class = "signature" > (type, name)< / span > < span class = "type-signature" > → {boolean}< / span > < / h4 >
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > type< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > attribute type (label, relation, etc.)< / td >
< / tr >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > attribute name< / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line478" > line 478< / a >
2020-02-02 11:44:08 +01:00
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
< div class = "param-desc" >
true if note has an attribute with given type and name (including inherited)
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > boolean< / span >
< / dd >
< / dl >
< h4 class = "name" id = "hasOwnedLabel" > < span class = "type-signature" > < / span > hasOwnedLabel< span class = "signature" > (name)< / span > < span class = "type-signature" > → {boolean}< / span > < / h4 >
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
2018-12-22 22:28:49 +01:00
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > label name< / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line530" > line 530< / a >
2018-12-22 22:28:49 +01:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-12-22 22:28:49 +01:00
< h5 > Returns:< / h5 >
< div class = "param-desc" >
2020-02-02 11:44:08 +01:00
true if label exists (excluding inherited)
2018-12-22 22:28:49 +01:00
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
2020-02-02 11:44:08 +01:00
< span class = "param-type" > boolean< / span >
< / dd >
< / dl >
< h4 class = "name" id = "hasOwnedRelation" > < span class = "type-signature" > < / span > hasOwnedRelation< span class = "signature" > (name)< / span > < span class = "type-signature" > → {boolean}< / span > < / h4 >
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > relation name< / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line542" > line 542< / a >
2020-02-02 11:44:08 +01:00
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
< div class = "param-desc" >
true if relation exists (excluding inherited)
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > boolean< / span >
2018-12-22 22:28:49 +01:00
< / dd >
< / dl >
2020-03-19 09:18:36 +01:00
< h4 class = "name" id = "hasRelation" > < span class = "type-signature" > < / span > hasRelation< span class = "signature" > (name)< / span > < span class = "type-signature" > → {boolean}< / span > < / h4 >
2018-12-22 22:28:49 +01:00
< h5 > Parameters:< / h5 >
< table class = "params" >
< thead >
< tr >
< th > Name< / th >
< th > Type< / th >
< th class = "last" > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "name" > < code > name< / code > < / td >
< td class = "type" >
< span class = "param-type" > string< / span >
< / td >
< td class = "description last" > relation name< / td >
< / tr >
< / tbody >
< / table >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line548" > line 548< / a >
2018-12-22 22:28:49 +01:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-12-22 22:28:49 +01:00
< h5 > Returns:< / h5 >
< div class = "param-desc" >
true if relation exists (including inherited)
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
2020-03-19 09:18:36 +01:00
< span class = "param-type" > boolean< / span >
2018-12-22 22:28:49 +01:00
< / dd >
< / dl >
2020-02-02 11:44:08 +01:00
< h4 class = "name" id = "invalidateAttributeCache" > < span class = "type-signature" > < / span > invalidateAttributeCache< span class = "signature" > ()< / span > < span class = "type-signature" > < / span > < / h4 >
2018-12-22 22:28:49 +01:00
< dl class = "details" >
2021-11-10 21:30:54 +01:00
< dt class = "important tag-deprecated" > Deprecated:< / dt > < dd > < ul class = "dummy" > < li > NOOP< / li > < / ul > < / dd >
2018-12-22 22:28:49 +01:00
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line678" > line 678< / a >
2021-09-30 12:26:13 +02:00
< / li > < / ul > < / dd >
< / dl >
< h4 class = "name" id = "isHtml" > < span class = "type-signature" > < / span > isHtml< span class = "signature" > ()< / span > < span class = "type-signature" > → {boolean}< / span > < / h4 >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line745" > line 745< / a >
2021-09-30 12:26:13 +02:00
< / li > < / ul > < / dd >
< / dl >
< h5 > Returns:< / h5 >
< div class = "param-desc" >
true if this note is HTML
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > boolean< / span >
< / dd >
< / dl >
< h4 class = "name" id = "isJavaScript" > < span class = "type-signature" > < / span > isJavaScript< span class = "signature" > ()< / span > < span class = "type-signature" > → {boolean}< / span > < / h4 >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2022-01-05 20:31:21 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line737" > line 737< / a >
2018-12-22 22:28:49 +01:00
< / li > < / ul > < / dd >
< / dl >
2021-09-30 12:26:13 +02:00
< h5 > Returns:< / h5 >
< div class = "param-desc" >
true if this note is JavaScript (code or attachment)
< / div >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > boolean< / span >
< / dd >
< / dl >
2018-12-22 22:28:49 +01:00
2019-08-20 21:40:47 +02:00
2018-12-22 22:28:49 +01:00
< h4 class = "name" id = "isJson" > < span class = "type-signature" > < / span > isJson< span class = "signature" > ()< / span > < span class = "type-signature" > → {boolean}< / span > < / h4 >
< dl class = "details" >
< dt class = "tag-source" > Source:< / dt >
< dd class = "tag-source" > < ul class = "dummy" > < li >
2021-11-10 21:30:54 +01:00
< a href = "entities_note_short.js.html" > entities/note_short.js< / a > , < a href = "entities_note_short.js.html#line109" > line 109< / a >
2018-08-29 20:44:35 +02:00
< / li > < / ul > < / dd >
< / dl >
2019-08-20 21:40:47 +02:00
2018-08-29 20:44:35 +02:00
< h5 > Returns:< / h5 >
< dl >
< dt >
Type
< / dt >
< dd >
< span class = "param-type" > boolean< / span >
< / dd >
< / dl >
< / article >
< / section >
< / div >
< nav >
2021-11-10 21:30:54 +01:00
< h2 > < a href = "index.html" > Home< / a > < / h2 > < h3 > Classes< / h3 > < ul > < li > < a href = "Attribute.html" > Attribute< / a > < / li > < li > < a href = "Branch.html" > Branch< / a > < / li > < li > < a href = "FrontendScriptApi.html" > FrontendScriptApi< / a > < / li > < li > < a href = "NoteComplement.html" > NoteComplement< / a > < / li > < li > < a href = "NoteShort.html" > NoteShort< / a > < / li > < / ul > < h3 > Global< / h3 > < ul > < li > < a href = "global.html#doRenderBody" > doRenderBody< / a > < / li > < / ul >
2018-08-29 20:44:35 +02:00
< / nav >
< br class = "clear" >
< footer >
2022-04-16 00:17:32 +02:00
Documentation generated by < a href = "https://github.com/jsdoc/jsdoc" > JSDoc 3.6.10< / a >
2018-08-29 20:44:35 +02:00
< / footer >
< script > prettyPrint ( ) ; < / script >
< script src = "scripts/linenumber.js" > < / script >
< / body >
< / html >