Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
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 #347 (new)

Opened 18 years ago

Last modified 18 years ago

Implement IQuery.refresh(IObject)

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: Unscheduled
Component: API Version: 3.0-M1
Keywords: clientsession, iquery Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by jmoore)

For seeing if any changes have occurred in another thread, it would be beneficial to have a refresh method. This should also support automatic fetching of the already initialized fields (#111) and possibly fetching (#80).

This was suggested due to #346 and would be useful for the ClientSession.

Change History (2)

comment:1 Changed 18 years ago by jmoore

  • Description modified (diff)

r948 adds an initial version of IQuery.refresh. What's missing is the logic to force initialization of entities and collections based on the graph that was passed in. Some collections are being nulled that are actually desired (see failing test case for an example).

Semantically, however, refresh is now working.

Note: Factored several methods out of MergeEventListener into the static Relooader helper class.

comment:2 Changed 18 years ago by jmoore

r949 rolls back OmeroInterceptor from r948. Non-related minor changes that haven't been fully tested.

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.63599 sec.)

We're Hiring!