AddTagConfig
Config object for adding a tag to an object. It contains objectType, rowId, userId, tagType and tagTitle which are set with the corresponding functions.
Methods
setObjectType
setObjectType(
pObjectType):AddTagConfig
Required parameter
Parameters
string | number | booleanThe type of the object to be tagged. For example "Organisation".
Returns
AddTagConfigThe current config
setRowId
setRowId(
pRowId):AddTagConfig
Required parameter
Parameters
string | number | booleanThe id of the dataset to be tagged.
Returns
AddTagConfigThe current config
setTagTitle
setTagTitle(
pTagTitle):AddTagConfig
Optional parameter
Parameters
string | number | booleanThe title of the tag the tagged object will belong to. Only necessary if pTagType != DEFAULT_FAVORITE_GROUP.
Returns
AddTagConfigThe current config
setTagType
setTagType(
pTagType):AddTagConfig
Required parameter
Parameters
string | number | booleanOne of the tag types. For example tag.DEFAULT_FAVORITE_GROUP
Returns
AddTagConfigThe current config
setUserId
setUserId(
pUserId):AddTagConfig
Required parameter
Parameters
string | number | booleanThe id of the user the tagged object will belong to.
Returns
AddTagConfigThe current config