|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.formats.OMEROMetadataStore
public class OMEROMetadataStore
An OMERO metadata store. This particular metadata store requires the user to
be logged into OMERO prior to use with the #login()
method. While
attempts have been made to allow the caller to switch back and forth between
Images and Pixels during metadata population it is strongly
encouraged that at least Images and Pixels are populated in ascending order.
For example: Image_1 --> Pixels_1, Pixels_2 followed by Image_2 --> Pixels_1,
Pixels2, Pixels_3.
Constructor Summary | |
---|---|
OMEROMetadataStore()
Empty constructor for testing purposes. |
|
OMEROMetadataStore(ServiceFactory factory)
Creates a new instance. |
Method Summary | |
---|---|
void |
createRoot()
|
ome.model.IObject |
getObjectByLSID(ome.util.LSID lsid)
Retrieves an object from the internal object graph by LSID. |
void |
populateMinMax(double[][][] imageChannelGlobalMinMax)
Synchronize the minimum and maximum intensity values with those specified by the client and save them in the DB. |
List<ome.model.core.Pixels> |
saveToDB()
Saves the current object graph to the database. |
void |
updateObject(String lsid,
ome.model.IObject sourceObject,
Map<String,Integer> indexes)
Updates a given model object in our object graph. |
void |
updateReferences(Map<String,String[]> referenceCache)
Updates our object graph references. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OMEROMetadataStore()
public OMEROMetadataStore(ServiceFactory factory) throws Exception
factory
- a non-null, active ServiceFactory
MetadataStoreException
- if the factory is null or there
is another error instantiating required services.
Exception
Method Detail |
---|
public void updateObject(String lsid, ome.model.IObject sourceObject, Map<String,Integer> indexes)
lsid
- LSID of model object.sourceObject
- Model object itself.indexes
- Any indexes that should are used to describe the model
object's graph location.public void updateReferences(Map<String,String[]> referenceCache)
referenceCache
- Client side LSID reference cache.public ome.model.IObject getObjectByLSID(ome.util.LSID lsid)
lsid
- LSID of the object.
null
if the object is not in the
internal LSID map.public void createRoot()
public List<ome.model.core.Pixels> saveToDB()
public void populateMinMax(double[][][] imageChannelGlobalMinMax)
imageChannelGlobalMinMax
- Minimums and maximums to update.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.2.0-r7571-b29
Copyright © 2009 The University of Dundee. All Rights Reserved.