package incheon.com.userPageStrg.service;

import incheon.com.userPageStrg.vo.UserPageStrgVO;

/**
 * 사용자 페이지 저장 Service
 */
public interface UserPageStrgService {

    /**
     * 사용자 페이지 설정 조회
     * @param userId 사용자 ID
     * @param pageCd 페이지 코드
     * @return 사용자 페이지 설정 VO
     * @throws Exception
     */
    UserPageStrgVO getUserPageStrg(String userId, String pageCd) throws Exception;

    /**
     * 사용자 페이지 설정 저장 (insert or update)
     * @param vo 사용자 페이지 설정 VO
     * @return 처리 건수
     * @throws Exception
     */
    int saveUserPageStrg(UserPageStrgVO vo) throws Exception;

    /**
     * 사용자 페이지 설정 삭제
     * @param userId 사용자 ID
     * @param pageCd 페이지 코드
     * @return 삭제 건수
     * @throws Exception
     */
    int deleteUserPageStrg(String userId, String pageCd) throws Exception;
}
