package com.product.file.service.ide; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.product.core.entity.DataTableEntity; import com.product.core.entity.FieldSetEntity; import com.product.core.exception.BaseException; /** * Copyright LX-BASE * * @Title: ClaimExpenseController * @Project: LX-BASE-SERVER * @Date: 2020-11-18 11:30:48 * @Author: luoxin * @Description: 文件夹管理接口 */ public interface IDocumentDirectoryService { /** * 新增文档目录 * @param * @return * @throws BaseException */ String addDocumentDirectory(FieldSetEntity fieldSetEntity) throws BaseException; /** * 修改文档目录 * @param * @return * @throws BaseException */ boolean upDocumentDirectory(FieldSetEntity fieldSetEntity) throws BaseException; /** * 删除文档目录 * @param * @return * @throws BaseException */ boolean delDocumentDirectory(FieldSetEntity fieldSetEntity) throws BaseException; /** * 获取单个文档目录结构 * @param * @return * @throws BaseException */ DataTableEntity getDirectoryStructure(FieldSetEntity fieldSetEntity) throws BaseException; /** * 获取文档目录树形列表 * @param * @return * @throws BaseException */ JSONArray treeListAll(FieldSetEntity fieldSetEntity) throws BaseException; /** * 封装树方法 * @param * @return * @throws BaseException */ JSONArray encapsulationTree(DataTableEntity dataTableEntity) throws BaseException; /** * 获取文件详情 * @param * @return * @throws BaseException */ FieldSetEntity documentDirectoryInfo(FieldSetEntity fieldSetEntity) throws BaseException; /** * 移动到目录列表(根据当前用户过滤展示目录列表) * @param * @return * @throws BaseException */ DataTableEntity moveToList(FieldSetEntity fse) throws BaseException; /** * 个人文件夹目录重复名 * @param * @return * @throws BaseException */ boolean upDocumentDirectoryName(FieldSetEntity fse) throws BaseException; }