Task #2797 (new)
Opened 14 years ago
Last modified 14 years ago
Add Annotation.ns support to delete specs — at Version 1
Reported by: | jamoore | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | OMERO-Beta4.2.1 |
Component: | Services | Version: | n.a. |
Keywords: | n.a. | Cc: | jburel, atarkowska |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 1.5d |
Sprint: | 2010-08-26 (15) |
Description (last modified by jmoore)
For some types of deletes, taking the values of Annotation.ns need to decide whether or not they will be "shared" or "nonshared".
For example, measurement file annotations should always be removed even if a user specifies "KEEP" for "/FileAnnotation"
One proposed solution is to use a new format for the DeleteEntry which points to a Spring bean:
<bean parent="delSpec" name="Annotation"> <constructor-arg> <list> <value>/CommentAnnotation</value> <value>@InternalFileAnnotation</value>
The new DeleteEntry should long-term be able to take parameters via the options map:
{"@InternalFileAnnotation" : "ns.includes=%volviewer%"}