ome.tools
Class RepositoryTask

java.lang.Object
  extended by ome.tools.RepositoryTask

public class RepositoryTask
extends Object

Class implementation of various mechanised 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
RepositoryTask(ome.util.SqlAction sql)
          Constructor
 
Method Summary
 List<Long> getFileIds()
          This public method is used to return a list of file ids that require deletion from the disk repository.
 List<Long> getPixelIds()
          This public method is used to return a list of pixel ids that require deletion from the disk repository.
 List<Long> getTestIds()
          Private method used for testing only.
 List<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)
Constructor

Method Detail

getFileIds

public List<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 List<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 List<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

getTestIds

public List<Long> getTestIds()
Private method used for testing only. Will be removed later.

Returns:


OmeroJava Api

Version: 4.3.4-dbcbce5a-b4

Copyright © 2009 The University of Dundee. All Rights Reserved.