Class TermStore

Hierarchy

Index

Methods

Methods

public addLanguage(lcid: number)

Parameters

  • lcid: number

public commitAll()

public createGroup(name: string): TermGroup

Parameters

  • name: string

Returns

TermGroup

public createGroup(name: string, groupId: Guid): TermGroup

Parameters

  • name: string
  • groupId: Guid

Returns

TermGroup

public customFromJson(initValue: any): boolean

Parameters

  • initValue: any

Returns

boolean

public deleteLanguage(lcid: number)

Parameters

  • lcid: number

public fromJson(initValue: any)

Parameters

  • initValue: any

public getChanges(changeInformation: ChangeInformation): ChangedItemCollection

Parameters

Returns

ChangedItemCollection

public getGroup(id: Guid): TermGroup

Parameters

Returns

TermGroup

public getSiteCollectionGroup(currentSite: Site, createIfMissing: boolean): TermGroup

Parameters

  • currentSite: Site
  • createIfMissing: boolean

Returns

TermGroup

public getTerm(termId: Guid): Term

Parameters

Returns

Term

public getTermInTermSet(termSetId: Guid, termId: Guid): Term

Parameters

Returns

Term

public getTermSet(termSetId: Guid): TermSet

Parameters

Returns

TermSet

public getTermSetsByName(termSetName: string, lcid: number): TermSetCollection

Parameters

  • termSetName: string
  • lcid: number

Returns

TermSetCollection

public getTermSetsByTermLabel(requiredTermLabels: Array<string>, lcid: number): TermSetCollection

Parameters

  • requiredTermLabels: Array<string>
  • lcid: number

Returns

TermSetCollection

public getTermSetsWithCustomProperty(customPropertyMatchInformation: CustomPropertyMatchInformation): TermSetCollection

Parameters

Returns

TermSetCollection

public getTerms(termLabel: string, trimUnavailable: boolean): TermCollection

Parameters

  • termLabel: string
  • trimUnavailable: boolean

Returns

TermCollection

public getTerms(labelMatchInformation: LabelMatchInformation): TermCollection

Parameters

Returns

TermCollection

public getTermsById(termIds: Guid[]): TermCollection

Parameters

Returns

TermCollection

public getTermsWithCustomProperty(customPropertyName: string, trimUnavailable: boolean): TermCollection

Parameters

  • customPropertyName: string
  • trimUnavailable: boolean

Returns

TermCollection

public getTermsWithCustomProperty(customPropertyMatchInformation: CustomPropertyMatchInformation): TermCollection

Parameters

Returns

TermCollection

public get_contentTypePublishingHub(): string

Returns

string

public get_context(): ClientRuntimeContext

Returns

ClientRuntimeContext

public get_defaultLanguage(): number

Returns

number

public get_groups(): TermGroupCollection

Returns

TermGroupCollection

public get_hashTagsTermSet(): TermSet

Returns

TermSet

public get_id(): Guid

Returns

Guid

public get_isOnline(): boolean

Returns

boolean

public get_keywordsTermSet(): TermSet

Returns

TermSet

public get_languages(): Array<number>

Returns

Array<number>

public get_name(): string

Returns

string

public get_objectVersion(): string

Returns

string

public get_orphanedTermsTermSet(): TermSet

Returns

TermSet

public get_path(): ObjectPath

Returns

ObjectPath

public get_serverObjectIsNull(): boolean

Returns

boolean

public get_systemGroup(): TermGroup

Returns

TermGroup

public get_typedObject(): ClientObject

Returns

ClientObject

public get_workingLanguage(): number

Returns

number

public isObjectPropertyInstantiated(propertyName: string): boolean

Parameters

  • propertyName: string

Returns

boolean

public isPropertyAvailable(propertyName: string): boolean

Parameters

  • propertyName: string

Returns

boolean

public refreshLoad()

public retrieve()

public retrieve(propertyNames: Array<string>)

Parameters

  • propertyNames: Array<string>

public rollbackAll()

public set_defaultLanguage(value: number)

Parameters

  • value: number

public set_objectVersion(value: string)

Parameters

  • value: string

public set_workingLanguage(value: number)

Parameters

  • value: number

public updateCache()

public updateUsedTermsOnSite(currentSite: Site)

Parameters