• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #857 (closed story: fixed)

Opened 11 months ago

Last modified 10 months ago

Delete service needed to simplify client usage

Reported by: jmoore Owned by: jmoore
Priority: major Milestone: 3.0-Beta3
Component: Services Version: 3.0-M1
Keywords: delete, service Cc: jburel, jason

Description

Currently it is quite difficult to delete an image requiring a query roughly of the form:

    public final static String IMAGE_QUERY = "select i from Image as i "
            + "left outer join fetch i.pixels as p "
            + "left outer join fetch p.channels as c "
            + "left outer join fetch c.logicalChannel as lc "
            + "left outer join fetch c.statsInfo as sinfo "
            + "left outer join fetch p.planeInfo as pinfo "
            + "left outer join fetch p.thumbnails as thumb "
            + "left outer join fetch p.pixelsFileMaps as map "
            + "left outer join fetch map.parent as ofile "
            + "left outer join fetch p.pixelsDimensions as dim "
            + "left outer join fetch p.settings as setting "
            + "where i.id = :id";

which we obviously shouldn't require each client develoepr to enter.

There is an issue with exactly what the semantics are (to be defined here later), but we will most likely also want to allow for some customization of the delete process. (e.g. does a particular site want OriginalFiles to be deleted when an Image is deleted?)


See also : #587

Change History

Changed 11 months ago by jmoore

r2033 Has a fully working implementation. Leaving this open for further testing from the client-side, definition of the semantics, and possible API changes.

Changed 10 months ago by jmoore

  • status changed from new to closed
  • resolution set to fixed

No word for or against. Closing. Either reopen or open specific tickets for API changes.

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/