Class RelatedItemManager

Hierarchy

Index

Methods

Methods

public static addSingleLink(context: ClientRuntimeContext, SourceListName: string, SourceItemID: number, SourceWebUrl: string, TargetListName: string, TargetItemID: number, TargetWebUrl: string, TryAddReverseLink: boolean)

Parameters

  • context: ClientRuntimeContext
  • SourceListName: string
  • SourceItemID: number
  • SourceWebUrl: string
  • TargetListName: string
  • TargetItemID: number
  • TargetWebUrl: string
  • TryAddReverseLink: boolean

public static addSingleLinkFromUrl(context: ClientRuntimeContext, SourceItemUrl: string, TargetListName: string, TargetItemID: number, TryAddReverseLink: boolean)

Parameters

  • context: ClientRuntimeContext
  • SourceItemUrl: string
  • TargetListName: string
  • TargetItemID: number
  • TryAddReverseLink: boolean

public static addSingleLinkToUrl(context: ClientRuntimeContext, SourceListName: string, SourceItemID: number, TargetItemUrl: string, TryAddReverseLink: boolean)

Parameters

  • context: ClientRuntimeContext
  • SourceListName: string
  • SourceItemID: number
  • TargetItemUrl: string
  • TryAddReverseLink: boolean

public customFromJson(initValue: any): boolean

Parameters

  • initValue: any

Returns

boolean

public static deleteSingleLink(context: ClientRuntimeContext, SourceListName: string, SourceItemID: number, SourceWebUrl: string, TargetListName: string, TargetItemID: number, TargetWebUrl: string, TryDeleteReverseLink: boolean)

Parameters

  • context: ClientRuntimeContext
  • SourceListName: string
  • SourceItemID: number
  • SourceWebUrl: string
  • TargetListName: string
  • TargetItemID: number
  • TargetWebUrl: string
  • TryDeleteReverseLink: boolean

public fromJson(initValue: any)

Parameters

  • initValue: any

public static getPageOneRelatedItems(context: ClientRuntimeContext, SourceListName: string, SourceItemID: number): RelatedItem[]

Parameters

Returns

RelatedItem[]

public static getRelatedItems(context: ClientRuntimeContext, SourceListName: string, SourceItemID: number): RelatedItem[]

Parameters

Returns

RelatedItem[]

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