Table of Contents

FileManagerFolder Class

Definition

Namespace
GleamTech.FileUltimate.AspNet.UI
Assembly
GleamTech.FileUltimate.dll

Defines a folder under a root folder for the file manager.

public sealed class FileManagerFolder
Inheritance
FileManagerFolder

Properties

FullPath

Gets the full path of the folder specified in format [RootFolderName]:\Some\Folder

IsRoot

Gets a value indicating whether this folder is the root folder.

Path

Gets the path of the folder relative to the parent root folder.

RootName

Gets the name of the parent root folder.

Methods

CalculateQuotaUsedSize(bool)

Calculates used quota size for this folder.

CheckCreation()

Checks if this folder is allowed to be created.

CheckDiscovery()

Checks if this folder is allowed to be discovered.

CheckFileCreation(string)

Checks if the specified file under this folder is allowed to be created.

CheckFileDiscovery(string)

Checks if the specified file under this folder is allowed to be discovered.

CheckFolderCreation(string)

Checks if the specified folder under this folder is allowed to be created.

CheckFolderDiscovery(string)

Checks if the specified folder under this folder is allowed to be discovered.

CheckPermissions(FileManagerPermissions)

Checks if the specified permissions are allowed for this folder.

CheckPermissionsAny(FileManagerPermissions)

Checks if any of the specified permissions are allowed for this folder.

DemandArchiveSize(long, ByteSizeValue, string)

Checks if the specified archive file with size under this folder is allowed to be created, and throws an exception if not.

DemandCreation()

Checks if this folder is allowed to be created, and throws an exception if not.

DemandDiscovery()

Checks if this folder is allowed to be discovered and throws an exception if not.

DemandFileCreation(string)

Checks if the specified file under this folder is allowed to be created, and throws an exception if not.

DemandFileDiscovery(string)

Checks if the specified file under this folder is allowed to be discovered, and throws an exception if not.

DemandFolderCreation(string)

Checks if the specified folder under this folder is allowed to be created, and throws an exception if not.

DemandFolderDiscovery(string)

Checks if the specified folder under this folder is allowed to be discovered, and throws an exception if not.

DemandPermissions(FileManagerPermissions)

Checks if the specified permissions are allowed for this folder and throws an exception if not.

DemandPermissionsAny(FileManagerPermissions)

Checks if any of the specified permissions are allowed for this folder and throws an exception if not.

DemandQuota(long, string)

Checks if the specified file with size under this folder is allowed to be created, and throws an exception if not.

GetFileSystem()

Gets file system for the folder.

GetFolder(string)

Gets a folder under this folder.

GetParent()

Gets the parent of this folder. Returns null if this is the root folder.

GetQuotaUsedSize()

Gets current used quota size for this folder.

IsChildOfSameRootFolder(FileManagerFolder)

Returns a value indicating whether the specified folder is child of this folder's parent root folder.

SetQuotaUsedSize(long)

Sets used quota size for this folder if its known beforehand.

SharesQuota(FileManagerFolder)

Returns a value indicating whether the specified folder shares quota with this folder.