Codeunit 9456 File Pagination Data

System Application, System.ExternalFileStorage

src/System Application/App/External File Storage/src/Lookup/FilePaginationData.Codeunit.al49 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------// Copyright (c) Microsoft Corporation. All rights reserved.// Licensed under the MIT License. See License.txt in the project root for license information.// ------------------------------------------------------------------------------------------------namespace System.ExternalFileStorage;codeunit 9456 "File Pagination Data"{    var        FilePaginationDataImpl: Codeunit "File Pagination Data Impl.";    /// <summary>    /// Sets a marker to see if files and directories can be retrieved in batches.    /// </summary>    /// <param name="NewMarker">Marker value to set.</param>    procedure SetMarker(NewMarker: Text)    begin        FilePaginationDataImpl.SetMarker(NewMarker);    end;    /// <summary>    /// Gets the current marker value.    /// </summary>    /// <returns>Current marker value.</returns>    procedure GetMarker(): Text    begin        exit(FilePaginationDataImpl.GetMarker());    end;    /// <summary>    /// Set this value to true, if all files or directories have been read a from the File Service.    /// </summary>    /// <param name="NewEndOfListing">End of listing reached.</param>    procedure SetEndOfListing(NewEndOfListing: Boolean)    begin        FilePaginationDataImpl.SetEndOfListing(NewEndOfListing);    end;    /// <summary>    /// Defines if all batches of directory or file listing has been received.    /// </summary>    /// <returns>End of listing reached.</returns>    procedure IsEndOfListing(): Boolean    begin        exit(FilePaginationDataImpl.IsEndOfListing());    end;}