Class AssetManager
Assembly: DotNetNuke.dll
Syntax
public class AssetManager : ComponentBase<IAssetManager, AssetManager>, IAssetManager
Constructors
AssetManager()
Declaration
Methods
ApplyOrder<T>(IQueryable<T>, string, bool)
Declaration
public static IOrderedQueryable<T> ApplyOrder<T>(IQueryable<T> source, string propertyName, bool asc)
Parameters
Returns
Type Parameters
CreateFolder(string, int, int, string)
Declaration
public IFolderInfo CreateFolder(string folderName, int folderParentId, int folderMappingId, string mappedPath)
Parameters
| Type |
Name |
Description |
| string |
folderName |
|
| int |
folderParentId |
|
| int |
folderMappingId |
|
| string |
mappedPath |
|
Returns
DeleteFile(int)
Declaration
public bool DeleteFile(int fileId)
Parameters
| Type |
Name |
Description |
| int |
fileId |
|
Returns
DeleteFolder(int, bool, ICollection<IFolderInfo>)
Declaration
public bool DeleteFolder(int folderId, bool onlyUnlink, ICollection<IFolderInfo> nonDeletedSubfolders)
Parameters
Returns
GetFolderContent(int, int, int, string, SubfolderFilter)
Declaration
public ContentPage GetFolderContent(int folderId, int startIndex, int numItems, string sortExpression = null, SubfolderFilter subfolderFilter = SubfolderFilter.IncludeSubfoldersFolderStructure)
Parameters
Returns
GetFolders(IFolderInfo, string, bool)
Declaration
public IEnumerable<IFolderInfo> GetFolders(IFolderInfo parentFolder, string orderingField, bool asc)
Parameters
Returns
HasPermission(IFolderInfo, string)
Declaration
public static bool HasPermission(IFolderInfo folder, string permissionKey)
Parameters
Returns
RenameFile(int, string)
Declaration
public IFileInfo RenameFile(int fileId, string newFileName)
Parameters
| Type |
Name |
Description |
| int |
fileId |
|
| string |
newFileName |
|
Returns
RenameFolder(int, string)
Declaration
public IFolderInfo RenameFolder(int folderId, string newFolderName)
Parameters
| Type |
Name |
Description |
| int |
folderId |
|
| string |
newFolderName |
|
Returns
SearchFolderContent(int, string, int, int, string, SubfolderFilter)
Declaration
public ContentPage SearchFolderContent(int folderId, string pattern, int startIndex, int numItems, string sortExpression = null, SubfolderFilter subfolderFilter = SubfolderFilter.IncludeSubfoldersFolderStructure)
Parameters
Returns
Implements
Extension Methods