Task #4673 (accepted)
Opened 13 years ago
Last modified 13 years ago
List blitz helper methods — at Version 4
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: | 1.0d |
Sprint: | 2011-04-07 (9) |
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.
BlitzObjectWrapper?
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() canOwnerWrite() canDelete() isOwned() isLeaded() isEditable() isShared() isPrivate() isReadOnly()
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) |
getId() | |
getName() | |
getDescription() | |
getOwner() | |
getOwnerFullName() | |
getOwnerOmeName() | |
creationEventDate() | |
updateEventDate() | |
setName() | |
setDescription |
Change History (4)
comment:1 Changed 13 years ago by jburel
- Sprint changed from 2011-03-24 (8) to 2011-04-07 (9)
comment:2 Changed 13 years ago by wmoore
- Status changed from new to accepted
comment:3 Changed 13 years ago by wmoore
- Description modified (diff)
comment:4 Changed 13 years ago by wmoore
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Download in other formats:
1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.72982 sec.)
Moved from sprint 2011-03-24 (8)