Package ome.services.delete
Class Deletion
- java.lang.Object
- 
- ome.services.delete.Deletion
 
- 
 public class Deletion extends java.lang.ObjectMaintain state about a delete itself. That makes a central class for providing reusable delete logic. (Note: much of this code has been refactored out of DeleteHandleI for reuse by DeleteI etc.)- Since:
- 4.4.0
- See Also:
- IDelete
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDeletion.BuilderInner class which can be used to generate a Deletion.
 - 
Constructor SummaryConstructors Constructor Description Deletion(ome.io.nio.AbstractFileSystemService afs, ome.system.OmeroContext ctx)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteFiles(com.google.common.collect.SetMultimap<java.lang.String,java.lang.Long> deleteTargets)For each Report use the map of tables to deleted ids to remove the files under Files, Pixels and Thumbnails if the ids no longer exist in the db.
 
- 
- 
- 
Method Detail- 
deleteFilespublic void deleteFiles(com.google.common.collect.SetMultimap<java.lang.String,java.lang.Long> deleteTargets) For each Report use the map of tables to deleted ids to remove the files under Files, Pixels and Thumbnails if the ids no longer exist in the db. Create a map of failed ids (not yet passed back to client).
 
- 
 
-