package com.style24.admin.biz.dao;

import java.util.Collection;

import com.style24.core.support.annotation.ShopDs;
import com.style24.persistence.domain.Clause;

/**
 * 약관 Dao
 * 
 * @author gagamel
 * @since 2020. 10. 29
 */
@ShopDs
public interface TsaClauseDao {

	/**
	 * 약관 목록
	 * @param clause - 약관 정보
	 * @return
	 * @author gagamel
	 * @since 2020. 10. 29
	 */
	Collection<Clause> getClauseList(Clause clause);

	/**
	 * 약관 상세
	 * @param clause - 약관 정보
	 * @return
	 * @author gagamel
	 * @since 2020. 10. 29
	 */
	Clause getClauseDetail(Integer clauseSq);

	/**
	 * 약관 생성
	 * @param clause - 약관 정보
	 * @author gagamel
	 * @since 2020. 10. 29
	 */
	void createClause(Clause clause);

	/**
	 * 약관 수정
	 * @param clause - 약관 정보
	 * @author gagamel
	 * @since 2020. 10. 29
	 */
	void updateClause(Clause clause);

}
