Interface IFolderManager
Assembly: DotNetNuke.dll
Syntax
public interface IFolderManager
Properties
MyFolderName
Declaration
string MyFolderName { get; }
Property Value
Methods
AddAllUserReadPermission(IFolderInfo, PermissionInfo)
Declaration
void AddAllUserReadPermission(IFolderInfo folder, PermissionInfo permission)
Parameters
AddFolder(FolderMappingInfo, string)
Declaration
IFolderInfo AddFolder(FolderMappingInfo folderMapping, string folderPath)
Parameters
Returns
AddFolder(FolderMappingInfo, string, string)
Declaration
IFolderInfo AddFolder(FolderMappingInfo folderMapping, string folderPath, string mappedPath)
Parameters
Returns
AddFolder(int, string)
Declaration
IFolderInfo AddFolder(int portalId, string folderPath)
Parameters
Type |
Name |
Description |
int |
portalId |
|
string |
folderPath |
|
Returns
CopyParentFolderPermissions(IFolderInfo)
Declaration
void CopyParentFolderPermissions(IFolderInfo folder)
Parameters
DeleteFolder(IFolderInfo)
Declaration
void DeleteFolder(IFolderInfo folder)
Parameters
DeleteFolder(IFolderInfo, ICollection<IFolderInfo>)
Declaration
void DeleteFolder(IFolderInfo folder, ICollection<IFolderInfo> notDeletedSubfolders)
Parameters
DeleteFolder(int)
Declaration
void DeleteFolder(int folderId)
Parameters
Type |
Name |
Description |
int |
folderId |
|
FolderExists(int, string)
Declaration
bool FolderExists(int portalId, string folderPath)
Parameters
Type |
Name |
Description |
int |
portalId |
|
string |
folderPath |
|
Returns
GetFileSystemFolders(UserInfo, string)
Declaration
IEnumerable<IFolderInfo> GetFileSystemFolders(UserInfo user, string permissions)
Parameters
Returns
GetFiles(IFolderInfo)
Declaration
IEnumerable<IFileInfo> GetFiles(IFolderInfo folder)
Parameters
Returns
GetFiles(IFolderInfo, bool)
Declaration
IEnumerable<IFileInfo> GetFiles(IFolderInfo folder, bool recursive)
Parameters
Returns
GetFiles(IFolderInfo, bool, bool)
Declaration
IEnumerable<IFileInfo> GetFiles(IFolderInfo folder, bool recursive, bool retrieveUnpublishedFiles)
Parameters
Returns
GetFolder(Guid)
Declaration
IFolderInfo GetFolder(Guid uniqueId)
Parameters
Type |
Name |
Description |
Guid |
uniqueId |
|
Returns
GetFolder(int)
Declaration
IFolderInfo GetFolder(int folderId)
Parameters
Type |
Name |
Description |
int |
folderId |
|
Returns
GetFolder(int, string)
Declaration
IFolderInfo GetFolder(int portalId, string folderPath)
Parameters
Type |
Name |
Description |
int |
portalId |
|
string |
folderPath |
|
Returns
GetFolders(UserInfo)
Declaration
IEnumerable<IFolderInfo> GetFolders(UserInfo user)
Parameters
Returns
GetFolders(UserInfo, string)
Declaration
IEnumerable<IFolderInfo> GetFolders(UserInfo user, string permissions)
Parameters
Returns
GetFolders(IFolderInfo)
Declaration
IEnumerable<IFolderInfo> GetFolders(IFolderInfo parentFolder)
Parameters
Returns
GetFolders(int)
Declaration
IEnumerable<IFolderInfo> GetFolders(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
Returns
GetFolders(int, bool)
Declaration
IEnumerable<IFolderInfo> GetFolders(int portalId, bool useCache)
Parameters
Type |
Name |
Description |
int |
portalId |
|
bool |
useCache |
|
Returns
GetFolders(int, string, int)
Declaration
IEnumerable<IFolderInfo> GetFolders(int portalId, string permissions, int userId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
string |
permissions |
|
int |
userId |
|
Returns
GetUserFolder(UserInfo)
Declaration
IFolderInfo GetUserFolder(UserInfo userInfo)
Parameters
Returns
MoveFolder(IFolderInfo, IFolderInfo)
Declaration
IFolderInfo MoveFolder(IFolderInfo folder, IFolderInfo destinationFolder)
Parameters
Returns
RenameFolder(IFolderInfo, string)
Declaration
void RenameFolder(IFolderInfo folder, string newFolderName)
Parameters
SearchFiles(IFolderInfo, string, bool)
Declaration
IEnumerable<IFileInfo> SearchFiles(IFolderInfo folder, string pattern, bool recursive = false)
Parameters
Returns
SetFolderPermission(IFolderInfo, int, int)
Declaration
void SetFolderPermission(IFolderInfo folder, int permissionId, int roleId)
Parameters
SetFolderPermission(IFolderInfo, int, int, int)
Declaration
void SetFolderPermission(IFolderInfo folder, int permissionId, int roleId, int userId)
Parameters
SetFolderPermissions(IFolderInfo, int)
Declaration
void SetFolderPermissions(IFolderInfo folder, int administratorRoleId)
Parameters
Synchronize(int)
Declaration
int Synchronize(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
Returns
Synchronize(int, string)
Declaration
int Synchronize(int portalId, string relativePath)
Parameters
Type |
Name |
Description |
int |
portalId |
|
string |
relativePath |
|
Returns
Synchronize(int, string, bool, bool)
Declaration
int Synchronize(int portalId, string relativePath, bool isRecursive, bool syncFiles)
Parameters
Type |
Name |
Description |
int |
portalId |
|
string |
relativePath |
|
bool |
isRecursive |
|
bool |
syncFiles |
|
Returns
UnlinkFolder(IFolderInfo)
Declaration
void UnlinkFolder(IFolderInfo folder)
Parameters
UpdateFolder(IFolderInfo)
Declaration
IFolderInfo UpdateFolder(IFolderInfo folder)
Parameters
Returns
Extension Methods