Constructor
new Property(opts)
Creates a Property
Parameters:
Name | Type | Description |
---|---|---|
opts |
object | The configuration options. |
Methods
addCategory(uuid, category) → {Promise.<*>}
Add category to a node
Parameters:
Name | Type | Description |
---|---|---|
uuid |
The uuid of the node |
|
category |
The category uuid |
Returns:
- Type
- Promise.<*>
addCategory(uuid, category) → {Promise.<*>}
Add category to a node
Parameters:
Name | Type | Description |
---|---|---|
uuid |
The uuid of the node |
|
category |
The category uuid |
Returns:
- Type
- Promise.<*>
addKeyword(uuid, keyword) → {Promise.<*>}
Add keyword to a node
Parameters:
Name | Type | Description |
---|---|---|
uuid |
The uuid of the node |
|
keyword |
The keyword |
Returns:
- Type
- Promise.<*>
addKeyword(uuid, keyword) → {Promise.<*>}
Add keyword to a node
Parameters:
Name | Type | Description |
---|---|---|
uuid |
The uuid of the node |
|
keyword |
The keyword |
Returns:
- Type
- Promise.<*>
removeCategory(uuid, category) → {Promise.<*>}
Remove category to a node
Parameters:
Name | Type | Description |
---|---|---|
uuid |
The uuid of the node |
|
category |
The category uuid |
Returns:
- Type
- Promise.<*>
removeCategory(uuid, category) → {Promise.<*>}
Remove category to a node
Parameters:
Name | Type | Description |
---|---|---|
uuid |
The uuid of the node |
|
category |
The category uuid |
Returns:
- Type
- Promise.<*>
removeKeyword(uuid, keyword) → {Promise.<*>}
Remove keyword to a node
Parameters:
Name | Type | Description |
---|---|---|
uuid |
The uuid of the node |
|
keyword |
The keyword |
Returns:
- Type
- Promise.<*>
removeKeyword(uuid, keyword) → {Promise.<*>}
Remove keyword to a node
Parameters:
Name | Type | Description |
---|---|---|
uuid |
The uuid of the node |
|
keyword |
The keyword |
Returns:
- Type
- Promise.<*>
setRestUrl(restUrl)
Set the rest url
Parameters:
Name | Type | Description |
---|---|---|
restUrl |
The rest url |
setRestUrl(restUrl)
Set the rest url
Parameters:
Name | Type | Description |
---|---|---|
restUrl |
The rest url |
setToken(token)
Set the token in Property variables
Parameters:
Name | Type | Description |
---|---|---|
token |
The authorization token value |
setToken(token)
Set the token in Property variables
Parameters:
Name | Type | Description |
---|---|---|
token |
The authorization token value |