Telligent.Evolution.Extensibility.Storage.Version1.CentralizedFileStorage is defined in Telligent.Evolution.Components.dll
Properties
| Name | Type | Description | Default | Options |
|---|
| DirectorySeparator | Char | | | |
| ValidFileNameRegexPattern | string | | | |
| ValidFileStoreKeyRegexPattern | string | | | |
| ValidPathRegexPattern | string | | | |
Methods
bool CurrentUserHasAccess(string fileStoreKey, string path, string fileName);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| fileStoreKey | string | File Store Key | Required | | |
| path | string | Path | Required | | |
| fileName | string | File Name | Required | | |
Return Type
bool
bool FindFile(ref string fileStoreKey, ref string path, ref string fileName);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| fileStoreKey | ref string | File Store Key | Required | | |
| path | ref string | Path | Required | | |
| fileName | ref string | File Name | Required | | |
Return Type
bool
ICentralizedFile GetCentralizedFileByUrl(string url);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| url | string | Url | Required | | |
Return Type
ICentralizedFile
ICentralizedFileStorageProvider GetFileStore(string fileStoreKey);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| fileStoreKey | string | File Store Key | Required | | |
Return Type
ICentralizedFileStorageProvider
string GetGenericDownloadUrl(string fileStoreKey, string path, string fileName);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| fileStoreKey | string | File Store Key | Required | | |
| path | string | Path | Required | | |
| fileName | string | File Name | Required | | |
Return Type
string
string GetGenericDownloadUrl(ICentralizedFile file);
Parameters
Return Type
string
string GetPersistentDownloadUrl(ICentralizedFile file);
Parameters
Return Type
string
string GetPersistentDownloadUrl(string genericDownloadUrl);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| genericDownloadUrl | string | Generic Download Url | Required | | |
Return Type
string
string GetUniqueFileName(ICentralizedFileStorageProvider provider, string path, string fileName);
Parameters
Return Type
string
bool HasAccessValidator(string fileStoreKey);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| fileStoreKey | string | File Store Key | Required | | |
Return Type
bool
bool HasFileFinder(string fileStoreKey);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| fileStoreKey | string | File Store Key | Required | | |
Return Type
bool
ICentralizedFileStorageProvider Instance(string fileStoreKey);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| fileStoreKey | string | File Store Key | Required | | |
Return Type
ICentralizedFileStorageProvider
bool IsCentralizedFileUrl(string url);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| url | string | Url | Required | | |
Return Type
bool
bool IsValid(string fileStoreKey, string path, string fileName);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| fileStoreKey | string | File Store Key | Required | | |
| path | string | Path | Required | | |
| fileName | string | File Name | Required | | |
Return Type
bool
bool IsValidFileName(string fileName);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| fileName | string | File Name | Required | | |
Return Type
bool
bool IsValidFileStoreKey(string fileStoreKey);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| fileStoreKey | string | File Store Key | Required | | |
Return Type
bool
bool IsValidPath(string path);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| path | string | Path | Required | | |
Return Type
bool
string MakePath(params String[] pathComponents);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| pathComponents | string[] | Path Components | Required | | |
Return Type
string