|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.services.blitz.impl.AbstractAmdServant
ome.services.blitz.impl.MetadataStoreI
public class MetadataStoreI
Field Summary | |
---|---|
protected PopulateRoiJob |
popRoi
|
protected Set<Long> |
savedPlates
|
protected ServiceFactoryI |
sf
|
protected OMEROMetadataStore |
store
|
Fields inherited from class ome.services.blitz.impl.AbstractAmdServant |
---|
be, ctx, invoker, service |
Constructor Summary | |
---|---|
MetadataStoreI(BlitzExecutor be,
PopulateRoiJob popRoi)
|
Method Summary | |
---|---|
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)
|
void |
postProcess_async(omero.api.AMD_MetadataStore_postProcess __cb,
Ice.Current __current)
Called after some number of Passes the #savedPixels to a
background processor for further work. |
protected void |
preClose()
|
void |
saveToDB_async(omero.api.AMD_MetadataStore_saveToDB __cb,
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)
|
Methods inherited from class ome.services.blitz.impl.AbstractAmdServant |
---|
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, close_async, close, executorWorkCall, getCurrentEventContext_async, passivate_async, runnableCall, safeRunnableCall, setApplicationContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface omero.api._StatefulServiceInterfaceOperations |
---|
activate_async, close_async, getCurrentEventContext_async, passivate_async |
Field Detail |
---|
protected final Set<Long> savedPlates
protected OMEROMetadataStore store
protected ServiceFactoryI sf
protected PopulateRoiJob popRoi
Constructor Detail |
---|
public MetadataStoreI(BlitzExecutor be, PopulateRoiJob popRoi) throws Exception
Exception
Method Detail |
---|
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, 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
#savedPixels
to a
background processor for further work. This happens on
AbstractAmdServant.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
possible
postProcess_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()
preClose
in class AbstractAmdServant
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta4.2.1-r8614-Beta4.2-b41
Copyright © 2009 The University of Dundee. All Rights Reserved.