Show / Hide Table of Contents

Interface IAssetManager

Namespace: DotNetNuke.Services.Assets
Assembly: DotNetNuke.dll
Syntax
public interface IAssetManager

Methods

CreateFolder(string, int, int, string)

Declaration
IFolderInfo CreateFolder(string folderName, int folderParentId, int folderMappingId, string mappedPath)
Parameters
Type Name Description
string folderName
int folderParentId
int folderMappingId
string mappedPath
Returns
Type Description
IFolderInfo

DeleteFile(int)

Declaration
bool DeleteFile(int fileId)
Parameters
Type Name Description
int fileId
Returns
Type Description
bool

DeleteFolder(int, bool, ICollection<IFolderInfo>)

Declaration
bool DeleteFolder(int folderId, bool onlyUnlink, ICollection<IFolderInfo> nonDeletedSubfolders)
Parameters
Type Name Description
int folderId
bool onlyUnlink
ICollection<IFolderInfo> nonDeletedSubfolders
Returns
Type Description
bool

GetFolderContent(int, int, int, string, SubfolderFilter)

Declaration
ContentPage GetFolderContent(int folderId, int startIndex, int numItems, string sortExpression = null, SubfolderFilter subfolderFilter = SubfolderFilter.IncludeSubfoldersFolderStructure)
Parameters
Type Name Description
int folderId
int startIndex
int numItems
string sortExpression
SubfolderFilter subfolderFilter
Returns
Type Description
ContentPage

GetFolders(IFolderInfo, string, bool)

Declaration
IEnumerable<IFolderInfo> GetFolders(IFolderInfo parentFolder, string orderingField, bool asc)
Parameters
Type Name Description
IFolderInfo parentFolder
string orderingField
bool asc
Returns
Type Description
IEnumerable<IFolderInfo>

RenameFile(int, string)

Declaration
IFileInfo RenameFile(int fileId, string newFileName)
Parameters
Type Name Description
int fileId
string newFileName
Returns
Type Description
IFileInfo

RenameFolder(int, string)

Declaration
IFolderInfo RenameFolder(int folderId, string newFolderName)
Parameters
Type Name Description
int folderId
string newFolderName
Returns
Type Description
IFolderInfo

SearchFolderContent(int, string, int, int, string, SubfolderFilter)

Declaration
ContentPage SearchFolderContent(int folderId, string pattern, int startIndex, int numItems, string sortExpression = null, SubfolderFilter subfolderFilter = SubfolderFilter.IncludeSubfoldersFolderStructure)
Parameters
Type Name Description
int folderId
string pattern
int startIndex
int numItems
string sortExpression
SubfolderFilter subfolderFilter
Returns
Type Description
ContentPage

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS