|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.services.blitz.gateway.OmeroGateway
public class OmeroGateway
Constructor Summary | |
---|---|
OmeroGateway()
|
Method Summary | |
---|---|
void |
activate_async(omero.api.AMD_StatefulServiceInterface_activate __cb,
Ice.Current __current)
|
void |
attachImageToDataset(omero.model.Dataset dataset,
omero.model.Image image,
Ice.Current __current)
|
void |
close_async(omero.api.AMD_StatefulServiceInterface_close __cb,
Ice.Current __current)
|
long |
copyImage(long imageId,
int x,
int y,
int t,
int z,
List<Integer> channelList,
String imageName,
Ice.Current __current)
|
long |
copyPixels(long pixelsID,
List<Integer> channelList,
String methodology,
Ice.Current __current)
|
long |
copyPixelsXYTZ(long pixelsID,
int x,
int y,
int t,
int z,
List<Integer> channelList,
String methodology,
Ice.Current __current)
|
long |
createImage(int sizeX,
int sizeY,
int sizeZ,
int sizeT,
List<Integer> channelList,
omero.model.PixelsType pixelsType,
String name,
String description,
Ice.Current __current)
|
void |
deleteObject(omero.model.IObject row,
Ice.Current __current)
|
List<omero.model.IObject> |
findAllByQuery(String myQuery,
Ice.Current __current)
|
omero.model.IObject |
findByQuery(String myQuery,
Ice.Current __current)
|
void |
getCurrentEventContext_async(omero.api.AMD_StatefulServiceInterface_getCurrentEventContext __cb,
Ice.Current __current)
|
omero.model.Dataset |
getDataset(long datasetId,
boolean leaves,
Ice.Current __current)
|
List<omero.model.Dataset> |
getDatasets(List<Long> ids,
boolean withLeaves,
Ice.Current __current)
|
omero.model.Image |
getImage(long id,
Ice.Current __current)
|
List<omero.model.Image> |
getImageByName(String imageName,
Ice.Current __current)
|
List<omero.model.Image> |
getImageFromDatasetByName(long datasetId,
String imageName,
Ice.Current __current)
|
List<omero.model.Image> |
getImages(omero.api.ContainerClass parentType,
List<Long> ids,
Ice.Current __current)
|
omero.model.Pixels |
getPixels(long pixelsId,
Ice.Current __current)
|
List<omero.model.Pixels> |
getPixelsFromImage(long imageId,
Ice.Current __current)
|
omero.model.PixelsType |
getPixelType(String type,
Ice.Current __current)
|
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. |
List<omero.model.Project> |
getProjects(List<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)
|
Map<Long,byte[]> |
getThumbnailSet(omero.RInt sizeX,
omero.RInt sizeY,
List<Long> pixelsIds,
Ice.Current __current)
|
void |
keepAlive(Ice.Current current)
Keep service alive. |
void |
passivate_async(omero.api.AMD_StatefulServiceInterface_passivate __cb,
Ice.Current __current)
|
int[] |
renderAsPackedIntAsRGBA(long pixelsId,
int z,
int t,
Ice.Current __current)
|
List<omero.model.IObject> |
saveAndReturnArray(List<omero.model.IObject> graph,
Ice.Current __current)
|
omero.model.IObject |
saveAndReturnObject(omero.model.IObject obj,
Ice.Current __current)
|
void |
saveArray(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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OmeroGateway()
Method Detail |
---|
public void setServiceFactory(ServiceFactoryI sf) throws omero.ServerError
setServiceFactory
in interface 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
in interface omero.api._GatewayOperations
omero.ServerError
public long copyPixels(long pixelsID, List<Integer> channelList, String methodology, Ice.Current __current) throws omero.ServerError
copyPixels
in interface omero.api._GatewayOperations
omero.ServerError
public long copyPixelsXYTZ(long pixelsID, int x, int y, int t, int z, List<Integer> channelList, String methodology, Ice.Current __current) throws omero.ServerError
copyPixelsXYTZ
in interface omero.api._GatewayOperations
omero.ServerError
public long createImage(int sizeX, int sizeY, int sizeZ, int sizeT, List<Integer> channelList, omero.model.PixelsType pixelsType, String name, String description, Ice.Current __current) throws omero.ServerError
createImage
in interface omero.api._GatewayOperations
omero.ServerError
public void deleteObject(omero.model.IObject row, Ice.Current __current) throws omero.ServerError
deleteObject
in interface omero.api._GatewayOperations
omero.ServerError
public List<omero.model.IObject> findAllByQuery(String myQuery, Ice.Current __current) throws omero.ServerError
findAllByQuery
in interface omero.api._GatewayOperations
omero.ServerError
public omero.model.IObject findByQuery(String myQuery, Ice.Current __current) throws omero.ServerError
findByQuery
in interface omero.api._GatewayOperations
omero.ServerError
public omero.model.Dataset getDataset(long datasetId, boolean leaves, Ice.Current __current) throws omero.ServerError
getDataset
in interface omero.api._GatewayOperations
omero.ServerError
public List<omero.model.Dataset> getDatasets(List<Long> ids, boolean withLeaves, Ice.Current __current) throws omero.ServerError
getDatasets
in interface omero.api._GatewayOperations
omero.ServerError
public omero.model.Image getImage(long id, Ice.Current __current) throws omero.ServerError
getImage
in interface omero.api._GatewayOperations
omero.ServerError
public List<omero.model.Image> getImageByName(String imageName, Ice.Current __current) throws omero.ServerError
getImageByName
in interface omero.api._GatewayOperations
omero.ServerError
public List<omero.model.Image> getImageFromDatasetByName(long datasetId, String imageName, Ice.Current __current) throws omero.ServerError
getImageFromDatasetByName
in interface omero.api._GatewayOperations
omero.ServerError
public List<omero.model.Image> getImages(omero.api.ContainerClass parentType, List<Long> ids, Ice.Current __current) throws omero.ServerError
getImages
in interface omero.api._GatewayOperations
omero.ServerError
public omero.model.PixelsType getPixelType(String type, Ice.Current __current) throws omero.ServerError
getPixelType
in interface omero.api._GatewayOperations
omero.ServerError
public List<omero.model.PixelsType> getPixelTypes(Ice.Current __current) throws omero.ServerError
getPixelTypes
in interface omero.api._GatewayOperations
omero.ServerError
public omero.model.Pixels getPixels(long pixelsId, Ice.Current __current) throws omero.ServerError
getPixels
in interface omero.api._GatewayOperations
omero.ServerError
public List<omero.model.Pixels> getPixelsFromImage(long imageId, Ice.Current __current) throws omero.ServerError
getPixelsFromImage
in interface omero.api._GatewayOperations
omero.ServerError
public List<omero.model.Project> getProjects(List<Long> ids, boolean withLeaves, Ice.Current __current) throws omero.ServerError
getProjects
in interface omero.api._GatewayOperations
omero.ServerError
public int[] getRenderedImage(long pixelsId, int z, int t, Ice.Current __current) throws omero.ServerError
getRenderedImage
in interface omero.api._GatewayOperations
omero.ServerError
public int[] renderAsPackedIntAsRGBA(long pixelsId, int z, int t, Ice.Current __current) throws omero.ServerError
renderAsPackedIntAsRGBA
in interface omero.api._GatewayOperations
omero.ServerError
public int[][][] getRenderedImageMatrix(long pixelsId, int z, int t, Ice.Current __current) throws omero.ServerError
getRenderedImageMatrix
in interface omero.api._GatewayOperations
omero.ServerError
public byte[] getThumbnail(long pixelsId, omero.RInt sizeX, omero.RInt sizeY, Ice.Current __current) throws omero.ServerError
getThumbnail
in interface omero.api._GatewayOperations
omero.ServerError
public Map<Long,byte[]> getThumbnailSet(omero.RInt sizeX, omero.RInt sizeY, List<Long> pixelsIds, Ice.Current __current) throws omero.ServerError
getThumbnailSet
in interface omero.api._GatewayOperations
omero.ServerError
public List<omero.model.IObject> saveAndReturnArray(List<omero.model.IObject> graph, Ice.Current __current) throws omero.ServerError
saveAndReturnArray
in interface omero.api._GatewayOperations
omero.ServerError
public omero.model.IObject saveAndReturnObject(omero.model.IObject obj, Ice.Current __current) throws omero.ServerError
saveAndReturnObject
in interface omero.api._GatewayOperations
omero.ServerError
public void saveArray(List<omero.model.IObject> graph, Ice.Current __current) throws omero.ServerError
saveArray
in interface omero.api._GatewayOperations
omero.ServerError
public void saveObject(omero.model.IObject obj, Ice.Current __current) throws omero.ServerError
saveObject
in interface omero.api._GatewayOperations
omero.ServerError
public void setActive(long pixelsId, int w, boolean active, Ice.Current __current) throws omero.ServerError
setActive
in interface omero.api._GatewayOperations
omero.ServerError
public long copyImage(long imageId, int x, int y, int t, int z, List<Integer> channelList, String imageName, Ice.Current __current) throws omero.ServerError
copyImage
in interface omero.api._GatewayOperations
omero.ServerError
public void keepAlive(Ice.Current current) throws omero.ServerError
keepAlive
in interface 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
in interface omero.api._GatewayOperations
omero.ServerError
public omero.model.Pixels updatePixels(omero.model.Pixels pixels, Ice.Current __current) throws omero.ServerError
updatePixels
in interface omero.api._GatewayOperations
omero.ServerError
public byte[] getPlane(long pixelsId, int z, int c, int t, Ice.Current current) throws omero.ServerError
getPlane
in interface 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
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.2.0-r7571-b29
Copyright © 2009 The University of Dundee. All Rights Reserved.