Example #1
0
 public static int AddFolderReturnFolderID(Folder folder)
 {
     try
     {
         return(FileMangerDataProvider.AddFolderReturnFolderID(folder));
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #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;
     }
 }
Example #3
0
 public static void AddUpdateSettings(List <FileManagerSettingInfo> lstSettings)
 {
     try
     {
         FileMangerDataProvider.AddUpdateSettings(lstSettings);
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #4
0
 public static List <Folder> GetAllFolders()
 {
     try
     {
         return(FileMangerDataProvider.GetAllFolders());
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #5
0
 public static List <string> GetModulePermission(int UserModuleID, string UserName)
 {
     try
     {
         return(FileMangerDataProvider.GetModulePermission(UserModuleID, UserName));
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #6
0
 public static List <FolderPermission> GetUserListForFolder(int FolderID)
 {
     try
     {
         return(FileMangerDataProvider.GetUserListForFolder(FolderID));
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #7
0
 public static ATTFile GetFileDetails(int FileID)
 {
     try
     {
         return(FileMangerDataProvider.GetFileDetails(FileID));
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #8
0
 public static int GetUserID(string userName)
 {
     try
     {
         return(FileMangerDataProvider.GetUserID(userName));
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #9
0
 public static void DeleteExistingPermissions(int FolderID)
 {
     try
     {
         FileMangerDataProvider.DeleteExistingPermissions(FolderID);
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #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;
     }
 }
Example #11
0
 public static void EnableRootFolder(int FolderID, bool IsEnabled)
 {
     try
     {
         FileMangerDataProvider.EnableRootFolder(FolderID, IsEnabled);
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #12
0
 public static List <FileManagerSettingInfo> GetFileManagerSettings(int UserModuleID, int PortalID)
 {
     try
     {
         return(FileMangerDataProvider.GetFileManagerSettings(UserModuleID, PortalID));
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #13
0
 public static void DeleteFileFolder(int FolderID, int FileID)
 {
     try
     {
         FileMangerDataProvider.DeleteFileFolder(FolderID, FileID);
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #14
0
 public static void UpdateFile(int FileID, string fileName)
 {
     try
     {
         FileMangerDataProvider.UpdateFile(FileID, fileName);
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #15
0
 public static void AddFolder(Folder folder)
 {
     try
     {
         FileMangerDataProvider.AddFolder(folder);
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #16
0
 public static List <ATTFile> SearchFiles(string SearchQuery)
 {
     try
     {
         return(FileMangerDataProvider.SearchFiles(SearchQuery));
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #17
0
 public static List <ATTFile> GetFiles(int FolderID)
 {
     try
     {
         return(FileMangerDataProvider.GetFiles(FolderID));
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #18
0
 public static void AddFile(ATTFile file)
 {
     try
     {
         FileMangerDataProvider.AddFile(file);
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #19
0
 public static List <Folder> GetFolders()
 {
     return(FileMangerDataProvider.GetFolders());
 }