ome.services.blitz.impl
Class RoiI

java.lang.Object
  extended by ome.services.blitz.impl.AbstractAmdServant
      extended by ome.services.blitz.impl.RoiI
All Implemented Interfaces:
CloseableServant, BlitzOnly, ServiceFactoryAware, omero.api._IRoiOperations, omero.api._ServiceInterfaceOperations, org.springframework.context.ApplicationContextAware

public class RoiI
extends AbstractAmdServant
implements omero.api._IRoiOperations, ServiceFactoryAware, BlitzOnly

implementation of the IRoi service interface.

Since:
Beta4.1

Nested Class Summary
static class RoiI.RoiResultMapper
           
static class RoiI.RoiResultMapReturnMapper
           
static class RoiI.RoiResultReturnMapper
           
 
Field Summary
protected  ServiceFactoryI factory
           
protected  GeomTool geomTool
           
protected  org.springframework.jdbc.core.simple.SimpleJdbcOperations jdbc
           
 
Fields inherited from class ome.services.blitz.impl.AbstractAmdServant
be, ctx, invoker, log, service
 
Constructor Summary
RoiI(BlitzExecutor be, GeomTool geomTool, org.springframework.jdbc.core.simple.SimpleJdbcOperations jdbc)
           
 
Method Summary
 void findByAnyIntersection_async(omero.api.AMD_IRoi_findByAnyIntersection __cb, long imageId, List<omero.model.Shape> shapes, omero.api.RoiOptions opts, Ice.Current __current)
           
 void findByImage_async(omero.api.AMD_IRoi_findByImage __cb, long imageId, omero.api.RoiOptions opts, Ice.Current __current)
           
 void findByIntersection_async(omero.api.AMD_IRoi_findByIntersection __cb, long imageId, omero.model.Shape shape, omero.api.RoiOptions opts, Ice.Current __current)
           
 void findByPlane_async(omero.api.AMD_IRoi_findByPlane __cb, long imageId, int z, int t, omero.api.RoiOptions opts, Ice.Current __current)
           
 void findByRoi_async(omero.api.AMD_IRoi_findByRoi __cb, long roiId, omero.api.RoiOptions opts, Ice.Current __current)
           
 void getMeasuredRois_async(omero.api.AMD_IRoi_getMeasuredRois __cb, long imageId, long annotationId, omero.api.RoiOptions opts, Ice.Current __current)
           
 void getMeasuredRoisMap_async(omero.api.AMD_IRoi_getMeasuredRoisMap __cb, long imageId, List<Long> annotationIds, omero.api.RoiOptions opts, Ice.Current __current)
           
 void getPoints_async(omero.api.AMD_IRoi_getPoints __cb, long shapeId, Ice.Current __current)
           
 void getRoiMeasurements_async(omero.api.AMD_IRoi_getRoiMeasurements __cb, long imageId, omero.api.RoiOptions opts, Ice.Current __current)
           
 void getRoiStats_async(omero.api.AMD_IRoi_getRoiStats __cb, long roiId, Ice.Current __current)
           
 void getShapeStats_async(omero.api.AMD_IRoi_getShapeStats __cb, long shapeId, Ice.Current __current)
           
 void getShapeStatsList_async(omero.api.AMD_IRoi_getShapeStatsList __cb, List<Long> shapeIdList, Ice.Current __current)
           
 void getTable_async(omero.api.AMD_IRoi_getTable __cb, long annotationId, Ice.Current __current)
           
protected  List<ome.model.roi.Roi> loadMeasuredRois(org.hibernate.Session session, long imageId, long annotationId)
           
 void setServiceFactory(ServiceFactoryI sf)
           
 void uploadMask_async(omero.api.AMD_IRoi_uploadMask __cb, long imageId, int z, int t, byte[] bytes, Ice.Current __current)
           
 
Methods inherited from class ome.services.blitz.impl.AbstractAmdServant
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, close_async, close, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, preClose, runnableCall, safeRunnableCall, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

protected ServiceFactoryI factory

geomTool

protected final GeomTool geomTool

jdbc

protected final org.springframework.jdbc.core.simple.SimpleJdbcOperations jdbc
Constructor Detail

RoiI

public RoiI(BlitzExecutor be,
            GeomTool geomTool,
            org.springframework.jdbc.core.simple.SimpleJdbcOperations jdbc)
Method Detail

setServiceFactory

public void setServiceFactory(ServiceFactoryI sf)
Specified by:
setServiceFactory in interface ServiceFactoryAware

findByIntersection_async

public void findByIntersection_async(omero.api.AMD_IRoi_findByIntersection __cb,
                                     long imageId,
                                     omero.model.Shape shape,
                                     omero.api.RoiOptions opts,
                                     Ice.Current __current)
                              throws omero.ServerError
Specified by:
findByIntersection_async in interface omero.api._IRoiOperations
Throws:
omero.ServerError

