Package ome.services.graphs
Class ModelObjectSequencer
- java.lang.Object
-
- ome.services.graphs.ModelObjectSequencer
-
@Deprecated public class ModelObjectSequencer extends java.lang.Object
Deprecated.no longer used internally, replaced byGraphTraversal.orderFileDeletion()
OMERO model objects sometimes must be processed in a specific order. This class groups the utility methods for performing such ordering.- Since:
- 5.1.1
-
-
Constructor Summary
Constructors Constructor Description ModelObjectSequencer()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.util.Collection<java.util.Collection<java.lang.Long>>
sortOriginalFileIds(org.hibernate.Session session, java.util.Collection<java.lang.Long> unorderedIds)
Deprecated.Sort a list of original file IDs such that files precede containing directories.
-
-
-
Method Detail
-
sortOriginalFileIds
public static java.util.Collection<java.util.Collection<java.lang.Long>> sortOriginalFileIds(org.hibernate.Session session, java.util.Collection<java.lang.Long> unorderedIds)
Deprecated.Sort a list of original file IDs such that files precede containing directories.- Parameters:
session
- the Hibernate sessionunorderedIds
- the IDs of original files- Returns:
- a batching of the given IDs such that a batch containing a file precedes a batch containing a containing directory
-
-