Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #4673 (closed)

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

List blitz helper methods

Reported by: wmoore Owned by: wmoore
Priority: major Milestone: OMERO-Beta4.3
Component: API Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-04-21 (10)

Description (last modified by wmoore)

Need to know where blitz wrapper methods do not reflect underlying object methods.

Ignoring all method names that begin with an underscore.


findChildByName (self, name, description=None) Not used
getDetails() gateway mostly. wraps obj.getDetails()
getDate() mostly used in html templates - returns acquisition or creation date
save() not used outside of blitz, dbhelpers, gatewaytest
saveAs(details) only used once in gatewaytest
canWrite() only used for image rendering settings in blitz & webviewer
canOwnerWrite() NOT used (commented out in webgateway), tested in gatewaytest
isLeaded() ONLY used by canDelete(), nowhere else.
countChildren() calls containerService
countChildren_cached() as above but returns cached result if available
listChildren (self, ns=None, val=None, params=None) NOT used with any arguments - move to P/D only?
listParents (self, single=True, withlinks=False) only used by getAncestry() and _move_link(). NOT used by webclient
getAncestry() only used for simpleMarshall and cache keys.
getParentLinks(self, pids=None) Used in webclient. D/I & plate only. Overwritten by annotation wrapper (could use conn.getAnnotationLinks)
getChildLinks(self, chids=None) NOT used
unlinkAnnotations (self, ns) only used in gatewaytest
removeAnnotations (self, ns) used for image rendering annotation hack, dbhelpers and gatewaytest only (not in web)
getAnnotation (self, ns=None) used for experimenter prefs and image rendering options. lots in gatewaytest, NOT in web.
listAnnotations(self, ns=None) used lots in web
listOrphanedAnnotations(self, eid=None, ns=None, anntype=None) Only used by web. Maybe rename to listUnlinkedAnnotations() ?
linkAnnotation (self, ann, sameOwner=True) blitz use for exp prefs and image rendering. Lots in gatewaytest, NOT used in web.
simpleMarshal (self, xtra=None, parents=False) used by webgateway (and gatewaytest)


Change History (9)

comment:1 Changed 9 years ago by jburel

  • Sprint changed from 2011-03-24 (8) to 2011-04-07 (9)

Moved from sprint 2011-03-24 (8)

comment:2 Changed 9 years ago by wmoore

  • Status changed from new to accepted

comment:3 Changed 9 years ago by wmoore

  • Description modified (diff)

comment:4 Changed 9 years ago by wmoore

  • Description modified (diff)

comment:5 Changed 9 years ago by wmoore

  • Description modified (diff)

comment:6 Changed 9 years ago by cxallan

  • Sprint changed from 2011-04-07 (9) to 2011-04-21 (10)

Moved from sprint 2011-04-07 (9)

comment:7 Changed 9 years ago by wmoore

  • Remaining Time changed from 1 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

Decided in meeting today that we are not going to change or delete existing blitz object wrapper methods for the 4.3 release, except getParents() should return multiple objects (single=False).

comment:8 Changed 9 years ago by Will Moore <will@…>

(In [9a38cb417e2a27515a416074fd7045c68bc3c95b/ome.git] on branch develop) Renaming getQueryString() to _getQueryString() on blitz objects. See #4673

comment:9 Changed 9 years ago by Carlos Neves <carlos@…>

(In [917d2333868cce68bc96beaf98e2045eae9f57f9/ome.git] on branch dev_4_1_custom) Renaming getQueryString() to _getQueryString() on blitz objects. See #4673

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.102177 sec.)

We're Hiring!