package incheon.res.rdm.com.attachfile.service;

import incheon.res.rdm.com.attachfile.vo.RdmComAttachfile;
import incheon.res.rdm.com.attachfile.vo.RdmComAttachfileVO;

import java.util.List;

public interface RdmComAttachfileService {
	/**
	 * @MethodDESC : 첨부파일 목록 조회
	 */
	List<RdmComAttachfileVO> selectAttachfileList(RdmComAttachfileVO vo) throws Exception;

	/**
	 * 파일에 대한 상세정보를 조회한다.
	 */
	RdmComAttachfileVO selectFileInf(RdmComAttachfileVO fvo) throws Exception;
	
	/**
	 * @MethodDESC : 첨부파일 추가
	 */
	void insertAttachfile(RdmComAttachfileVO vo) throws Exception;
	
	/**
	 * @MethodDESC : 첨부파일 모두 삭제
	 */
	int deleteAttachfileAll(RdmComAttachfileVO vo) throws Exception;
	
	/**
	 * @MethodDESC : 첨부파일 atfCde로 삭제
	 */
	int deleteAttachfileCde(RdmComAttachfileVO vo) throws Exception;
	
	/**
	 * @MethodDESC : 첨부파일 adfIdn으로 삭제
	 */
	int deleteAttachfileIdn(RdmComAttachfileVO vo) throws Exception;
}