package com.test.bijihoudaun.service; import com.test.bijihoudaun.entity.TrashItemVo; import java.util.List; public interface TrashService { /** * 获取回收站中的所有项目 * @return 回收站项目列表 */ List getTrashItems(); /** * 恢复指定的回收站项目 * @param id 项目ID * @param type 项目类型 ("note" 或 "group") */ void restoreItem(String id, String type); /** * 永久删除指定的回收站项目 * @param id 项目ID * @param type 项目类型 ("note" 或 "group") */ void permanentlyDeleteItem(String id, String type); /** * 清空回收站 */ void cleanTrash(); }