|
||||||||||
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, invoker, service |
Constructor Summary | |
---|---|
MetadataStoreI(BlitzExecutor be,
PopulateRoiJob popRoi)
|
Method Summary | |
---|---|
void |
activate_async(omero.api.AMD_StatefulServiceInterface_activate __cb,
Ice.Current __current)
|
void |
close_async(omero.api.AMD_StatefulServiceInterface_close __cb,
Ice.Current __current)
|
void |
createRoot_async(omero.api.AMD_MetadataStore_createRoot __cb,
Ice.Current __current)
|
void |
getCurrentEventContext_async(omero.api.AMD_StatefulServiceInterface_getCurrentEventContext __cb,
Ice.Current __current)
|
void |
onSetOmeroContext(OmeroContext ctx)
To be overridden by subclasses. |
void |
passivate_async(omero.api.AMD_StatefulServiceInterface_passivate __cb,
Ice.Current __current)
|
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. |
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 |
---|
applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, runnableCall, setApplicationContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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
.public void activate_async(omero.api.AMD_StatefulServiceInterface_activate __cb, Ice.Current __current)
activate_async
in interface omero.api._StatefulServiceInterfaceOperations
public void passivate_async(omero.api.AMD_StatefulServiceInterface_passivate __cb, Ice.Current __current)
passivate_async
in interface omero.api._StatefulServiceInterfaceOperations
public void close_async(omero.api.AMD_StatefulServiceInterface_close __cb, Ice.Current __current) throws omero.ServerError
close_async
in interface omero.api._StatefulServiceInterfaceOperations
omero.ServerError
public void getCurrentEventContext_async(omero.api.AMD_StatefulServiceInterface_getCurrentEventContext __cb, Ice.Current __current) throws omero.ServerError
getCurrentEventContext_async
in interface omero.api._StatefulServiceInterfaceOperations
omero.ServerError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.1.1-r5927-b91
Copyright © 2009 The University of Dundee. All Rights Reserved.