javadoc 보완 수정

master
mjkhan21 2 years ago
parent 67c179fabb
commit b6b979052c

@ -71,7 +71,7 @@ public class FileInfo {
}
/** .
* @param infoType
* @param infoKey
* @return Relation
*/
public Relation setInfoKey(String infoKey) {
@ -87,7 +87,7 @@ public class FileInfo {
}
/** .
* @param infoType
* @param subType
* @return Relation
*/
public Relation setSubType(String subType) {

@ -50,12 +50,8 @@ import cokr.xit.foundation.data.DataObject;
@Mapper("fileMapper")
public interface FileMapper extends AbstractMapper {
/** .<br />
* .
* {@link cokr.xit.base.file.service.FileService#getFileList(FileQuery)}
* @param req
* <pre><code> {
* "infoType":
* "infoKeys":
* }</code></pre>
* @return
*/
List<DataObject> getFileList(FileQuery req);

@ -7,7 +7,7 @@ import cokr.xit.base.file.FileInfo;
import cokr.xit.foundation.data.DataObject;
/** .
* <ul><li>{@link #getFileList(String, String...) }</li>
* <ul><li>{@link #getFileList(FileQuery) }</li>
* <li>{@link #getFilesOf(String, String...) }</li>
* <li>{@link #create(List) }</li>
* <li>{@link #reorder(String...) }</li>
@ -21,10 +21,11 @@ public interface FileService {
/** .<br />
* .
* @param req
* <pre><code> {
* "infoType":
* "infoKeys":
* }</code></pre>
* <ul><li>infoType: </li>
* <li>infoKeys: </li>
* <li>pageNum: </li>
* <li>fetchSize: </li>
* </ul>
* @return
*/
List<DataObject> getFileList(FileQuery req);

@ -54,12 +54,8 @@ public class FileBean extends AbstractComponent {
private FileMapper fileMapper;
/** .<br />
* .
* {@link cokr.xit.base.file.service.FileService#getFileList(FileQuery)}
* @param req
* <pre><code> {
* "infoType":
* "infoKeys":
* }</code></pre>
* @return
*/
public List<DataObject> getFileList(FileQuery req) {

@ -31,12 +31,15 @@ public class FileController extends AbstractController {
}
/** .<br />
* .
* @param infoType
* @param infoKeys
* @return ModelAndView
* {@link FileService#getFileList(FileQuery)}
* @param req
* @return
* @return jsonView
* <pre><code> {
* "fileList": [...]
* "fileList": [ ]
* "fileStart":
* "fileFetch":
* "fileTotal":
* }</code></pre>
*/
@RequestMapping(name="파일목록 조회", value="/list.do")
@ -53,10 +56,10 @@ public class FileController extends AbstractController {
* @param infoKey
* @param infoKey
* @param uploads
* @return ModelAndView
* @return jsonView
* <pre><code>{
* "affected": ,
* "saved": true || false
* "saved": true, false
* }</code></pre>
*/
@PostMapping(name="파일 등록", value="/create.do")
@ -93,7 +96,7 @@ public class FileController extends AbstractController {
* @return jsonView
* <pre><code>{
* "affected": ,
* "saved": true || false
* "saved": true, false
* }</code></pre>
*/
@PostMapping(name="순서 변경", value="/reorder.do")
@ -109,7 +112,7 @@ public class FileController extends AbstractController {
* @return jsonView
* <pre><code>{
* "affected": ,
* "saved": true || false
* "saved": true, false
* }</code></pre>
*/
@PostMapping(name="파일 제거", value="/remove.do")
@ -127,7 +130,7 @@ public class FileController extends AbstractController {
* @return jsonView
* <pre><code>{
* "affected": ,
* "saved": true || false
* "saved": true, false
* }</code></pre>
*/
@PostMapping(name="관련파일 제거", value="/removeLinked.do")
@ -143,7 +146,7 @@ public class FileController extends AbstractController {
* @return jsonView
* <pre><code>{
* "affected": ,
* "saved": true || false
* "saved": true, false
* }</code></pre>
*/
@PostMapping(name="파일 삭제", value="/delete.do")
@ -161,7 +164,7 @@ public class FileController extends AbstractController {
* @return jsonView
* <pre><code>{
* "affected": ,
* "saved": true || false
* "saved": true, false
* }</code></pre>
*/
@PostMapping(name="관련파일 삭제", value="/deleteOf.do")

Loading…
Cancel
Save