Interface IAuditLogItem

interface IAuditLogItem {
    Created: string;
    LogComment?: string;
    LogData?: string;
    LogUser?: {
        EMail: string;
        Id: number;
        LoginName: string;
        Title: string;
    };
    LogUserId?: number;
    ParentId: string;
    ParentListName: string;
    Title: string;
    query: ((query) => IBaseExecution<IListItemQuery, IListItemQuery>);
    AttachmentFiles(): IBaseCollection<Attachment, Attachment, void> & AttachmentCollectionMethods;
    AttachmentFiles(id): SecurableObjectCollections & IBaseQuery<Attachment, Attachment> & AttachmentCollections & AttachmentMethods;
    ContentType(): IBaseQuery<ContentType, ContentTypeOData> & ContentTypeCollections & ContentTypeMethods;
    FieldValuesAsHtml(): IBaseExecution<FieldStringValues, FieldStringValues> & FieldStringValuesCollections;
    FieldValuesAsText(): IBaseExecution<FieldStringValues, FieldStringValues> & FieldStringValuesCollections;
    FieldValuesForEdit(): IBaseExecution<FieldStringValues, FieldStringValues> & FieldStringValuesCollections;
    File(): IBaseQuery<File, FileOData> & FileCollections & FileMethods;
    FirstUniqueAncestorSecurableObject(): IBaseQuery<SecurableObject, SecurableObjectOData> & SecurableObjectCollections & SecurableObjectMethods;
    Folder(): IBaseQuery<Folder, FolderOData> & FolderCollections & FolderMethods;
    GetDlpPolicyTip(): IBaseExecution<DlpPolicyTip, DlpPolicyTip> & DlpPolicyTipCollections;
    LikedByInformation(): IBaseQuery<likedByInformation, likedByInformationOData> & likedByInformationCollections;
    ParentList(): IBaseQuery<List, ListOData> & ListCollections & ListMethods;
    Properties(): IBaseExecution<PropertyValues, PropertyValues> & PropertyValuesCollections;
    RoleAssignments(): IBaseCollection<RoleAssignment, RoleAssignmentOData, IBaseExecution<any, any> & RoleAssignmentCollectionMethods> & IBaseExecution<any, any> & RoleAssignmentCollectionMethods;
    RoleAssignments(id): IBaseQuery<RoleAssignment, RoleAssignmentOData> & RoleAssignmentCollections & RoleAssignmentMethods;
    Versions(): IBaseCollection<ListItemVersion, ListItemVersionOData, IBaseExecution<any, any> & ListItemVersionCollectionMethods> & IBaseExecution<any, any> & ListItemVersionCollectionMethods;
    Versions(id): SecurableObjectCollections & IBaseQuery<ListItemVersion, ListItemVersionOData> & ListItemVersionCollections & ListItemVersionMethods;
    addThumbnailFieldData(imageStream?, imageName?, fieldInternalName?, lockId?): IBaseExecution<SPImageItem, SPImageItem>;
    archive(): IBaseExecution<any, any>;
    attachImage(imageStream?, imageName?, fieldInternalName?): IBaseExecution<SPImageItem, SPImageItem>;
    batch(resolve): ListItem;
    batch(createFl?): ListItem;
    batch(createFl, appendFl?): ListItem;
    breakRoleInheritance(copyRoleAssignments?, clearSubscopes?): IBaseExecution<any, any>;
    delete(): IBaseExecution<any, any>;
    deleteWithParameters(parameters?): IBaseExecution<any, any>;
    done<T>(resolve): any;
    execute(waitFl): ListItem;
    execute(resolve?, waitFl?): ListItem;
    execute(resolve?, reject?, waitFl?): ListItem;
    executeAndWait(): ListItem;
    executeMethod(methodName, methodConfig, args?): any;
    getChanges(query?): IBaseCollection<Change, Change, void>;
    getComments(): IBaseCollection<comment, commentOData, IBaseExecution<any, any> & commentCollectionMethods> & IBaseExecution<any, any> & commentCollectionMethods;
    getInfo(): IRequestInfo;
    getUserEffectivePermissions(userName?): IBaseExecution<{
        GetUserEffectivePermissions: BasePermissions;
    }, {
        GetUserEffectivePermissions: BasePermissions;
    }>;
    getVersions(getVersionsParams?): IBaseCollection<ListItemVersion, ListItemVersionOData, IBaseExecution<any, any> & ListItemVersionCollectionMethods> & IBaseExecution<any, any> & ListItemVersionCollectionMethods;
    getWOPIFrameUrl(action?): IBaseExecution<string, string>;
    mediaServiceUpdate(parameters?): IBaseExecution<any, any>;
    mediaServiceUpdateV2(parameters?, eventFiringEnabled?): IBaseExecution<any, any>;
    overridePolicyTip(userAction?, justification?): IBaseExecution<number, number>;
    parseAndSetFieldValue(fieldName?, value?): IBaseExecution<any, any>;
    recycle(): IBaseExecution<any, any>;
    recycleWithParameters(parameters?): IBaseExecution<any, any>;
    resetRoleInheritance(): IBaseExecution<any, any>;
    setCommentsDisabled(value?): IBaseExecution<any, any>;
    setComplianceTag(complianceTag?, isTagPolicyHold?, isTagPolicyRecord?, isEventBasedTag?, isTagSuperLock?, isUnlockedAsDefault?): IBaseExecution<any, any>;
    setComplianceTagWithExplicitMetasUpdate(complianceTag?, complianceFlags?, complianceTagWrittenTime?, userEmailAddress?): IBaseExecution<any, any>;
    setComplianceTagWithHold(complianceTag?): IBaseExecution<any, any>;
    setComplianceTagWithMetaInfo(complianceTag?, blockDelete?, blockEdit?, complianceTagWrittenTime?, userEmailAddress?, isTagSuperLock?, isRecordUnlockedAsDefault?): IBaseExecution<any, any>;
    setComplianceTagWithNoHold(complianceTag?): IBaseExecution<any, any>;
    setComplianceTagWithRecord(complianceTag?): IBaseExecution<any, any>;
    systemUpdate(): IBaseExecution<any, any>;
    unarchive(): IBaseExecution<any, any>;
    update(properties?): IBaseExecution<any, any>;
    updateEx(parameters?): IBaseExecution<any, any>;
    updateOverwriteVersion(): IBaseExecution<any, any>;
    validateUpdateFetchListItem(formValues?, bNewDocumentUpdate?, checkInComment?, datesInUTC?, numberInInvariantCulture?, View?, RootFolder?): IBaseExecution<ListItemUpdateResults, ListItemUpdateResults>;
    validateUpdateFetchListItemInFolder(formValues?, bNewDocumentUpdate?, checkInComment?, datesInUTC?, numberInInvariantCulture?, rootFolder?): IBaseExecution<ListItemUpdateResults, ListItemUpdateResults>;
    validateUpdateListItem(formValues?, bNewDocumentUpdate?, checkInComment?, datesInUTC?, numberInInvariantCulture?, sharedLockId?): IBaseCollection<ListItemFormUpdateValue, ListItemFormUpdateValue, void>;
}

