ome.services.blitz.impl
Class DeleteI

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

public class DeleteI
extends AbstractAmdServant
implements omero.api._IDeleteOperations, ServiceFactoryAware, BlitzOnly

Implementation of the IDelete service.

Since:
3.0-Beta4
Author:
Josh Moore, josh at glencoesoftware.com
See Also:
IDelete

Field Summary
 
Fields inherited from class ome.services.blitz.impl.AbstractAmdServant
be, ctx, invoker, log, service
 
Constructor Summary
DeleteI(IDelete service, BlitzExecutor be, ThreadPool threadPool, int cancelTimeoutMs, String omeroDataDir)
           
 
Method Summary
 void availableCommands_async(omero.api.AMD_IDelete_availableCommands __cb, Ice.Current __current)
           
 void checkImageDelete_async(omero.api.AMD_IDelete_checkImageDelete __cb, long id, boolean force, Ice.Current __current)
           
 void deleteImage_async(omero.api.AMD_IDelete_deleteImage __cb, long imageId, boolean force, Ice.Current __current)
           
 void deleteImages_async(omero.api.AMD_IDelete_deleteImages __cb, List<Long> ids, boolean force, Ice.Current __current)
           
 void deleteImagesByDataset_async(omero.api.AMD_IDelete_deleteImagesByDataset __cb, long datasetId, boolean force, Ice.Current __current)
           
 void deletePlate_async(omero.api.AMD_IDelete_deletePlate __cb, long plateId, Ice.Current __current)
           
 void deleteSettings_async(omero.api.AMD_IDelete_deleteSettings __cb, long imageId, Ice.Current __current)
           
 org.springframework.context.ApplicationContext loadSpecs()
           
 DeleteHandleI makeAndLaunchHandle(Ice.Identity id, omero.api.delete.DeleteCommand... commands)
           
 void makeAndRun(Ice.Identity id, omero.api.delete.DeleteCommand... commands)
           
 void previewImageDelete_async(omero.api.AMD_IDelete_previewImageDelete __cb, long id, boolean force, Ice.Current __current)
           
 void queueDelete_async(omero.api.AMD_IDelete_queueDelete __cb, omero.api.delete.DeleteCommand[] commands, Ice.Current __current)
           
 void setServiceFactory(ServiceFactoryI sf)
           
 
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
 

Constructor Detail

DeleteI

public DeleteI(IDelete service,
               BlitzExecutor be,
               ThreadPool threadPool,
               int cancelTimeoutMs,
               String omeroDataDir)
Method Detail

setServiceFactory

public void setServiceFactory(ServiceFactoryI sf)
                       throws omero.ServerError
Specified by:
setServiceFactory in interface ServiceFactoryAware
Throws:
omero.ServerError

checkImageDelete_async

public void checkImageDelete_async(omero.api.AMD_IDelete_checkImageDelete __cb,
                                   long id,
                                   boolean force,
                                   Ice.Current __current)
                            throws omero.ServerError
Specified by:
checkImageDelete_async in interface omero.api._IDeleteOperations
Throws:
omero.ServerError

deleteImage_async

public void deleteImage_async(omero.api.AMD_IDelete_deleteImage __cb,
                              long imageId,
                              boolean force,
                              Ice.Current __current)
                       throws omero.ApiUsageException,
                              omero.SecurityViolation,
                              omero.ServerError,
                              omero.ValidationException
Specified by:
deleteImage_async in interface omero.api._IDeleteOperations
Throws:
omero.ApiUsageException
omero.SecurityViolation
omero.ServerError
omero.ValidationException

previewImageDelete_async

public void previewImageDelete_async(omero.api.AMD_IDelete_previewImageDelete __cb,
                                     long id,
                                     boolean force,
                                     Ice.Current __current)
                              throws omero.ServerError
Specified by:
previewImageDelete_async in interface omero.api._IDeleteOperations
Throws:
omero.ServerError

deleteImages_async

public void deleteImages_async(omero.api.AMD_IDelete_deleteImages __cb,
                               List<Long> ids,
                               boolean force,
                               Ice.Current __current)
                        throws omero.ApiUsageException,
                               omero.SecurityViolation,
                               omero.ServerError,
                               omero.ValidationException
Specified by:
deleteImages_async in interface omero.api._IDeleteOperations
Throws:
omero.ApiUsageException
omero.SecurityViolation
omero.ServerError
omero.ValidationException

deleteImagesByDataset_async

public void deleteImagesByDataset_async(omero.api.AMD_IDelete_deleteImagesByDataset __cb,
                                        long datasetId,
                                        boolean force,
                                        Ice.Current __current)
                                 throws omero.ApiUsageException,
                                        omero.SecurityViolation,
                                        omero.ServerError,
                                        omero.ValidationException
Specified by:
deleteImagesByDataset_async in interface omero.api._IDeleteOperations
Throws:
omero.ApiUsageException
omero.SecurityViolation
omero.ServerError
omero.ValidationException

deleteSettings_async

public void deleteSettings_async(omero.api.AMD_IDelete_deleteSettings __cb,
                                 long imageId,
                                 Ice.Current __current)
                          throws omero.ServerError
Specified by:
deleteSettings_async in interface omero.api._IDeleteOperations
Throws:
omero.ServerError

deletePlate_async

public void deletePlate_async(omero.api.AMD_IDelete_deletePlate __cb,
                              long plateId,
                              Ice.Current __current)
                       throws omero.ServerError
Specified by:
deletePlate_async in interface omero.api._IDeleteOperations
Throws:
omero.ServerError

queueDelete_async

public void queueDelete_async(omero.api.AMD_IDelete_queueDelete __cb,
                              omero.api.delete.DeleteCommand[] commands,
                              Ice.Current __current)
                       throws omero.ApiUsageException,
                              omero.ServerError
Specified by:
queueDelete_async in interface omero.api._IDeleteOperations
Throws:
omero.ApiUsageException
omero.ServerError

availableCommands_async

public void availableCommands_async(omero.api.AMD_IDelete_availableCommands __cb,
                                    Ice.Current __current)
                             throws omero.ServerError
Specified by:
availableCommands_async in interface omero.api._IDeleteOperations
Throws:
omero.ServerError

makeAndLaunchHandle

public DeleteHandleI makeAndLaunchHandle(Ice.Identity id,
                                         omero.api.delete.DeleteCommand... commands)

makeAndRun

public void makeAndRun(Ice.Identity id,
                       omero.api.delete.DeleteCommand... commands)

loadSpecs

public org.springframework.context.ApplicationContext loadSpecs()


OmeroJava Api

Version: 4.3.3-00d1137e-b2894

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