package nlib.bbs.service; import java.util.HashMap; import java.util.List; import java.util.Map; import nlib.user.service.NlibLoginVO; /** *
 * @Class Name : AttachFileService.java
 * 
 * @Description : 첨부파일을 관리하는 서비스 인터페이스
 * 
 * 
 * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
 *
 * 
* * @ ------------ -------- --------------------------- * @ 수정일 수정자 수정내용 * @ ------------ -------- --------------------------- * @ 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 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; }