Task #3510 (new)
Opened 13 years ago
Last modified 13 years ago
IRepository adjustments — at Initial Version
Reported by: | cxallan | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | OMERO-Beta4.2.1 |
Component: | Services | Version: | n.a. |
Keywords: | n.a. | Cc: | jamoore, jburel |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | 2010-11-25 (20) |
Description
- Removal / deprecation of disk space usage and free functionality that loops through all files in disk
- Addition of new methods for retrieving actual size:
Map<Long, Long> getUserPixelsOnDiskUsage(Parameters p); // If nothing return empty map // // p = omero.sys.ParametersI() // p.page(offset, PAGE_SIZE) // p.exp(userId) // mapping to p.details.owner.id comparison // p.grp(groupId) // mapping to ctx['omero.group'] // // p.grp() maps to -1 when the user is an administrator and no argument is passed // p.exp() is not used if it is not provided // // Basic code that is being affected by Parameters is: // // Map<String, String> ctx = new HashMap<String, String>(); // ctx.put("omero.group", p.grp()); // p.grp(null); // iQuery.findAllByQuery( // "select p from Pixels as p " + // "where p.details.owner.id = :experimenter" + // optional // "order by p.pid", p, ctx); // Map<Long, Long> getPixelsOnDiskUsage(Set<Long> pixelsIds);
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.