using Learun.Util;
using System.Collections.Generic;
namespace Learun.Application.Base.Files
{
///
/// 版 本 Learun-ADMS V7.0.3 力软敏捷开发框架
/// Copyright (c) 2013-2018 上海力软信息技术有限公司
/// 创 建:超级管理员
/// 日 期:2019-11-29 14:04
/// 描 述:文件管理
///
public interface FileInfoIBLL
{
#region 获取数据
///
/// 获取表实体数据
///
/// 主键
///
FileBInfoEntity GetEntity(string keyValue);
///
/// 获取文件列表实体
///
///
///
FilelistEntity GetListEntity(string keyValue);
///
/// 获取文件列表实体
///
///
///
FilelistEntity GetListEntityByInfoId(string fileInfoId);
///
/// 文件审核列表
///
/// 查询语句
/// 分页参数
/// 查询关键字
/// 当前用户Id
///
IEnumerable GetWfPageList(string strWfSql, Pagination pagination, string keyword,string userId);
///
/// 获取正式发布的文件
///
/// 查询关键字
/// 文件夹id
///
IEnumerable GetAllPublishPageList(string keyword, string folderId);
///
/// 获取正式发布的文件
///
/// 查询关键字
/// 文件夹id
///
IEnumerable GetPublishList(string keyword, string folderId);
///
/// 获取文件的历史信息
///
/// 主键
///
IEnumerable GetHistoryList(string fileInfoId);
///
/// 获取正式发布的文件
///
/// 查询关键字
///
IEnumerable GetDeleteList(string keyword);
#endregion
#region 提交数据
///
/// 保存数据
///
/// 文件列表主键
/// 文件主信息
/// 文件列表信息
void SaveEntity(string keyValue, FileBInfoEntity fileBInfoEntity, FilelistEntity filelistEntity);
///
/// 更新文件发布状态
///
/// 流程实例主键
void UpdateEntity(string processId);
///
/// 虚拟删除文件
///
/// 主键
void VDeleteEntity(string keyValue);
///
/// 还原虚拟删除文件
///
/// 主键
void RecoveryEntity(string keyValue);
///
/// 彻底删除
///
///
void DeleteEntity(string keyValue);
#endregion
}
}