Module: alfresco/services/TagService

alfresco/services/TagService

Author:
  • Dave Draper
License:
Source:

Members

containerId :string

This should be set when the current context is a site, typically this will be set to "documentlibrary"
Type:
  • string
Default Value:
  • null
Source:

rootNode :string

This should be set if "siteId" is not set.
Type:
  • string
Default Value:
  • null
Source:

siteId :string

This should be set when the current context is a site.
Type:
  • string
Default Value:
  • null
Source:

Methods

createTag(tagName) → {object}

Creates a tag at the remote store (the same location from which available tags are retrieved).
Parameters:
Name Type Description
tagName string The name of the tag to create.
Source:
Returns:
The created tag details
Type
object

onTagListRequest(payload)

Handles requests to retrieve the list of tags, optionally filtered by a search term.
Parameters:
Name Type Description
payload object The payload containing the details of the tags to search for
Source:

onTagQuery(payload)

Parameters:
Name Type Description
payload object
Source:

registerSubscriptions()

Sets up the subscriptions for the TagService
Since:
  • 1.0.32
Source:
Listens to Events: