List<ProjectMovedFromTrashEvent> events = new ArrayList<ProjectMovedFromTrashEvent>();
for(ProjectId projectId : action.getProjectIds()) {
OWLAPIProjectMetadataManager.getManager().setInTrash(projectId, false);
events.add(new ProjectMovedFromTrashEvent(projectId));
}
return new RemoveProjectsFromTrashResult(new EventList<ProjectMovedFromTrashEvent>(EventTag.getFirst(), events, EventTag.getFirst()));
}