SP. Объект Taxonomy.TermStore (sp.taxonomy)

Представляет хранилище, содержащее метаданные в дочерние объекты SP. Объект Taxonomy.TermGroup (sp.taxonomy) , SP. Объект Taxonomy.TermSet (sp.taxonomy) объектов и объектов SP. Объект Taxonomy.Term (sp.taxonomy) .

Дата последнего изменения: 9 марта 2015 г.

Область применения: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.Taxonomy.TermStore()

Элементы

Объект TermStore содержит следующие элементы.

Конструктор

Объект TermStore имеет следующий конструктор.

Конструктор

Описание

TermStore

Initializes a new instance of the SP. Объект Taxonomy.TermStore (sp.taxonomy) object.

Методы

Объект TermStore содержит следующие методы.

Метод

Описание

addLanguage

Adds a working language to the SP. Объект Taxonomy.TermStore (sp.taxonomy) object.

commitAll

Commits all updates to the database that have occurred since the last update or rollback.

createGroup

Creates a new SP. Объект Taxonomy.TermGroup (sp.taxonomy) object in this SP. Объект Taxonomy.TermStore (sp.taxonomy).

deleteLanguage

Deletes a working language from the SP. Объект Taxonomy.TermStore (sp.taxonomy) object.

getChanges

Gets a list of changes to the SP. Объект Taxonomy.TermStore (sp.taxonomy) object.

getGroup

Represents a store that contains metadata within child SP. Объект Taxonomy.TermGroup (sp.taxonomy) objects, SP. Объект Taxonomy.TermSet (sp.taxonomy) objects, and SP. Объект Taxonomy.Term (sp.taxonomy) objects.

getSiteCollectionGroup

Returns the associated site collection group for the SP. Сайт object (sp.js) object.

getTerm

Gets a Term based on its ID.

getTermInTermSet

Gets a SP. Объект Taxonomy.Term (sp.taxonomy) object that is based on the ID of the SP. Объект Taxonomy.TermSet (sp.taxonomy) object and the ID of the term.

getTerms

Gets more than one specified SP. Объект Taxonomy.Term (sp.taxonomy) object from the term store.

getTermsById

Gets more than one specified SP. Метод Taxonomy.TermStore.getTerms (sp.taxonomy) object from the term store.

getTermSet

Retrieves a TermSet object based on a TermSet ID.

getTermSetsByName

Retrieves by name a SP. Объект Taxonomy.TermSetCollection (sp.taxonomy) object.

getTermSetsByTermLabel

Retrieves by label a SP. Объект Taxonomy.TermSetCollection (sp.taxonomy) object.

getTermSetsWithCustomProperty

Retrieves by custom property a SP. Объект Taxonomy.TermSetCollection (sp.taxonomy) object.

getTermsWithCustomProperty

Gets by custom property a SP. Объект Taxonomy.TermCollection (sp.taxonomy) object.

rollbackAll

Discards all updates that have occurred since the last commit or rollback.

updateCache

Forces the taxonomy cache to communicate with the managed metadata service to check for changes to any taxonomy objects in a SP. Объект Taxonomy.TermStore (sp.taxonomy).

updateUsedTermsOnSite

This method makes sure that the current SP. Объект Taxonomy.TermStore (sp.taxonomy) object is aware of all child SP. Объект Taxonomy.Term (sp.taxonomy) objects that are used in the requested site collection.

Properties

Объект TermStore имеет следующие свойства.

Свойство

Описание

contentTypePublishingHub

Gets the URI of the SP. Сайт object (sp.js) object used as the content type syndication hub, if it exists.

defaultLanguage

Gets the LCID of the default working language for the current SP. Объект Taxonomy.TermStore (sp.taxonomy) object.

Группы

Gets a collection of SP. Объект Taxonomy.TermGroup (sp.taxonomy) objects from the term store.

hashTagsTermSet

Gets the hash tags term set for a SP. Объект Taxonomy.TermStore (sp.taxonomy) object that contains a set of # tags.

идентификатор.

Gets the unique identifier of the SP. Объект Taxonomy.TermStore (sp.taxonomy) object.

isOnline

Indicates whether this term store is currently online (available).

keywordsTermSet

Gets the SP. Объект Taxonomy.TermSet (sp.taxonomy) object for this SP. Объект Taxonomy.TermStore (sp.taxonomy) object.

иностранные языки;

Gets an integer collection of LCIDs.

Имя

Gets the name of the current SP. Объект Taxonomy.TermStore (sp.taxonomy) object.

orphanedTermsTermSet

Gets the SP. Объект Taxonomy.TermSet (sp.taxonomy) for this SP. Объект Taxonomy.TermStore (sp.taxonomy) that contains the set of Orphaned Term objects.

systemGroup

Gets the SP. Объект Taxonomy.TermGroup (sp.taxonomy) object for this SP. Объект Taxonomy.TermStore (sp.taxonomy) object that contains the set of System TermSets (Keywords and Orphaned Terms).

workingLanguage

Gets the current working language for the SP. Объект Taxonomy.TermStore (sp.taxonomy) object.