public class OmeroGateway extends AbstractCloseableAmdServant implements ServiceFactoryAware, omero.api._GatewayOperations, BlitzOnly
コンストラクタと説明 |
---|
OmeroGateway(BlitzExecutor be) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
attachImageToDataset(omero.model.Dataset dataset,
omero.model.Image image,
Ice.Current __current) |
long |
copyImage(long imageId,
int x,
int y,
int t,
int z,
java.util.List<java.lang.Integer> channelList,
java.lang.String imageName,
Ice.Current __current) |
long |
copyPixels(long pixelsID,
java.util.List<java.lang.Integer> channelList,
java.lang.String methodology,
Ice.Current __current) |
long |
copyPixelsXYTZ(long pixelsID,
int x,
int y,
int t,
int z,
java.util.List<java.lang.Integer> channelList,
java.lang.String methodology,
Ice.Current __current) |
long |
createImage(int sizeX,
int sizeY,
int sizeZ,
int sizeT,
java.util.List<java.lang.Integer> channelList,
omero.model.PixelsType pixelsType,
java.lang.String name,
java.lang.String description,
Ice.Current __current) |
void |
deleteObject(omero.model.IObject row,
Ice.Current __current) |
java.util.List<omero.model.IObject> |
findAllByQuery(java.lang.String myQuery,
Ice.Current __current) |
omero.model.IObject |
findByQuery(java.lang.String myQuery,
Ice.Current __current) |
omero.model.Dataset |
getDataset(long datasetId,
boolean leaves,
Ice.Current __current) |
java.util.List<omero.model.Dataset> |
getDatasets(java.util.List<java.lang.Long> ids,
boolean withLeaves,
Ice.Current __current) |
omero.model.Image |
getImage(long id,
Ice.Current __current) |
java.util.List<omero.model.Image> |
getImageByName(java.lang.String imageName,
Ice.Current __current) |
java.util.List<omero.model.Image> |
getImageFromDatasetByName(long datasetId,
java.lang.String imageName,
Ice.Current __current) |
java.util.List<omero.model.Image> |
getImages(omero.api.ContainerClass parentType,
java.util.List<java.lang.Long> ids,
Ice.Current __current) |
omero.model.Pixels |
getPixels(long pixelsId,
Ice.Current __current) |
java.util.List<omero.model.Pixels> |
getPixelsFromImage(long imageId,
Ice.Current __current) |
omero.model.PixelsType |
getPixelType(java.lang.String type,
Ice.Current __current) |
java.util.List<omero.model.PixelsType> |
getPixelTypes(Ice.Current __current) |
byte[] |
getPlane(long pixelsId,
int z,
int c,
int t,
Ice.Current current)
Get the raw plane for the pixels pixelsId, this returns a 2d array
representing the plane, it returns doubles but will not lose data.
|
java.util.List<omero.model.Project> |
getProjects(java.util.List<java.lang.Long> ids,
boolean withLeaves,
Ice.Current __current) |
int[] |
getRenderedImage(long pixelsId,
int z,
int t,
Ice.Current __current) |
int[][][] |
getRenderedImageMatrix(long pixelsId,
int z,
int t,
Ice.Current __current) |
byte[] |
getThumbnail(long pixelsId,
omero.RInt sizeX,
omero.RInt sizeY,
Ice.Current __current) |
java.util.Map<java.lang.Long,byte[]> |
getThumbnailSet(omero.RInt sizeX,
omero.RInt sizeY,
java.util.List<java.lang.Long> pixelsIds,
Ice.Current __current) |
void |
keepAlive(Ice.Current current)
Keep service alive.
|
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.
|
protected void |
preClose(Ice.Current current) |
int[] |
renderAsPackedIntAsRGBA(long pixelsId,
int z,
int t,
Ice.Current __current) |
java.util.List<omero.model.IObject> |
saveAndReturnArray(java.util.List<omero.model.IObject> graph,
Ice.Current __current) |
omero.model.IObject |
saveAndReturnObject(omero.model.IObject obj,
Ice.Current __current) |
void |
saveArray(java.util.List<omero.model.IObject> graph,
Ice.Current __current) |
void |
saveObject(omero.model.IObject obj,
Ice.Current __current) |
void |
setActive(long pixelsId,
int w,
boolean active,
Ice.Current __current) |
void |
setServiceFactory(ServiceFactoryI sf)
Initialize the service factory which creates the gateway and services
and links the different services together.
|
omero.model.Pixels |
updatePixels(omero.model.Pixels pixels,
Ice.Current __current) |
void |
uploadPlane(long pixelsId,
int z,
int c,
int t,
byte[] data,
Ice.Current __current) |
close_async, close
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolder
public OmeroGateway(BlitzExecutor be)
public void setServiceFactory(ServiceFactoryI sf) throws omero.ServerError
setServiceFactory
インタフェース内 ServiceFactoryAware
client
- an already existing client object.DSOutOfServiceException
omero.ServerError
public void attachImageToDataset(omero.model.Dataset dataset, omero.model.Image image, Ice.Current __current) throws omero.ServerError
attachImageToDataset
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public long copyPixels(long pixelsID, java.util.List<java.lang.Integer> channelList, java.lang.String methodology, Ice.Current __current) throws omero.ServerError
copyPixels
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public long copyPixelsXYTZ(long pixelsID, int x, int y, int t, int z, java.util.List<java.lang.Integer> channelList, java.lang.String methodology, Ice.Current __current) throws omero.ServerError
copyPixelsXYTZ
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public long createImage(int sizeX, int sizeY, int sizeZ, int sizeT, java.util.List<java.lang.Integer> channelList, omero.model.PixelsType pixelsType, java.lang.String name, java.lang.String description, Ice.Current __current) throws omero.ServerError
createImage
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public void deleteObject(omero.model.IObject row, Ice.Current __current) throws omero.ServerError
deleteObject
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public java.util.List<omero.model.IObject> findAllByQuery(java.lang.String myQuery, Ice.Current __current) throws omero.ServerError
findAllByQuery
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public omero.model.IObject findByQuery(java.lang.String myQuery, Ice.Current __current) throws omero.ServerError
findByQuery
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public omero.model.Dataset getDataset(long datasetId, boolean leaves, Ice.Current __current) throws omero.ServerError
getDataset
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public java.util.List<omero.model.Dataset> getDatasets(java.util.List<java.lang.Long> ids, boolean withLeaves, Ice.Current __current) throws omero.ServerError
getDatasets
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public omero.model.Image getImage(long id, Ice.Current __current) throws omero.ServerError
getImage
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public java.util.List<omero.model.Image> getImageByName(java.lang.String imageName, Ice.Current __current) throws omero.ServerError
getImageByName
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public java.util.List<omero.model.Image> getImageFromDatasetByName(long datasetId, java.lang.String imageName, Ice.Current __current) throws omero.ServerError
getImageFromDatasetByName
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public java.util.List<omero.model.Image> getImages(omero.api.ContainerClass parentType, java.util.List<java.lang.Long> ids, Ice.Current __current) throws omero.ServerError
getImages
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public omero.model.PixelsType getPixelType(java.lang.String type, Ice.Current __current) throws omero.ServerError
getPixelType
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public java.util.List<omero.model.PixelsType> getPixelTypes(Ice.Current __current) throws omero.ServerError
getPixelTypes
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public omero.model.Pixels getPixels(long pixelsId, Ice.Current __current) throws omero.ServerError
getPixels
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public java.util.List<omero.model.Pixels> getPixelsFromImage(long imageId, Ice.Current __current) throws omero.ServerError
getPixelsFromImage
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public java.util.List<omero.model.Project> getProjects(java.util.List<java.lang.Long> ids, boolean withLeaves, Ice.Current __current) throws omero.ServerError
getProjects
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public int[] getRenderedImage(long pixelsId, int z, int t, Ice.Current __current) throws omero.ServerError
getRenderedImage
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public int[] renderAsPackedIntAsRGBA(long pixelsId, int z, int t, Ice.Current __current) throws omero.ServerError
renderAsPackedIntAsRGBA
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public int[][][] getRenderedImageMatrix(long pixelsId, int z, int t, Ice.Current __current) throws omero.ServerError
getRenderedImageMatrix
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public byte[] getThumbnail(long pixelsId, omero.RInt sizeX, omero.RInt sizeY, Ice.Current __current) throws omero.ServerError
getThumbnail
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public java.util.Map<java.lang.Long,byte[]> getThumbnailSet(omero.RInt sizeX, omero.RInt sizeY, java.util.List<java.lang.Long> pixelsIds, Ice.Current __current) throws omero.ServerError
getThumbnailSet
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public java.util.List<omero.model.IObject> saveAndReturnArray(java.util.List<omero.model.IObject> graph, Ice.Current __current) throws omero.ServerError
saveAndReturnArray
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public omero.model.IObject saveAndReturnObject(omero.model.IObject obj, Ice.Current __current) throws omero.ServerError
saveAndReturnObject
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public void saveArray(java.util.List<omero.model.IObject> graph, Ice.Current __current) throws omero.ServerError
saveArray
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public void saveObject(omero.model.IObject obj, Ice.Current __current) throws omero.ServerError
saveObject
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public void setActive(long pixelsId, int w, boolean active, Ice.Current __current) throws omero.ServerError
setActive
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public long copyImage(long imageId, int x, int y, int t, int z, java.util.List<java.lang.Integer> channelList, java.lang.String imageName, Ice.Current __current) throws omero.ServerError
copyImage
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public void keepAlive(Ice.Current current) throws omero.ServerError
keepAlive
インタフェース内 omero.api._GatewayOperations
DSOutOfServiceException
omero.ServerError
public void uploadPlane(long pixelsId, int z, int c, int t, byte[] data, Ice.Current __current) throws omero.ServerError
uploadPlane
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public omero.model.Pixels updatePixels(omero.model.Pixels pixels, Ice.Current __current) throws omero.ServerError
updatePixels
インタフェース内 omero.api._GatewayOperations
omero.ServerError
public byte[] getPlane(long pixelsId, int z, int c, int t, Ice.Current current) throws omero.ServerError
getPlane
インタフェース内 omero.api._GatewayOperations
pixelsId
- id of the pixels to retrieve.c
- the channel of the pixels to retrieve.t
- the time point to retrieve.z
- the z section to retrieve.omero.ServerError
protected void preClose(Ice.Current current) throws java.lang.Throwable
preClose
クラス内 AbstractCloseableAmdServant
java.lang.Throwable
protected void postClose(Ice.Current current)
AbstractCloseableAmdServant
postClose
クラス内 AbstractCloseableAmdServant