Class TermSet

Hierarchy

Index

Methods

Methods

public addStakeholder(stakeholderName: string)

Parameters

  • stakeholderName: string

public copy(): TermSet

Returns

TermSet

public createTerm(name: string, lcid: number, newTermId: Guid): Term

Parameters

  • name: string
  • lcid: number
  • newTermId: Guid

Returns

Term

public customFromJson(initValue: any): boolean

Parameters

  • initValue: any

Returns

boolean

public deleteAllCustomProperties()

public deleteCustomProperty(name: string)

Parameters

  • name: string

public deleteObject()

public deleteStakeholder(stakeholderName: string)

Parameters

  • stakeholderName: string

public exportObject(): StringResult

Returns

StringResult

public fromJson(initValue: any)

Parameters

  • initValue: any

public getAllTerms(): TermCollection

Returns

TermCollection

public getChanges(changeInformation: ChangeInformation): ChangedItemCollection

Parameters

Returns

ChangedItemCollection

public getTerm(termId: Guid): Term

Parameters

Returns

Term

public getTerms(pagingLimit: number): TermCollection

Parameters

  • pagingLimit: number

Returns

TermCollection

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

Parameters

  • termLabel: string
  • trimUnavailable: boolean

Returns

TermCollection

public getTerms(labelMatchInformation: LabelMatchInformation): 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_contact(): string

Returns

string

public get_context(): ClientRuntimeContext

Returns

ClientRuntimeContext

public get_createdDate(): Date

Returns

Date

public get_customProperties(): { [key: string]: string; }

Returns

{ [key: string]: string; }

public get_customSortOrder(): string

Returns

string

public get_description(): string

Returns

string

public get_group(): TermGroup

Returns

TermGroup

public get_id(): Guid

Returns

Guid

public get_isAvailableForTagging(): boolean

Returns

boolean

public get_isOpenForTermCreation(): boolean

Returns

boolean

public get_lastModifiedDate(): Date

Returns

Date

public get_name(): string

Returns

string

public get_objectVersion(): string

Returns

string

public get_owner(): string

Returns

string

public get_path(): ObjectPath

Returns

ObjectPath

public get_serverObjectIsNull(): boolean

Returns

boolean

public get_stakeholders(): Array<string>

Returns

Array<string>

public get_termStore(): TermStore

Returns

TermStore

public get_terms(): TermCollection

Returns

TermCollection

public get_typedObject(): ClientObject

Returns

ClientObject

public isObjectPropertyInstantiated(propertyName: string): boolean

Parameters

  • propertyName: string

Returns

boolean

public isPropertyAvailable(propertyName: string): boolean

Parameters

  • propertyName: string

Returns

boolean

public move(targetGroup: TermGroup)

Parameters

public refreshLoad()

public retrieve()

public retrieve(propertyNames: Array<string>)

Parameters

  • propertyNames: Array<string>

public reuseTerm(sourceTerm: Term, reuseBranch: boolean): Term

Parameters

  • sourceTerm: Term
  • reuseBranch: boolean

Returns

Term

public reuseTermWithPinning(sourceTerm: Term): Term

Parameters

Returns

Term

public setCustomProperty(name: string, value: string)

Parameters

  • name: string
  • value: string

public set_contact(value: string)

Parameters

  • value: string

public set_customSortOrder(value: string)

Parameters

  • value: string

public set_description(value: string)

Parameters

  • value: string

public set_isAvailableForTagging(value: boolean)

Parameters

  • value: boolean

public set_isOpenForTermCreation(value: boolean)

Parameters

  • value: boolean

public set_name(value: string)

Parameters

  • value: string

public set_objectVersion(value: string)

Parameters

  • value: string

public set_owner(value: string)

Parameters

  • value: string