lackey-cms/modules/cms/client/manager
- lackey-cms/modules/cms/client/manager~Manager
- manager.get(contentId, path, variant, schema) ⇒
Promise.<Mixed> - manager.set(contentId, path, variant, value) ⇒
Promise - manager.insertAfter(contentId, path, variant, value) ⇒
Promise - manager.remove(contentId, path, variant, value) ⇒
Promise - manager.getMedia(contentId, path, variant) ⇒
Promise.<Mixed> - manager.setMedia(contentId, path, variant) ⇒
Promise.<Mixed> - manager.onChanged(event)
- manager.onStackChange(event)
- manager.get(contentId, path, variant, schema) ⇒
- lackey-cms/modules/cms/client/manager
- ~Manager
- .get(contentId, path, variant, schema) ⇒
Promise.<Mixed> - .set(contentId, path, variant, value) ⇒
Promise - .insertAfter(contentId, path, variant, value) ⇒
Promise - .remove(contentId, path, variant, value) ⇒
Promise - .getMedia(contentId, path, variant) ⇒
Promise.<Mixed> - .setMedia(contentId, path, variant) ⇒
Promise.<Mixed> - .onChanged(event)
- .onStackChange(event)
- .get(contentId, path, variant, schema) ⇒
- ~Manager
lackey-cms/modules/cms/client/manager~Manager
Kind: inner class of lackey-cms/modules/cms/client/manager
- ~Manager
- .get(contentId, path, variant, schema) ⇒
Promise.<Mixed> - .set(contentId, path, variant, value) ⇒
Promise - .insertAfter(contentId, path, variant, value) ⇒
Promise - .remove(contentId, path, variant, value) ⇒
Promise - .getMedia(contentId, path, variant) ⇒
Promise.<Mixed> - .setMedia(contentId, path, variant) ⇒
Promise.<Mixed> - .onChanged(event)
- .onStackChange(event)
- .get(contentId, path, variant, schema) ⇒
manager.get(contentId, path, variant, schema) ⇒ Promise.<Mixed>
Gets content node
Kind: instance method of Manager
Returns: Promise.<Mixed> - } [[Description]]
| Param | Type | Description |
|---|---|---|
| contentId | Number |
[[Description]] |
| path | String |
[[Description]] |
| variant | String | null |
[[Description]] |
| schema | String | null |
[[Description]] |
manager.set(contentId, path, variant, value) ⇒ Promise
Sets content node
Kind: instance method of Manager
| Param | Type |
|---|---|
| contentId | Number |
| path | String |
| variant | String |
| value | Mixed |
manager.insertAfter(contentId, path, variant, value) ⇒ Promise
Inserts before
Kind: instance method of Manager
| Param | Type |
|---|---|
| contentId | Number |
| path | String |
| variant | String |
| value | Mixed |
manager.remove(contentId, path, variant, value) ⇒ Promise
Removes
Kind: instance method of Manager
| Param | Type |
|---|---|
| contentId | Number |
| path | String |
| variant | String |
| value | Mixed |
manager.getMedia(contentId, path, variant) ⇒ Promise.<Mixed>
Gets content node
Kind: instance method of Manager
Returns: Promise.<Mixed> - } [[Description]]
| Param | Type | Description |
|---|---|---|
| contentId | Number |
[[Description]] |
| path | String |
[[Description]] |
| variant | String | null |
[[Description]] |
manager.setMedia(contentId, path, variant) ⇒ Promise.<Mixed>
Gets content node
Kind: instance method of Manager
Returns: Promise.<Mixed> - } [[Description]]
| Param | Type | Description |
|---|---|---|
| contentId | Number |
[[Description]] |
| path | String |
[[Description]] |
| variant | String | null |
[[Description]] |
manager.onChanged(event)
Handler for repository changes
Kind: instance method of Manager
| Param | Type |
|---|---|
| event | RepositoryEvent |
manager.onStackChange(event)
Handler for stack change
Kind: instance method of Manager
| Param | Type |
|---|---|
| event | StackEvent |
Generated with gulp-jsdoc-to-markdown and roadmarks. © Enigma Marketing Services 2016