Hierarchy (view full)

Properties

Created: string
LogComment?: string
LogData?: string
LogUser?: {
    EMail: string;
    Id: number;
    LoginName: string;
    Title: string;
}

Type declaration

  • EMail: string
  • Id: number
  • LoginName: string
  • Title: string
LogUserId?: number
ParentId: string
ParentListName: string
Title: string
query: ((query) => IBaseExecution<IListItemQuery, IListItemQuery>)

Queries the collection.

Type declaration

    • (query): IBaseExecution<IListItemQuery, IListItemQuery>
    • Parameters

      • query: IODataQuery

      Returns IBaseExecution<IListItemQuery, IListItemQuery>

Methods

  • Returns IBaseCollection<Attachment, Attachment, void> & AttachmentCollectionMethods

  • Parameters

    • id: string | number

    Returns SecurableObjectCollections & IBaseQuery<Attachment, Attachment> & AttachmentCollections & AttachmentMethods

  • Returns IBaseQuery<ContentType, ContentTypeOData> & ContentTypeCollections & ContentTypeMethods

  • Returns IBaseExecution<FieldStringValues, FieldStringValues> & FieldStringValuesCollections

  • Returns IBaseExecution<FieldStringValues, FieldStringValues> & FieldStringValuesCollections

  • Returns IBaseExecution<FieldStringValues, FieldStringValues> & FieldStringValuesCollections

  • Returns IBaseQuery<File, FileOData> & FileCollections & FileMethods

  • Returns IBaseQuery<SecurableObject, SecurableObjectOData> & SecurableObjectCollections & SecurableObjectMethods

  • Returns IBaseQuery<Folder, FolderOData> & FolderCollections & FolderMethods

  • Returns IBaseExecution<DlpPolicyTip, DlpPolicyTip> & DlpPolicyTipCollections

  • Returns IBaseQuery<likedByInformation, likedByInformationOData> & likedByInformationCollections

  • Returns IBaseQuery<List, ListOData> & ListCollections & ListMethods

  • Returns IBaseExecution<PropertyValues, PropertyValues> & PropertyValuesCollections

  • Returns IBaseCollection<RoleAssignment, RoleAssignmentOData, IBaseExecution<any, any> & RoleAssignmentCollectionMethods> & IBaseExecution<any, any> & RoleAssignmentCollectionMethods

  • Parameters

    • id: string | number

    Returns IBaseQuery<RoleAssignment, RoleAssignmentOData> & RoleAssignmentCollections & RoleAssignmentMethods

  • Returns IBaseCollection<ListItemVersion, ListItemVersionOData, IBaseExecution<any, any> & ListItemVersionCollectionMethods> & IBaseExecution<any, any> & ListItemVersionCollectionMethods

  • Parameters

    • id: string | number

    Returns SecurableObjectCollections & IBaseQuery<ListItemVersion, ListItemVersionOData> & ListItemVersionCollections & ListItemVersionMethods

  • Parameters

    • Optional imageStream: any
    • Optional imageName: string
    • Optional fieldInternalName: string
    • Optional lockId: string

    Returns IBaseExecution<SPImageItem, SPImageItem>

  • Returns IBaseExecution<any, any>

  • Parameters

    • Optional imageStream: any
    • Optional imageName: string
    • Optional fieldInternalName: string

    Returns IBaseExecution<SPImageItem, SPImageItem>

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

    Parameters

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

      The method to be executed after the request completes.

        • (value?): void
        • Parameters

          • Optional value: ListItem

          Returns void

    Returns ListItem

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

    Parameters

    • Optional createFl: boolean

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

    Returns ListItem

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

    Parameters

    • createFl: ((value?) => void)

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

        • (value?): void
        • Parameters

          • Optional value: ListItem

          Returns void

    • Optional appendFl: boolean

    Returns ListItem

  • Parameters

    • Optional copyRoleAssignments: boolean
    • Optional clearSubscopes: boolean

    Returns IBaseExecution<any, any>

  • Returns IBaseExecution<any, any>

  • Parameters

    • Optional parameters: ListItemDeleteParameters

    Returns IBaseExecution<any, any>

  • Method to wait for the requests to complete.

    Type Parameters

    • T = ListItem

    Parameters

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

      The method to be executed after the request completes.

        • (value?): void
        • Parameters

          • Optional value: T

          Returns void

    Returns any

  • Method to execute the request.

    Parameters

    • waitFl: boolean

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

    Returns ListItem

  • Method to execute the request.

    Parameters

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

      The method to be executed if the request is successful.

        • (value?): void
        • Parameters

          • Optional value: ListItem

          Returns void

    • Optional waitFl: boolean

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

    Returns ListItem

  • Method to execute the request.

    Parameters

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

      The method to be executed if the request is successful.

        • (value?): void
        • Parameters

          • Optional value: ListItem

          Returns void

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

      The method to be executed if the request fails.

        • (value?): void
        • Parameters

          • Optional value: ListItem

          Returns void

    • Optional waitFl: boolean

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

    Returns ListItem

  • Method to execute the request synchronously.

    Returns ListItem

  • 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

  • Parameters

    • Optional query: ChangeQuery

    Returns IBaseCollection<Change, Change, void>

  • Returns IBaseCollection<comment, commentOData, IBaseExecution<any, any> & commentCollectionMethods> & IBaseExecution<any, any> & commentCollectionMethods

  • Method to get the request information.

    Returns IRequestInfo

  • Parameters

    • Optional userName: string

    Returns IBaseExecution<{
        GetUserEffectivePermissions: BasePermissions;
    }, {
        GetUserEffectivePermissions: BasePermissions;
    }>

  • Parameters

    • Optional getVersionsParams: GetListItemVersionsParameters

    Returns IBaseCollection<ListItemVersion, ListItemVersionOData, IBaseExecution<any, any> & ListItemVersionCollectionMethods> & IBaseExecution<any, any> & ListItemVersionCollectionMethods

  • Parameters

    • Optional action: number

    Returns IBaseExecution<string, string>

  • Parameters

    • Optional parameters: MediaServiceUpdateParameters

    Returns IBaseExecution<any, any>

  • Parameters

    • Optional parameters: MediaServiceUpdateParameters
    • Optional eventFiringEnabled: boolean

    Returns IBaseExecution<any, any>

  • Parameters

    • Optional userAction: number
    • Optional justification: string

    Returns IBaseExecution<number, number>

  • Parameters

    • Optional fieldName: string
    • Optional value: string

    Returns IBaseExecution<any, any>

  • Returns IBaseExecution<any, any>

  • Parameters

    • Optional parameters: ListItemDeleteParameters

    Returns IBaseExecution<any, any>

  • Returns IBaseExecution<any, any>

  • Parameters

    • Optional value: boolean

    Returns IBaseExecution<any, any>

  • Parameters

    • Optional complianceTag: string
    • Optional isTagPolicyHold: boolean
    • Optional isTagPolicyRecord: boolean
    • Optional isEventBasedTag: boolean
    • Optional isTagSuperLock: boolean
    • Optional isUnlockedAsDefault: boolean

    Returns IBaseExecution<any, any>

  • Parameters

    • Optional complianceTag: string
    • Optional complianceFlags: number
    • Optional complianceTagWrittenTime: any
    • Optional userEmailAddress: string

    Returns IBaseExecution<any, any>

  • Parameters

    • Optional complianceTag: string

    Returns IBaseExecution<any, any>

  • Parameters

    • Optional complianceTag: string
    • Optional blockDelete: boolean
    • Optional blockEdit: boolean
    • Optional complianceTagWrittenTime: any
    • Optional userEmailAddress: string
    • Optional isTagSuperLock: boolean
    • Optional isRecordUnlockedAsDefault: boolean

    Returns IBaseExecution<any, any>

  • Parameters

    • Optional complianceTag: string

    Returns IBaseExecution<any, any>

  • Parameters

    • Optional complianceTag: string

    Returns IBaseExecution<any, any>

  • Returns IBaseExecution<any, any>

  • Returns IBaseExecution<any, any>

  • Parameters

    • Optional properties: any

    Returns IBaseExecution<any, any>

  • Parameters

    • Optional parameters: ListItemUpdateParameters

    Returns IBaseExecution<any, any>

  • Returns IBaseExecution<any, any>

  • Parameters

    • Optional formValues: ListItemFormUpdateValue[]
    • Optional bNewDocumentUpdate: boolean
    • Optional checkInComment: string
    • Optional datesInUTC: boolean
    • Optional numberInInvariantCulture: boolean
    • Optional View: string
    • Optional RootFolder: string

    Returns IBaseExecution<ListItemUpdateResults, ListItemUpdateResults>

  • Parameters

    • Optional formValues: ListItemFormUpdateValue[]
    • Optional bNewDocumentUpdate: boolean
    • Optional checkInComment: string
    • Optional datesInUTC: boolean
    • Optional numberInInvariantCulture: boolean
    • Optional rootFolder: string

    Returns IBaseExecution<ListItemUpdateResults, ListItemUpdateResults>

  • Parameters

    • Optional formValues: ListItemFormUpdateValue[]
    • Optional bNewDocumentUpdate: boolean
    • Optional checkInComment: string
    • Optional datesInUTC: boolean
    • Optional numberInInvariantCulture: boolean
    • Optional sharedLockId: string

    Returns IBaseCollection<ListItemFormUpdateValue, ListItemFormUpdateValue, void>