Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IGroup<Result>

IGroup

Type parameters

  • Result

Hierarchy

Index

Properties

Optional query

query: (query: IODataQuery) => IBaseExecution<IGroupQuery>

Queries the collection.

param

The OData information.

Type declaration

    • Parameters

      • query: IODataQuery

      Returns IBaseExecution<IGroupQuery>

Methods

Owner

Users

batch

  • batch(resolve: (value?: Result) => void): Group
  • batch(appendFl?: boolean): Group
  • batch(resolve: (value?: Result) => void, appendFl?: boolean): Group
  • Method to execute the request as a batch. Currently available in SharePoint Online only.

    Parameters

    • resolve: (value?: Result) => void

      The method to be executed after the request completes.

        • (value?: Result): void
        • Parameters

          • Optional value: Result

          Returns void

    Returns Group

  • Method to execute the request as a batch. Currently available in SharePoint Online only.

    Parameters

    • Optional appendFl: boolean

      Flag to execute the request as part of a change set.

    Returns Group

  • Method to execute the request as a batch. Currently available in SharePoint Online only.

    Parameters

    • resolve: (value?: Result) => void

      The method to be executed after the request completes.

        • (value?: Result): void
        • Parameters

          • Optional value: Result

          Returns void

    • Optional appendFl: boolean

      Flag to execute the request as part of a change set.

    Returns Group

done

  • done<T>(resolve: (value?: T) => void): any
  • Method to wait for the requests to complete.

    Type parameters

    • T

    Parameters

    • resolve: (value?: T) => void

      The method to be executed after the request completes.

        • (value?: T): void
        • Parameters

          • Optional value: T

          Returns void

    Returns any

execute

  • execute(waitFl: boolean): Group
  • execute(resolve?: (value?: Result) => void, waitFl?: boolean): Group
  • execute(resolve?: (value?: Result) => void, reject?: (value?: Result) => void, waitFl?: boolean): Group
  • Method to execute the request.

    Parameters

    • waitFl: boolean

      Flag to execute the request, after the previous requests have completed.

    Returns Group

  • Method to execute the request.

    Parameters

    • Optional resolve: (value?: Result) => void

      The method to be executed if the request is successful.

        • (value?: Result): void
        • Parameters

          • Optional value: Result

          Returns void

    • Optional waitFl: boolean

      Flag to execute the request, after the previous requests have completed.

    Returns Group

  • Method to execute the request.

    Parameters

    • Optional resolve: (value?: Result) => void

      The method to be executed if the request is successful.

        • (value?: Result): void
        • Parameters

          • Optional value: Result

          Returns void

    • Optional reject: (value?: Result) => void

      The method to be executed if the request fails.

        • (value?: Result): void
        • Parameters

          • Optional value: Result

          Returns void

    • Optional waitFl: boolean

      Flag to execute the request, after the previous requests have completed.

    Returns Group

executeAndWait

  • executeAndWait(): Result
  • Method to execute the request synchronously.

    Returns Result

executeMethod

  • executeMethod(methodName: string, methodConfig: IMethodInfo, args?: any): any
  • Method to execute the request. (This is an internal method, but can be used for dev purposes.)

    Parameters

    • methodName: string

      The method name to execute.

    • methodConfig: IMethodInfo

      The configuration to pass with the request.

    • Optional args: any

      The optional arguments for the request.

    Returns any

getInfo

  • getInfo(): IRequestInfo
  • Method to get the request information.

    Returns IRequestInfo

setUserAsOwner

  • setUserAsOwner(ownerId?: number): IBaseExecution<any>
  • Parameters

    • Optional ownerId: number

    Returns IBaseExecution<any>

update

  • update(): IBaseExecution<any>
  • Returns IBaseExecution<any>

Generated using TypeDoc