要从存储库中删除类别模式,请使用 RAMCategorySchema.setAction(RAMAction) 并传递 RAMAction.DELETE。
//Delete a Category Schema
newCategorySchema.setAction(RAMAction.DELETE);
session.put(newCategorySchema, new NullProgressMonitor());