NewsItem
save()
replaceSource(sourceXml, [etag])
Parameters
Param
Type
Default
setSource()
getGuid()⇒ string | null
string | nullsetGuid(uuid)
Parameters
Param
Type
Description
getLocale()⇒ string
stringgetLanguageParts()⇒ Object
ObjectsetLanguage(name, languageCode, textDirection)
Parameters
Param
Type
Default
Description
getNewsPriority()⇒ Object
ObjectcreateNewsPriority(name, newsPriority)
Parameters
Param
Type
setNewsPriority(name, newsPriority)
Parameters
Param
Type
Description
getMainChannel()⇒ object
objectgetSections()⇒ Array | *
Array | *getSection()⇒ *
*getChannels()⇒ Array
ArrayupdateSection(name, section)
Parameters
Param
Description
removeSection(name, section, muteEvent)
Parameters
Param
Type
Description
addChannel(name, channel, setAsMainChannel)
Parameters
Param
Type
Description
removeChannel(name, channel, muteEvent)
Parameters
Param
Type
Description
getPubStatus()⇒ Object
ObjectsetPubStatus(name, pubStatus)
Parameters
Param
Type
getPubStart()⇒ object
objectsetPubStart(name, pubStart)
Parameters
Param
Type
Description
removePubStart(name)
Parameters
Param
getPubStop()⇒ object
objectsetPubStop(name, pubStop)
Parameters
Param
Type
removePubStop(name)
Parameters
Param
Type
Description
getEdNote()⇒ String
StringsetEdNote(content)
Parameters
Param
Type
Description
getNewspilotArticleId()⇒ *
*getAuthors()⇒ *
*getCreator()⇒ object
objectgetUpdater()⇒ object
objectgetSharedWith()⇒ object
objectremoveAuthorByUUID(name, uuid)
Parameters
Param
Type
Description
addAuthor(name, author)
Parameters
Param
Type
Description
addSimpleAuthor(name, author)
Parameters
Param
Type
Description
updateAuthorWithUUID(name, uuid, author)
Parameters
Param
Type
Description
updateConcept(name, conceptObject, propertyMap, triggerDocumentChanged)
Parameters
Param
Type
Default
Description
updateRelationalLinks(relation, conceptObject, conceptNode, propertyMap)
Parameters
Param
Type
updateConceptData(conceptObject, conceptNode)
Parameters
Param
Type
createExtendedGeoLink(relatedGeoPolygons)
Parameters
Param
Type
removeAuthorByTitle(name, authorName)
Parameters
Param
Type
Description
getLinksByType(name, types, subject)⇒ *
*Parameters
Param
Type
Description
Example
getTags(types)⇒ *
*Parameters
Param
Description
addTag(name, tag)
Parameters
Param
Type
Description
Example
updateTag(name, uuid, tag)
Parameters
Param
Type
Description
removeLinkByUUID(name, uuid)
Parameters
Param
Description
removeLinkByURI(name, uri)
Parameters
Param
Type
Description
removeAllLinksByType(name, type)
Parameters
Param
Type
Description
removeLinkByUUIDAndRel(name, uuid, rel)
Parameters
Param
Type
removeLinkContentMetaByTypeAndRel(name, type, rel)
Parameters
Param
Type
removeLinkContentMetaByTypeAndMatchingFilter(name, type, filter)
Parameters
Param
Type
Description
addLocation(name, location)
Parameters
Param
Description
Example
updateLocation(name, location)
Parameters
Param
Type
Description
getLocations(entity, strict)⇒ array
arrayParameters
Param
Type
Default
Description
addLink(name, link, triggerDocumentChanged)
Parameters
Param
Type
Default
Description
Example
updateLinkRel(name, link)
Parameters
Param
Type
Description
Example
addContentMetaLink(name, link)
Parameters
Param
Type
Description
Example
getLinkByTypeAndRel(name, type, rel)⇒ array
arrayParameters
Param
Type
getLinkByType(name, type)⇒ array
arrayParameters
Param
Type
Description
getContentMetaLinkByType(name, type)⇒ array
arrayParameters
Param
Type
Description
getStories()⇒ array
arraygetConceptSections()⇒ array
arrayaddStory(name, story)
Parameters
Param
Example
updateStory(name, story)
Parameters
Param
Type
Description
Example
addConceptProfile(name, contentprofile)
Parameters
Param
Type
Description
Example
addContentProfile(name, contentprofile)
Parameters
Param
Type
Description
Example
addCategory(name, category)
Parameters
Param
Type
Description
Example
updateConceptProfile()
Example
updateContentProfile(name, contentprofile)
Parameters
Param
Type
Description
Example
getContentProfiles()⇒ array | null
array | nullgetConceptByUuid()⇒ object | null
object | nullgetCategories()⇒ array | null
array | nullgetArticleSubType()⇒ String
StringgetExtProperty(sectionName, type, raw)⇒ string | Element
string | ElementParameters
Param
Type
Default
Description
setExtProperty(name, sectionName, type, value)
Parameters
Param
Type
Description
deleteExtProperty(name, sectionName, type)
Parameters
Param
Type
Description
getTemporaryId()⇒ * | null
* | nullsetTemporaryId(temporaryArticleID)
Parameters
Param
hasTemporaryId()⇒ boolean
booleangetIdForArticle()⇒ string
stringgetHasPublishedVersion()⇒ bool
boolsetHasPublishedVersion(name, value)
Parameters
Param
Type
Description
getContentMetaObjectsByType(objectType)⇒ Array
ArrayParameters
Param
Type
Description
getContentMetaObjectById(id)⇒ Object
ObjectParameters
Param
Type
Description
setContentMetaObject(name, jxonObject)
Parameters
Param
Type
Description
Example
Example (Results in)
removeContentMetaObject(name, id)
Parameters
Param
Type
Description
invalidate()
getVersionCreated()⇒ *
*getFirstCreated()⇒ *
*getContentCreated()⇒ *
*getContentModified()⇒ *
*