wiki:Modules/Batches

Version 1 (modified by JLundberg, 13 years ago) (diff)

--

Idea

Several applications have a need for the idea of working in Batches. That is to say, executing some sort of function on multiple molgenis entities at one time. An example is choosing multiple samples in a LIMS system to simultaneously perform protocols on. The idea is to create a generic plugin that can serve multiple molgenis applications.

==Technical Implementation ==

The idea is to have a singleton class, say "Batches" that contains a map, which is composed of a Molgenis User (from the auth package) as the key, and a list as the value. The list would contain molgenis entities currently in the "batch". When the application requests the batch information, the map would be queried with the id of the current molgenis user, and the list would be returned.

Future ideas include a query being executed at runtime to create a dynamic list based on certain parameters (Erik can expand? esp. with how this would work technically with regards to the above implementation idea).

Attachments (2)

Download all attachments as: .zip