using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Learun.Application.OA.File.FileFolder
{
///
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
/// Copyright (c) 2013-2017
/// 创建人:陈彬彬
/// 日 期:2018.06.20
/// 描 述:文件管理
///
public interface FileFolderIBLL
{
# region 获取数据
///
/// 文件夹列表
///
/// 用户Id
///
IEnumerable GetList(string userId);
///
/// 文件夹实体
///
/// 主键值
///
FileFolderEntity GetEntity(string keyValue);
#endregion
#region 提交数据
///
/// 还原文件夹
///
/// 主键
void RestoreFile(string keyValue);
///
/// 删除文件夹
///
/// 主键
void RemoveForm(string keyValue);
///
/// 彻底删除文件夹
///
/// 主键
void ThoroughRemoveForm(string keyValue);
///
/// 清空回收站
///
void EmptyRecycledForm();
///
/// 保存文件夹表单(新增、修改)
///
/// 主键值
/// 文件夹实体
///
void SaveForm(string keyValue, FileFolderEntity fileFolderEntity);
///
/// 共享文件夹
///
/// 主键
/// 是否共享:1-共享 0取消共享
void ShareFolder(string keyValue, int IsShare = 1);
#endregion
}
}