public class MetadataStoreI extends AbstractCloseableAmdServant implements omero.api._MetadataStoreOperations, ServiceFactoryAware, BlitzOnly
Modifier and Type | Field and Description |
---|---|
protected OriginalFilesService |
filesService |
protected String |
omeroDataDir |
protected PopulateRoiJob |
popRoi |
protected Set<Long> |
savedImagesNotInPlates |
protected Set<Long> |
savedPlates |
protected ServiceFactoryI |
sf |
protected SqlAction |
sql |
protected OMEROMetadataStore |
store |
Constructor and Description |
---|
MetadataStoreI(BlitzExecutor be,
PopulateRoiJob popRoi,
SqlAction sql,
OriginalFilesService filesService,
String omeroDataDir) |
Modifier and Type | Method and Description |
---|---|
void |
createRoot_async(omero.api.AMD_MetadataStore_createRoot __cb,
Ice.Current __current) |
void |
onSetOmeroContext(OmeroContext ctx)
To be overridden by subclasses.
|
void |
populateMinMax_async(omero.api.AMD_MetadataStore_populateMinMax __cb,
double[][][] imageChannelGlobalMinMax,
Ice.Current __current) |
protected void |
postClose(Ice.Current current)
Should not throw any exceptions which should be detected by clients
since it is called in a finally block after the client thread has been
released.
|
void |
postProcess_async(omero.api.AMD_MetadataStore_postProcess __cb,
Ice.Current __current)
Called after some number of Passes the
savedPlates to a
background processor for further work. |
protected void |
preClose(Ice.Current current) |
void |
saveToDB_async(omero.api.AMD_MetadataStore_saveToDB __cb,
omero.model.FilesetJobLink link,
Ice.Current __current) |
void |
setPixelsFile_async(omero.api.AMD_MetadataStore_setPixelsFile __cb,
long pixelsId,
String file,
String repo,
Ice.Current __current) |
void |
setServiceFactory(ServiceFactoryI sf) |
Boolean |
toJavaType(omero.RBool x)
Transforms an OMERO RType into the corresponding Java type.
|
Double |
toJavaType(omero.RDouble x)
Transforms an OMERO RType into the corresponding Java type.
|
Float |
toJavaType(omero.RFloat x)
Transforms an OMERO RType into the corresponding Java type.
|
Integer |
toJavaType(omero.RInt x)
Transforms an OMERO RType into the corresponding Java type.
|
Long |
toJavaType(omero.RLong x)
Transforms an OMERO RType into the corresponding Java type.
|
String |
toJavaType(omero.RString x)
Transforms an OMERO RType into the corresponding Java type.
|
void |
updateObjects_async(omero.api.AMD_MetadataStore_updateObjects __cb,
omero.metadatastore.IObjectContainer[] objects,
Ice.Current __current) |
void |
updateReferences_async(omero.api.AMD_MetadataStore_updateReferences __cb,
Map<String,String[]> references,
Ice.Current __current) |
close_async, close
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolder
protected OMEROMetadataStore store
protected ServiceFactoryI sf
protected PopulateRoiJob popRoi
protected final SqlAction sql
protected final OriginalFilesService filesService
protected final String omeroDataDir
public MetadataStoreI(BlitzExecutor be, PopulateRoiJob popRoi, SqlAction sql, OriginalFilesService filesService, String omeroDataDir) throws Exception
Exception
public void setServiceFactory(ServiceFactoryI sf) throws omero.ServerError
setServiceFactory
in interface ServiceFactoryAware
omero.ServerError
public void onSetOmeroContext(OmeroContext ctx) throws Exception
AbstractAmdServant
onSetOmeroContext
in class AbstractAmdServant
Exception
public void createRoot_async(omero.api.AMD_MetadataStore_createRoot __cb, Ice.Current __current) throws omero.ServerError
createRoot_async
in interface omero.api._MetadataStoreOperations
omero.ServerError
public void populateMinMax_async(omero.api.AMD_MetadataStore_populateMinMax __cb, double[][][] imageChannelGlobalMinMax, Ice.Current __current) throws omero.ServerError
populateMinMax_async
in interface omero.api._MetadataStoreOperations
omero.ServerError
public void saveToDB_async(omero.api.AMD_MetadataStore_saveToDB __cb, omero.model.FilesetJobLink link, Ice.Current __current) throws omero.ServerError
saveToDB_async
in interface omero.api._MetadataStoreOperations
omero.ServerError
public void updateObjects_async(omero.api.AMD_MetadataStore_updateObjects __cb, omero.metadatastore.IObjectContainer[] objects, Ice.Current __current) throws omero.ServerError
updateObjects_async
in interface omero.api._MetadataStoreOperations
omero.ServerError
public void updateReferences_async(omero.api.AMD_MetadataStore_updateReferences __cb, Map<String,String[]> references, Ice.Current __current) throws omero.ServerError
updateReferences_async
in interface omero.api._MetadataStoreOperations
omero.ServerError
public void postProcess_async(omero.api.AMD_MetadataStore_postProcess __cb, Ice.Current __current) throws omero.ServerError
savedPlates
to a
background processor for further work. This happens on
AbstractCloseableAmdServant.close_async(AMD_StatefulServiceInterface_close, Current)
since
no further pixels can be created, but also on
createRoot_async(AMD_MetadataStore_createRoot, Current)
which is
used by the client to reset the status of this instance. To prevent any
possiblepostProcess_async
in interface omero.api._MetadataStoreOperations
omero.ServerError
public void setPixelsFile_async(omero.api.AMD_MetadataStore_setPixelsFile __cb, long pixelsId, String file, String repo, Ice.Current __current) throws omero.ServerError
setPixelsFile_async
in interface omero.api._MetadataStoreOperations
omero.ServerError
public Integer toJavaType(omero.RInt x)
x
- OMERO RType value.null
if x
is
null
.public Long toJavaType(omero.RLong x)
x
- OMERO RType value.null
if x
is
null
.public Boolean toJavaType(omero.RBool x)
x
- OMERO RType value.null
if x
is
null
.public Float toJavaType(omero.RFloat x)
x
- OMERO RType value.null
if x
is
null
.public Double toJavaType(omero.RDouble x)
x
- OMERO RType value.null
if x
is
null
.public String toJavaType(omero.RString x)
x
- OMERO RType value.null
if x
is
null
.protected void preClose(Ice.Current current)
preClose
in class AbstractCloseableAmdServant
protected void postClose(Ice.Current current)
AbstractCloseableAmdServant
postClose
in class AbstractCloseableAmdServant
Version: 5.2.0-ice35-b12
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.