Task #1994 (closed)

Opened 5 months ago

Last modified 4 months ago

Rationalise API for PublicRepository

Reported by: cblackburn Owned by: cblackburn
Priority: minor Milestone: OMERO-Beta4.2
Component: General Cc: n.a.
Remaining Time: 0.0d Sprint: 2010-03-05 (4)
Resources: n.a. References: n.a.
Referenced By: n.a.

Description

The number of file listing methods in the API has multiplied several fold as functionality has been added. This is both complex and inefficient. A limited efficient interface is needed

References

Change History

Changed 4 months ago by cblackburn

  • status changed from new to assigned

Changed 4 months ago by cblackburn

(In [6306]) Added listObjects method before removing deprecated methods. Import events logged. See #1994 and #1988

Changed 4 months ago by cblackburn

  • remaining_time changed from 1 to 0.25

Changed 4 months ago by cblackburn

r6306 adds listObjects() to the API. For a given directory this returns a dictionary/hashmap:

 { name1 : [Image, Image, ... OriginalFile], #importable (multi-)file image (with associated files)
   name2 : [Image],                          #importable single image
   name3 : [OriginalFile]                    #non-importable file
 }

Objects with ids are registered in the db. name is currently the file name but will be unique, see #1753

Changed 4 months ago by cblackburn

(In [6310]) Added listObjects method now returns non-importable files. Some deprecated methods removed. See #1994

Changed 4 months ago by cxallan

  • status changed from assigned to closed
  • resolution set to fixed
  • remaining_time changed from 0.25 to 0
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.2.1-PRO © 2008-2009 agile42 all rights reserved (this page was served in: 0.207533 sec.)