Package ome.tools

Class RepositoryTask


  • public class RepositoryTask
    extends java.lang.Object
    Class implementation of various mechanized tasks, database queries, file I/O, etc. This class is used by the public services provided by IRepositoryInfo
    Since:
    3.0
    See Also:
    IRepositoryInfo
    • Constructor Summary

      Constructors 
      Constructor Description
      RepositoryTask​(ome.util.SqlAction sql)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Long> getFileIds()
      This public method is used to return a list of file ids that require deletion from the disk repository.
      java.util.List<java.lang.Long> getPixelIds()
      This public method is used to return a list of pixel ids that require deletion from the disk repository.
      java.util.List<java.lang.Long> getThumbnailIds()
      This public method is used to return a list of thumbnail ids that require deletion from the disk repository.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RepositoryTask

        public RepositoryTask​(ome.util.SqlAction sql)
    • Method Detail

      • getFileIds

        public java.util.List<java.lang.Long> getFileIds()
        This public method is used to return a list of file ids that require deletion from the disk repository.
        Returns:
        List representing the ids for files that were deleted
      • getPixelIds

        public java.util.List<java.lang.Long> getPixelIds()
        This public method is used to return a list of pixel ids that require deletion from the disk repository.
        Returns:
        List representing the ids for pixels that were deleted
      • getThumbnailIds

        public java.util.List<java.lang.Long> getThumbnailIds()
        This public method is used to return a list of thumbnail ids that require deletion from the disk repository.
        Returns:
        List representing the ids for thumbnails that were deleted