ome.services.blitz.measurements
Interface OmeroMeasurementStore

All Known Implementing Classes:
MeasurementStore

public interface OmeroMeasurementStore

Sub-interface of MeasurementStore with extended life-cycle methods for handling exceptions during saving the measurements to multiple stores.

Since:
Beta4.1

Method Summary
 void addCircle(String roiLsid, double x, double y, double r)
           
 void addObject(String lsid, ome.model.IObject object)
           
 void addObjects(Map<String,ome.model.IObject> objects)
           
 void addRows(Object[][] rows)
          Adds an array of rows (Object[]) to the store.
 List<Long> getRoiIds()
          Returns the ids of all Roi instances created during the save method.
 omero.grid.TablePrx getTable()
          Returns the Table proxy which is in use by this service.
 void initialize(String[] headers, String[] idTypes, Class[] types, Map<String,Object> metadata)
           
 void save()
           
 

Method Detail

initialize

void initialize(String[] headers,
                String[] idTypes,
                Class[] types,
                Map<String,Object> metadata)
                throws Exception
Throws:
Exception

addRows

void addRows(Object[][] rows)
             throws Exception
Adds an array of rows (Object[]) to the store. These rows might be indexed by an LSID which correlates to an added ROI. For each call to addRows(Object[][]) a call to save() must be made. This allows a single measurement store to be filled with the values from multiple measurement files. To differentiate between the various files, include a File lsid column during the initialization phase.

Parameters:
rows -
Throws:
Exception

addCircle

void addCircle(String roiLsid,
               double x,
               double y,
               double r)
               throws Exception
Throws:
Exception

save

void save()
          throws Exception
Throws:
Exception

addObject

void addObject(String lsid,
               ome.model.IObject object)

addObjects

void addObjects(Map<String,ome.model.IObject> objects)

getRoiIds

List<Long> getRoiIds()
Returns the ids of all Roi instances created during the save method. If Roi creation failed or if save() has not been called, this will return null.


getTable

omero.grid.TablePrx getTable()
Returns the Table proxy which is in use by this service.

Returns:


OmeroJava Api

Version: 4.3.3-00d1137e-b2894

Copyright © 2009 The University of Dundee. All Rights Reserved.