Open this page in the API Guide

FileController Class

The REST API for performing administration tasks on a file.
Inheritance Hierarchy
System.Object
  Microsoft.AspNetCore.Mvc.ControllerBase
    Dundas.BI.WebApi.Controllers.ApiControllerBase
      Dundas.BI.WebApi.Controllers.FileSystemEntryControllerBase
        Dundas.BI.WebApi.Controllers.FileController

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public class FileController : FileSystemEntryControllerBase

The FileController type exposes the following members.

Constructors
  NameDescription
Public methodFileController
Initializes a new instance of the FileController class.
Top
Properties
  NameDescription
Protected propertyFileSystemService
Gets the file system service.
(Inherited from FileSystemEntryControllerBase.)
Top
Methods
  NameDescription
Public methodAddRecentlyUsed
Adds the given file ID to the list of recently used items.
Protected methodAddToMostRecentlyUsed
Adds the given file ID to the list of recently used items.
(Inherited from FileSystemEntryControllerBase.)
Public methodBatchDelete
Deletes the files or folders with the specified IDs.
Public methodCheckIn(CheckInIdsOptions, Nullable<Guid>)
Checks in files with the specified IDs and comments.
Public methodCheckIn(Guid, CheckInOptions, Nullable<Guid>)
Checks in the file with the specified ID and comments.
Public methodCheckOut(Guid, Nullable<Guid>)
Checks out the file with the specified ID to the caller.
Public methodCheckOut(Guid[], Nullable<Guid>)
Checks out files with the specified IDs to the caller.
Protected methodClearMostRecentlyUsed
Gets the most recently used files for the current user.
(Inherited from FileSystemEntryControllerBase.)
Public methodClearRecentlyUsed
Clears the most recently used items.
Protected methodCopyEntry
Copies the file system entry with the specified ID to the new location.
(Inherited from FileSystemEntryControllerBase.)
Public methodCopyFile
Copies the file with the specified ID.
Public methodCreateFolder
Creates a folder in the application's file system.
Public methodDelete(BatchDeleteOptions, Nullable<Guid>) Obsolete.
OBSOLETE - Use POST /File/Delete instead. Deletes the files or folders with the specified IDs.
Public methodDelete(Guid, DeleteOptions, Nullable<Guid>)
Deletes the file or folder with the specified ID.
Public methodDeleteOldEntityData
Deletes data from entities which are not the current revision and were created before the specified date.
Public methodEmptyRecycleBin
Empties all of the recycled files or folders from the recycle bin.
Protected methodEnsureCallerContext
If the current context is not already the specified context, creates a new caller context which is a clone of the specified context and sets it as the current one.
(Inherited from ApiControllerBase.)
Protected methodEnsureFormFileMultipartContent
Ensures when form files are access the content is MIME multi-part which we want.
(Inherited from ApiControllerBase.)
Public methodEnsureVisible
Ensures that a particular entity is visible to the specified accounts and groups.
Protected methodEntryExists(Guid, Nullable<Guid>)
Determines whether an entry with the specified name exists in the specified folder.
(Inherited from FileSystemEntryControllerBase.)
Protected methodEntryExists(String, Guid, Nullable<Guid>)
Determines whether an entry with the specified name exists in the specified folder.
(Inherited from FileSystemEntryControllerBase.)
Public methodFileExists(Guid, Nullable<Guid>)
Determines whether a file with the specified ID exists.
Public methodFileExists(Guid, String, Nullable<Guid>)
Determines whether a file with the specified name exists in the specified folder.
Protected methodFileSystemQueryHelper
Retrieves information about multiple files or folders.
(Inherited from FileSystemEntryControllerBase.)
Public methodGetCheckedOutReferences
Gets the specified file's checked out references.
Protected methodGetClientIdFromCookieOrProvided
Gets the client ID from cookie or from the provided value, which is usually from the query string.
(Inherited from ApiControllerBase.)
Public methodGetDownstreamReferenceExplosion
Gets the references (downstream reference explosion) to the specified file. This is recursive.
Protected methodGetEntryTags
Gets a list of entry tags and their usage.
(Inherited from FileSystemEntryControllerBase.)
Public methodGetFileById
Gets the file or folder.
Public methodGetFileByName
Gets the file.
Public methodGetLastModifiedTime
Gets the file's last modified time for cache comparison.
Protected methodGetMostRecentlyUsed
Gets the most recently used files for the current user.
(Inherited from FileSystemEntryControllerBase.)
Public methodGetRecentlyUsed
Gets the most recently used files for the current user.
Public methodGetRecycleBinFolder
Gets the recycle bin folder.
Public methodGetReferencedBy
Gets the files referenced by the specified file.
Public methodGetReferencesTo
Gets the references to the specified file.
Protected methodGetService<T>
Gets the requested service.
(Inherited from ApiControllerBase.)
Protected methodGetSessionIdFromCookieHeaderOrProvided
Gets the session ID from cookie, the authorization header or from the provided value, which is usually from the query string.
(Inherited from ApiControllerBase.)
Public methodGetUnusedEntitiesForProject
Gets the unused entities found in the specified project.
Public methodGetUpstreamReferenceExplosion
Gets the references (upstream reference explosion) to the specified file. This is recursive.
Protected methodLoadSession
Creates a new caller context associated with the specified session ID. The session is not validated.
(Inherited from ApiControllerBase.)
Protected methodMoveEntry
Moves the file or folder with the specified ID.
(Inherited from FileSystemEntryControllerBase.)
Public methodMoveFile
Moves the file with the specified ID.
Public methodPromoteTransient
Promotes a transient file to a real one.
Public methodQueryFiles
Gets multiple files or folders.
Protected methodQueryFileSystemEntry
Retrieves information about multiple files or folders.
(Inherited from FileSystemEntryControllerBase.)
Protected methodQueryFileSystemEntryCount
Retrieves the number of files and folders that match the query options.
(Inherited from FileSystemEntryControllerBase.)
Public methodQueryNumberOfFiles
Gets the number of files and folders.
Public methodQueryRevision
Retrieves information about multiple files or folders revision history.
Protected methodRenameEntry
Renames the file or folder with the specified ID.
(Inherited from FileSystemEntryControllerBase.)
Public methodRenameFile
Renames the file with the specified ID.
Protected methodRequestFirstFormFile
Retrieves the first form file from the request.
(Inherited from ApiControllerBase.)
Protected methodRequestFormFiles
Retrieves the form files from the request.
(Inherited from ApiControllerBase.)
Public methodRestoreRecycleBin
Restores the recycled files or folders with the specified IDs.
Protected methodReturnInvalidWindowsIdentityResponse
Returns the invalid windows identity response to challenge the browser.
(Inherited from ApiControllerBase.)
Protected methodRevisionQuery
Retrieves information about multiple revisions on files or folders.
(Inherited from FileSystemEntryControllerBase.)
Protected methodRollbackEntry
Rolls the file or folder back to the specified revision number.
(Inherited from FileSystemEntryControllerBase.)
Public methodRollbackFile
Rolls the file with the specified ID back to the specified revision number.
Public methodSearchTags
Gets the tags that match the text passed in.
Public methodSetDescription
Updates a file's description.
Protected methodSetEntryDescription
Sets the entry description.
(Inherited from FileSystemEntryControllerBase.)
Protected methodSetEntryPrivileges
Sets the entry privileges.
(Inherited from FileSystemEntryControllerBase.)
Protected methodSetEntryTags
Sets an entry tags.
(Inherited from FileSystemEntryControllerBase.)
Public methodSetPrivileges
Updates a file's privileges.
Public methodSetTags
Updates a file's tags.
Protected methodTouchEntry(Guid, Nullable<Guid>)
Updates the last modified time of the entry with the specified ID.
(Inherited from FileSystemEntryControllerBase.)
Protected methodTouchEntry(Guid[], Nullable<Guid>)
Updates the last modified time of the entries with the specified IDs.
(Inherited from FileSystemEntryControllerBase.)
Public methodTouchFile(Guid, Nullable<Guid>)
Updates the last modified time of the file with the specified ID.
Public methodTouchFile(Guid[], Nullable<Guid>)
Updates the last modified time of files with the specified IDs.
Public methodTransferCheckOut
Transfers the checked out file with the specified ID to the specified account ID.
Public methodUndoCheckOut(Guid, Nullable<Guid>)
Discards the changes to the checked out file with the specified ID, and cancels the check out.
Public methodUndoCheckOut(Guid[], Nullable<Guid>)
Discards the changes to the checked out files with the specified IDs, and cancels the check out.
Top
See Also