FileService: FileService

FileServiceR Documentation

FileService

Description

FileService

FileService

Format

R6Class object.

Methods

upload(file,bytes)

method

append(file,bytes)

method

download(fileDocumentId)

method

Super class

tercenApi::HttpClientService -> FileService

Methods

Public methods

Inherited methods

Method new()

Usage
FileService$new(baseRestUri, client)

Method findFileByWorkflowIdAndStepId()

Usage
FileService$findFileByWorkflowIdAndStepId(
  startKey = NULL,
  endKey = NULL,
  limit = 20,
  skip = 0,
  descending = TRUE,
  useFactory = FALSE
)

Method findByDataUri()

Usage
FileService$findByDataUri(
  startKey = NULL,
  endKey = NULL,
  limit = 20,
  skip = 0,
  descending = TRUE,
  useFactory = FALSE
)

Method upload()

Usage
FileService$upload(file, bytes)

Method append()

Usage
FileService$append(file, bytes)

Method download()

Usage
FileService$download(fileDocumentId)

Method clone()

The objects of this class are cloneable with this method.

Usage
FileService$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


tercen/teRcenApi documentation built on Feb. 8, 2024, 5:59 p.m.