findByAnyIntersection_async

public void findByAnyIntersection_async(omero.api.AMD_IRoi_findByAnyIntersection __cb,
                                        long imageId,
                                        List<omero.model.Shape> shapes,
                                        omero.api.RoiOptions opts,
                                        Ice.Current __current)
                                 throws omero.ServerError
Specified by:
findByAnyIntersection_async in interface omero.api._IRoiOperations
Throws:
omero.ServerError

findByImage_async

public void findByImage_async(omero.api.AMD_IRoi_findByImage __cb,
                              long imageId,
                              omero.api.RoiOptions opts,
                              Ice.Current __current)
                       throws omero.ServerError
Specified by:
findByImage_async in interface omero.api._IRoiOperations
Throws:
omero.ServerError

findByRoi_async

public void findByRoi_async(omero.api.AMD_IRoi_findByRoi __cb,
                            long roiId,
                            omero.api.RoiOptions opts,
                            Ice.Current __current)
                     throws omero.ServerError
Specified by:
findByRoi_async in interface omero.api._IRoiOperations
Throws:
omero.ServerError

findByPlane_async

public void findByPlane_async(omero.api.AMD_IRoi_findByPlane __cb,
                              long imageId,
                              int z,
                              int t,
                              omero.api.RoiOptions opts,
                              Ice.Current __current)
                       throws omero.ServerError
Specified by:
findByPlane_async in interface omero.api._IRoiOperations
Throws:
omero.ServerError

getPoints_async

public void getPoints_async(omero.api.AMD_IRoi_getPoints __cb,
                            long shapeId,
                            Ice.Current __current)
                     throws omero.ServerError
Specified by:
getPoints_async in interface omero.api._IRoiOperations
Throws:
omero.ServerError

getShapeStats_async

public void getShapeStats_async(omero.api.AMD_IRoi_getShapeStats __cb,
                                long shapeId,
                                Ice.Current __current)
                         throws omero.ServerError
Specified by:
getShapeStats_async in interface omero.api._IRoiOperations
Throws:
omero.ServerError

getShapeStatsList_async

public void getShapeStatsList_async(omero.api.AMD_IRoi_getShapeStatsList __cb,
                                    List<Long> shapeIdList,
                                    Ice.Current __current)
                             throws omero.ServerError
Specified by:
getShapeStatsList_async in interface omero.api._IRoiOperations
Throws:
omero.ServerError

getRoiStats_async

public void getRoiStats_async(omero.api.AMD_IRoi_getRoiStats __cb,
                              long roiId,
                              Ice.Current __current)
                       throws omero.ServerError
Specified by:
getRoiStats_async in interface omero.api._IRoiOperations
Throws:
omero.ServerError

getRoiMeasurements_async

public void getRoiMeasurements_async(omero.api.AMD_IRoi_getRoiMeasurements __cb,
                                     long imageId,
                                     omero.api.RoiOptions opts,
                                     Ice.Current __current)
                              throws omero.ServerError
Specified by:
getRoiMeasurements_async in interface omero.api._IRoiOperations
Throws:
omero.ServerError

loadMeasuredRois

protected List<ome.model.roi.Roi> loadMeasuredRois(org.hibernate.Session session,
                                                   long imageId,
                                                   long annotationId)

getMeasuredRoisMap_async

public void getMeasuredRoisMap_async(omero.api.AMD_IRoi_getMeasuredRoisMap __cb,
                                     long imageId,
                                     List<Long> annotationIds,
                                     omero.api.RoiOptions opts,
                                     Ice.Current __current)
                              throws omero.ServerError
Specified by:
getMeasuredRoisMap_async in interface omero.api._IRoiOperations
Throws:
omero.ServerError

getMeasuredRois_async

public void getMeasuredRois_async(omero.api.AMD_IRoi_getMeasuredRois __cb,
                                  long imageId,
                                  long annotationId,
                                  omero.api.RoiOptions opts,
                                  Ice.Current __current)
                           throws omero.ServerError
Specified by:
getMeasuredRois_async in interface omero.api._IRoiOperations
Throws:
omero.ServerError

getTable_async

public void getTable_async(omero.api.AMD_IRoi_getTable __cb,
                           long annotationId,
                           Ice.Current __current)
                    throws omero.ServerError
Specified by:
getTable_async in interface omero.api._IRoiOperations
Throws:
omero.ServerError

uploadMask_async

public void uploadMask_async(omero.api.AMD_IRoi_uploadMask __cb,
                             long imageId,
                             int z,
                             int t,
                             byte[] bytes,
                             Ice.Current __current)
                      throws omero.ServerError
Specified by:
uploadMask_async in interface omero.api._IRoiOperations
Throws:
omero.ServerError


OmeroJava Api

Version: Beta4.2.1-r8614-Beta4.2-b41

Copyright © 2009 The University of Dundee. All Rights Reserved.