package org.xsaas.xstat.business;

import java.util.List;

import org.xsaas.xstat.po.InquisitionTemplateInfo;


public interface IInquisitionTemplateInfoService {
	/**
	 * ±£´æµ÷²éÎÊ¾íÄ£°åÐÅÏ¢
	 * @param data µ÷²éÎÊ¾íÄ£°åÐÅÏ¢
	 */
	public void saveInquisitionTemplateInfo(InquisitionTemplateInfo data);
	/**
	 * ¸üÐÂµ÷²éÎÊ¾íÄ£°åÐÅÏ¢
	 * @param data µ÷²éÎÊ¾íÄ£°åÐÅÏ¢
	 */
	public void updateInquisitionTemplateInfo(InquisitionTemplateInfo data);
	/**
	 * É¾³ýµ÷²éÎÊ¾íÄ£°åÐÅÏ¢
	 * @param data µ÷²éÎÊ¾íÄ£°åÐÅÏ¢
	 */
	public void deleteInquisitionTemplateInfo(InquisitionTemplateInfo data);	
	/**
	 * »ñÈ¡µ÷²éÎÊ¾íÄ£°åÐÅÏ¢
	 * @param tempID ÎÊ¾íÎÊÌâ±àºÅ
	 * @return µ÷²éÎÊ¾íÄ£°åÐÅÏ¢
	 */
	public InquisitionTemplateInfo getInquisitionTemplateInfo(Long tempID);
	/**
	 * »ñÈ¡µ÷²éÎÊ¾íÄ£°åÐÅÏ¢ÁÐ±í
	 * @return µ÷²éÎÊ¾íÄ£°åÐÅÏ¢ÁÐ±í
	 */
	public List<InquisitionTemplateInfo> getInquisitionTemplateInfoList();
	/**
	 * ÐÅÏ¢×ÜÊý
	 * @return ÊýÁ¿
	 */
	public int getInquisitionTemplateInfoTotal();
	/**
	 * ·ÖÒ³ÐÅÏ¢
	 * @param firstResult ¿ªÊ¼Êý
	 * @param maxResult ×î´óÊý
	 * @return ÐÅÏ¢½á¹û
	 */
	public List<InquisitionTemplateInfo> findInquisitionTemplateInfoByPage(final int firstResult, final int maxResult);

	/**
	 * É¾³ý×´Ì¬×ÜÊý
	 * @return int
	 */
	public int getTotalByDelStatus();
	/**
	 * É¾³ý×´Ì¬·ÖÒ³ÐÅÏ¢
	 * @param firstResult ¿ªÊ¼Êý
	 * @param maxResult ×î´óÊý
	 * @return ÐÅÏ¢½á¹û
	 */
	public List<InquisitionTemplateInfo> findPageByDelStatus(final int firstResult, final int maxResult);

}
