itsm_ysm/src/main/java/nlib/bbs/service/AttachFileService.java
KNKIM 6f87294da7 Merge remote-tracking branch 'origin/master'
Conflicts:
	src/main/webapp/WEB-INF/jsp/nlib/bbs/insertQnaForm.jsp
2021-12-14 18:09:07 +09:00

114 lines
2.3 KiB
Java

package nlib.bbs.service;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import nlib.user.service.NlibLoginVO;
/**
* <pre>
* @Class Name : AttachFileService.java
*
* @Description : 첨부파일을 관리하는 서비스 인터페이스
*
*
* @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
*
* </pre>
*
* @ ------------ -------- ---------------------------
* @ 수정일 수정자 수정내용
* @ ------------ -------- ---------------------------
* @ 2021. 9. 16. KNKIM 최초 생성
*
*
* @author 이씨플라자 * DIGITALSHIP KNKIM
* @since 2021. 9. 16.
* @version 1.0
*
*/
public interface AttachFileService
{
/**
* 첨부파일 개수를 조회한다.
*
* @param attachFileId
* @return
* @throws Exception
*/
public int countAttachFiles(String attachFileId) throws Exception;
/**
* 첨부파일 목록을 조회한다.
*
* @param attachFileId
* @return
* @throws Exception
*/
public List<AttachFileVO> listAttachFiles(String attachFileId) throws Exception;
/**
* 첨부파일그룹 등록한다.
*
* @param attachFileVO
* @return
* @throws Exception
*/
public int insertAttachFileGroup(AttachFileVO attachFileVO) throws Exception;
/**
* 첨부파일 등록한다.
*
* @param attachFileVO
* @return
* @throws Exception
*/
public int insertAttachFile(AttachFileVO attachFileVO) throws Exception;
/**
* 첨부파일그룹을 삭제한다.
*
* @param attachFileVO
* @return
* @throws Exception
*/
public int deleteAttachFileGroup(String attachFileId) throws Exception;
/**
* 첨부파일 삭제한다.
*
* @param attachFileVO
* @return
* @throws Exception
*/
public int deleteAttachFile(AttachFileVO attachFileVO) throws Exception;
/**
* 첨부파일 정보를 조회한다.
*
* @param attachFileVO
* @return
* @throws Exception
*/
public AttachFileVO selectAttachFile(AttachFileVO attachFileVO) throws Exception;
/**
* 다운로드 가능 여부를 확인하다.
*
* @param attachFileVO
* @return
* @throws Exception
*/
public boolean checkAttachFileDownload(AttachFileVO attachFileVO) throws Exception;
}