public class MetadataStoreI extends AbstractCloseableAmdServant implements omero.api._MetadataStoreOperations, ServiceFactoryAware, BlitzOnly
Modifier and Type | Field and Description |
---|---|
protected OriginalFilesService |
filesService |
protected java.lang.String |
omeroDataDir |
protected PopulateRoiJob |
popRoi |
protected java.util.Set<java.lang.Long> |
savedImagesNotInPlates |
protected java.util.Set<java.lang.Long> |
savedPlates |
protected ServiceFactoryI |
sf |
protected SqlAction |
sql |
protected OMEROMetadataStore |
store |
Constructor and Description |
---|
MetadataStoreI(BlitzExecutor be,
PopulateRoiJob popRoi,
SqlAction sql,
OriginalFilesService filesService,
java.lang.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,
java.lang.String file,
java.lang.String repo,
Ice.Current __current) |
void |
setServiceFactory(ServiceFactoryI sf) |
java.lang.Boolean |
toJavaType(omero.RBool x)
Transforms an OMERO RType into the corresponding Java type.
|
java.lang.Double |
toJavaType(omero.RDouble x)
Transforms an OMERO RType into the corresponding Java type.
|
java.lang.Float |
toJavaType(omero.RFloat x)
Transforms an OMERO RType into the corresponding Java type.
|
java.lang.Integer |
toJavaType(omero.RInt x)
Transforms an OMERO RType into the corresponding Java type.
|
java.lang.Long |
toJavaType(omero.RLong x)
Transforms an OMERO RType into the corresponding Java type.
|
java.lang.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,
java.util.Map<java.lang.String,java.lang.String[]> references,
Ice.Current __current) |
close_async, close
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolder
protected final java.util.Set<java.lang.Long> savedPlates
protected final java.util.Set<java.lang.Long> savedImagesNotInPlates
protected OMEROMetadataStore store
protected ServiceFactoryI sf
protected PopulateRoiJob popRoi
protected final SqlAction sql
protected final OriginalFilesService filesService
protected final java.lang.String omeroDataDir
public MetadataStoreI(BlitzExecutor be, PopulateRoiJob popRoi, SqlAction sql, OriginalFilesService filesService, java.lang.String omeroDataDir) throws java.lang.Exception
java.lang.Exception
public void setServiceFactory(ServiceFactoryI sf) throws omero.ServerError
setServiceFactory
in interface ServiceFactoryAware
omero.ServerError
public void onSetOmeroContext(OmeroContext ctx) throws java.lang.Exception
AbstractAmdServant
onSetOmeroContext
in class AbstractAmdServant
java.lang.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, java.util.Map<java.lang.String,java.lang.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, java.lang.String file, java.lang.String repo, Ice.Current __current) throws omero.ServerError
setPixelsFile_async
in interface omero.api._MetadataStoreOperations
omero.ServerError
public java.lang.Integer toJavaType(omero.RInt x)
x
- OMERO RType value.null
if x
is
null
.public java.lang.Long toJavaType(omero.RLong x)
x
- OMERO RType value.null
if x
is
null
.public java.lang.Boolean toJavaType(omero.RBool x)
x
- OMERO RType value.null
if x
is
null
.public java.lang.Float toJavaType(omero.RFloat x)
x
- OMERO RType value.null
if x
is
null
.public java.lang.Double toJavaType(omero.RDouble x)
x
- OMERO RType value.null
if x
is
null
.public java.lang.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.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.