Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(context: ClientContext): RankingLabeling

Parameters

Returns

RankingLabeling

Properties

public addJudgment: (userQuery: string, url: string, labelId: number) => void

public getJudgementsForQuery: (query: string) => SP.JsonObjectResult

public normalizeResultUrl: (url: string) => SP.JsonObjectResult

Methods

public customFromJson(initValue: any): boolean

Parameters

  • initValue: any

Returns

boolean

public fromJson(initValue: any)

Parameters

  • initValue: any

public get_context(): ClientRuntimeContext

Returns

ClientRuntimeContext

public get_objectVersion(): string

Returns

string

public get_path(): ObjectPath

Returns

ObjectPath

public get_serverObjectIsNull(): boolean

Returns

boolean

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 refreshLoad()

public retrieve()

public retrieve(propertyNames: Array<string>)

Parameters

  • propertyNames: Array<string>

public set_objectVersion(value: string)

Parameters

  • value: string