package edu.sjtu.infosec.ismp.manager.BSAM.service; import java.util.List; import edu.sjtu.infosec.ismp.manager.BSAM.model.ColorThreshold; public interface ColorThresholdService { /** * 获取全部顏色閾值(ColorThreshold)信息。 * Author:cchang * @return * 2010-10-13 10:37:22 */ List getColorThresholdList(); /** * 根绝颜色获取ColorThreshold对象 * Author:cchang * @param color * @return * 2010-10-18 下午08:24:31 */ ColorThreshold getColorThresholdByColor(String color); /** * 更新或者保存ColorThreshold。 * Author:cchang * @param colorThreshold * 2010-9-25 下午02:14:58 */ void saveOrUpdate(ColorThreshold colorThreshold); // ================================================================== }