using LeaRun.Application.Entity.PublicInfoManage;
using System.Collections.Generic;
namespace LeaRun.Application.IService.PublicInfoManage
{
///
/// 版 本 6.1
/// Copyright (c) 2013-2016 上海力软信息技术有限公司
/// 创建人:佘赐雄
/// 日 期:2015.12.15 10:56
/// 描 述:文件夹
///
public interface IFileFolderService
{
#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 SaveForm(string keyValue, FileFolderEntity fileFolderEntity);
///
/// 共享文件夹
///
/// 主键
/// 是否共享:1-共享 0取消共享
void ShareFolder(string keyValue, int IsShare);
#endregion
}
}