/* ================================================================== * Created [2009-4-27 下午11:32:55] by Jon.King * ================================================================== * TSS * ================================================================== * mailTo:jinpujun@hotmail.com * Copyright (c) Jon.King, 2009-2012 * ================================================================== */ package com.jinhe.tss.component.recycle.maintain; import java.util.List; /** * <p> IRecycleService.java </p> * <p> * Recycle的Service层的模块逻辑接口 * </p> */ public interface RecycleService { /** * 物理删除指定的垃圾信息 * @param recycleId */ void physicsDelete(Long recycleId); /** * 还原指定的垃圾信息 * @param recycleId */ void recover(Long recycleId); /** * 获取所有指定类型的垃圾信息 * @param typeCode * @return */ List<?> getRecyledList(Integer typeCode); /** * 清空指定类型的垃圾信息 * @param typeCode */ void clearAll(Integer typeCode); }