示例#1
0
 public static int AddFolderReturnFolderID(Folder folder)
 {
     try
     {
         return(FileMangerDataProvider.AddFolderReturnFolderID(folder));
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#2
0
 public static void MoveFile(int FileID, int FolderID, string Folder, Guid UniqueID, Guid VersionGuid)
 {
     try
     {
         FileMangerDataProvider.MoveFile(FileID, FolderID, Folder, UniqueID, VersionGuid);
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#3
0
 public static void AddUpdateSettings(List <FileManagerSettingInfo> lstSettings)
 {
     try
     {
         FileMangerDataProvider.AddUpdateSettings(lstSettings);
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#4
0
 public static List <Folder> GetAllFolders()
 {
     try
     {
         return(FileMangerDataProvider.GetAllFolders());
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#5
0
 public static List <string> GetModulePermission(int UserModuleID, string UserName)
 {
     try
     {
         return(FileMangerDataProvider.GetModulePermission(UserModuleID, UserName));
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#6
0
 public static List <FolderPermission> GetUserListForFolder(int FolderID)
 {
     try
     {
         return(FileMangerDataProvider.GetUserListForFolder(FolderID));
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#7
0
 public static ATTFile GetFileDetails(int FileID)
 {
     try
     {
         return(FileMangerDataProvider.GetFileDetails(FileID));
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#8
0
 public static int GetUserID(string userName)
 {
     try
     {
         return(FileMangerDataProvider.GetUserID(userName));
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#9
0
 public static void DeleteExistingPermissions(int FolderID)
 {
     try
     {
         FileMangerDataProvider.DeleteExistingPermissions(FolderID);
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#10
0
 public static void SetFolderPermission(int FolderID, string PermissionKey, int UserID, Guid RoleID, int IsActive, string AddedBy)
 {
     try
     {
         FileMangerDataProvider.SetFolderPermission(FolderID, PermissionKey, UserID, RoleID, IsActive, AddedBy);
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#11
0
 public static void EnableRootFolder(int FolderID, bool IsEnabled)
 {
     try
     {
         FileMangerDataProvider.EnableRootFolder(FolderID, IsEnabled);
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#12
0
 public static List <FileManagerSettingInfo> GetFileManagerSettings(int UserModuleID, int PortalID)
 {
     try
     {
         return(FileMangerDataProvider.GetFileManagerSettings(UserModuleID, PortalID));
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#13
0
 public static void DeleteFileFolder(int FolderID, int FileID)
 {
     try
     {
         FileMangerDataProvider.DeleteFileFolder(FolderID, FileID);
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#14
0
 public static void UpdateFile(int FileID, string fileName)
 {
     try
     {
         FileMangerDataProvider.UpdateFile(FileID, fileName);
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#15
0
 public static void AddFolder(Folder folder)
 {
     try
     {
         FileMangerDataProvider.AddFolder(folder);
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#16
0
 public static List <ATTFile> SearchFiles(string SearchQuery)
 {
     try
     {
         return(FileMangerDataProvider.SearchFiles(SearchQuery));
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#17
0
 public static List <ATTFile> GetFiles(int FolderID)
 {
     try
     {
         return(FileMangerDataProvider.GetFiles(FolderID));
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#18
0
 public static void AddFile(ATTFile file)
 {
     try
     {
         FileMangerDataProvider.AddFile(file);
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#19
0
 public static List <Folder> GetFolders()
 {
     return(FileMangerDataProvider.GetFolders());
 }