package com.takensoft.cms.prvcInqHstry.service;

import com.takensoft.cms.prvcInqHstry.vo.PrvcInqHstryVO;

import jakarta.servlet.http.HttpServletRequest;
import java.util.HashMap;

/**
 * @author 박정하
 * @since 2024.05.22
 * @modification
 *     since    |    author    | description
 *  2024.05.22  |    박정하     | 최초 등록
 *  2025.03.13  |    방선주     | 코드 리펙토링
 *
 * 개인정보 조회 이력 관련 인터페이스
 */
public interface PrvcInqHstryService {
    /**
     * @param request - HttpServletRequest 객체
     * @param prvcInqHstryVO - 개인정보 조회 이력 VO
     * @return int - 등록 여부 (성공:1, 실패:0)
     *
     * 개인정보 조회 이력 등록
     */
    int prvcInqHstryInsert(HttpServletRequest request, PrvcInqHstryVO prvcInqHstryVO);

    /**
     * @param params - Pagination 객체
     * @return HashMap<String, Object> - 개인정보 죄회 이력 목록
     *
     * 개인정보 조회 이력 목록 조회
     */
    HashMap<String, Object> prvcInqHstryList(HashMap<String, String> params);

    /**
     * @param inqHstryId - 개인정보 조회 이력 ID
     * @return PrvcInqHstryVO - 개인정보 조회 이력 상세 정보
     *
     * 개인정보 조회 이력 상세 조회
     */
    PrvcInqHstryVO prvcInqHstryDetail(int inqHstryId);
}