杜洪波
2024-08-23 eca3b2b155c13a16cfeda2b10ce4f55eb1876975
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
package com.product.file.service.ide;
 
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 IDocumentService {
 
  /**
   *     新增文档
   * @param
   * @return
   * @throws BaseException
   */
  String addDocument(FieldSetEntity fieldSetEntity) throws BaseException;
 
  /**
   *     修改文档名称
   * @param
   * @return
   * @throws BaseException
   */
  boolean upDocumentName(FieldSetEntity fieldSetEntity) throws BaseException;
 
  /**
   *     删除文档
   * @param
   * @return
   * @throws BaseException
   */
  boolean delDocument(FieldSetEntity fieldSetEntity) throws BaseException;
 
  /**
   *     根据文档目录获取文档列表
   * @param
   * @return
   * @throws BaseException
   */
  DataTableEntity documentAll(FieldSetEntity fieldSetEntity) throws BaseException;
 
  /**
   *     文档详情
   * @param
   * @return
   * @throws BaseException
   */
  FieldSetEntity documentInfo(FieldSetEntity fieldSetEntity) throws BaseException;
 
  /**
   *     记录文档操作
   * @param
   * @return
   * @throws BaseException
   */
  void documentation(Object[] uuid, String opetype, Object[] file_name, String file_directory) throws BaseException;
  /**
   *     重命名记录文档操作
   * @param
   * @return
   * @throws BaseException
   */
  void documentRepeatOrder(Object[] uuid, String opetype, Object[] file_name, Object[] newFile_name) throws BaseException;
  /**
   * 获取当前用户文档目录按钮权限权限
   * 权限0(新建文件夹),1(查看),2(下载),3(新增),4(修改),5(删除),6(文件移动)
   * @param
   * @return
   * @throws BaseException
   */
  FieldSetEntity getButtonPermissions(FieldSetEntity fieldSetEntity) throws BaseException;
  /**
   * 弹出移动目录框
   * @param
   * @return
   * @throws BaseException
   */
  JSONObject popBoxGetFileDirectory(FieldSetEntity fieldSetEntity)throws BaseException;
 
  /**
   * 下载文件
   * @param
   * @return
   * @throws BaseException
   */
  void downloadFile(FieldSetEntity fieldSetEntity)throws BaseException;
 
  /**
   * 下载时必读标记为已读
   * @param
   * @return
   * @throws BaseException
   */
  void markRead(FieldSetEntity fieldSetEntity)throws BaseException;
  /**
   * 移动(文件批量移动)6
   * @param
   * @return
   * @throws BaseException
   */
  boolean fileMoveTo(FieldSetEntity fse) throws BaseException;
  /**
   * 通过文件uuid获取文档日志
   * @param fieldSet 文件uuid
   * @return
   * @throws BaseException
   */
  DataTableEntity getDocumentLog(FieldSetEntity fieldSet)throws BaseException;
 
  /**
   * 获取借阅文档的列表
   * @return
   * @throws BaseException
   */
  DataTableEntity getApplyDocument(FieldSetEntity fse) throws BaseException;
 
  /**
   * 更新添加借阅申请
   * @throws BaseException
   */
  void  addOrUpdateApplyDocument(FieldSetEntity fse) throws  BaseException;
 
  /**
   * 获取借阅文档排名
   * @return
   * @throws BaseException
   */
 
  DataTableEntity getApplyFileSort() throws BaseException;
 
  /**
   * 获取借阅人排名
   * @return
   * @throws BaseException
   */
  DataTableEntity getApplyUserSort() throws BaseException;
 
  /**
   * 获取借阅详情信息
   * @param fes
   * @return
   * @throws BaseException
   */
  FieldSetEntity getApplyInfo(FieldSetEntity fes) throws  BaseException;
 
}