javadoc 보완 수정

master
mjkhan21 2 years ago
parent 67c179fabb
commit b6b979052c

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

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

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

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

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

Loading…
Cancel
Save