1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- using LeaRun.Application.Entity.PublicInfoManage;
- using System.Collections.Generic;
- namespace LeaRun.Application.IService.PublicInfoManage
- {
- /// <summary>
- /// 版 本 6.1
- /// Copyright (c) 2013-2016 上海力软信息技术有限公司
- /// 创建人:佘赐雄
- /// 日 期:2015.12.15 10:56
- /// 描 述:文件夹
- /// </summary>
- public interface IFileFolderService
- {
- #region 获取数据
- /// <summary>
- /// 文件夹列表
- /// </summary>
- /// <param name="userId">用户Id</param>
- /// <returns></returns>
- IEnumerable<FileFolderEntity> GetList(string userId);
- /// <summary>
- /// 文件夹实体
- /// </summary>
- /// <param name="keyValue">主键值</param>
- /// <returns></returns>
- FileFolderEntity GetEntity(string keyValue);
- #endregion
- #region 提交数据
- /// <summary>
- /// 还原文件夹
- /// </summary>
- /// <param name="keyValue">主键</param>
- void RestoreFile(string keyValue);
- /// <summary>
- /// 删除文件夹
- /// </summary>
- /// <param name="keyValue">主键</param>
- void RemoveForm(string keyValue);
- /// <summary>
- /// 彻底删除文件夹
- /// </summary>
- /// <param name="keyValue">主键</param>
- void ThoroughRemoveForm(string keyValue);
- /// <summary>
- /// 保存文件夹表单(新增、修改)
- /// </summary>
- /// <param name="keyValue">主键值</param>
- /// <param name="fileFolderEntity">文件夹实体</param>
- /// <returns></returns>
- void SaveForm(string keyValue, FileFolderEntity fileFolderEntity);
- /// <summary>
- /// 共享文件夹
- /// </summary>
- /// <param name="keyValue">主键</param>
- /// <param name="IsShare">是否共享:1-共享 0取消共享</param>
- void ShareFolder(string keyValue, int IsShare);
- #endregion
- }
- }
|