public class ThumbnailStoreI extends AbstractCloseableAmdServant implements _ThumbnailStoreOperations
ThumbnailStore| Constructor and Description |
|---|
ThumbnailStoreI(ome.api.ThumbnailStore service,
BlitzExecutor be) |
| Modifier and Type | Method and Description |
|---|---|
void |
createThumbnail_async(AMD_ThumbnailStore_createThumbnail __cb,
RInt sizeX,
RInt sizeY,
Ice.Current __current)
Creates a thumbnail for a pixels set using a given set of
rendering settings (RenderingDef) in the on-disk cache.
|
void |
createThumbnails_async(AMD_ThumbnailStore_createThumbnails __cb,
Ice.Current __current)
Creates thumbnails for a pixels set using a given set of
rendering settings (RenderingDef) in the on-disk cache for
every sizeX/sizeY combination already cached.
|
void |
createThumbnailsByLongestSideSet_async(AMD_ThumbnailStore_createThumbnailsByLongestSideSet __cb,
RInt size,
java.util.List<java.lang.Long> pixelsIds,
Ice.Current __current)
Creates thumbnails for a number of pixels sets using a
given set of rendering settings (RenderingDef) in the
on-disk cache.
|
void |
getRenderingDefId_async(AMD_ThumbnailStore_getRenderingDefId __cb,
Ice.Current __current)
Return the id of the
RenderingDef
loaded in this instance. |
void |
getThumbnail_async(AMD_ThumbnailStore_getThumbnail __cb,
RInt sizeX,
RInt sizeY,
Ice.Current __current)
Retrieves a thumbnail for a pixels set using a given set of
rendering settings (RenderingDef).
|
void |
getThumbnailByLongestSide_async(AMD_ThumbnailStore_getThumbnailByLongestSide __cb,
RInt size,
Ice.Current __current)
Retrieves a thumbnail for a pixels set using a given set of
rendering settings (RenderingDef).
|
void |
getThumbnailByLongestSideDirect_async(AMD_ThumbnailStore_getThumbnailByLongestSideDirect __cb,
RInt size,
Ice.Current __current)
Retrieves a thumbnail for a pixels set using a given set of
rendering settings (RenderingDef).
|
void |
getThumbnailByLongestSideSet_async(AMD_ThumbnailStore_getThumbnailByLongestSideSet __cb,
RInt size,
java.util.List<java.lang.Long> pixelsIds,
Ice.Current __current)
Retrieves a number of thumbnails for pixels sets using
given sets of rendering settings (RenderingDef).
|
void |
getThumbnailDirect_async(AMD_ThumbnailStore_getThumbnailDirect __cb,
RInt sizeX,
RInt sizeY,
Ice.Current __current)
Retrieves a thumbnail for a pixels set using a given set of
rendering settings (RenderingDef).
|
void |
getThumbnailForSectionByLongestSideDirect_async(AMD_ThumbnailStore_getThumbnailForSectionByLongestSideDirect __cb,
int theZ,
int theT,
RInt size,
Ice.Current __current)
Retrieves a thumbnail for a pixels set using a given set of
rendering settings (RenderingDef) for a particular section.
|
void |
getThumbnailForSectionDirect_async(AMD_ThumbnailStore_getThumbnailForSectionDirect __cb,
int theZ,
int theT,
RInt sizeX,
RInt sizeY,
Ice.Current __current)
Retrieves a thumbnail for a pixels set using a given set of
rendering settings (RenderingDef) for a particular section.
|
void |
getThumbnailSet_async(AMD_ThumbnailStore_getThumbnailSet __cb,
RInt sizeX,
RInt sizeY,
java.util.List<java.lang.Long> pixelsIds,
Ice.Current __current)
Retrieves a number of thumbnails for pixels sets using
given sets of rendering settings (RenderingDef).
|
void |
getThumbnailWithoutDefault_async(AMD_ThumbnailStore_getThumbnailWithoutDefault __cb,
RInt sizeX,
RInt sizeY,
Ice.Current __current)
Retrieves a thumbnail for a pixels set using a given set of
rendering settings (RenderingDef).
|
void |
isInProgress_async(AMD_ThumbnailStore_isInProgress __cb,
Ice.Current __current)
This returns the last available in progress state
for a thumbnail.
|
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) |
void |
resetDefaults_async(AMD_ThumbnailStore_resetDefaults __cb,
Ice.Current __current)
Resets the rendering definition for the active pixels set
to its default settings.
|
void |
setPixelsId_async(AMD_ThumbnailStore_setPixelsId __cb,
long pixelsId,
Ice.Current __current)
This method manages the state of the service; it must be
invoked before using any other methods.
|
void |
setRenderingDefId_async(AMD_ThumbnailStore_setRenderingDefId __cb,
long renderingDefId,
Ice.Current __current)
This method manages the state of the service; it should be
invoked directly after
setPixelsId. |
void |
thumbnailExists_async(AMD_ThumbnailStore_thumbnailExists __cb,
RInt sizeX,
RInt sizeY,
Ice.Current __current)
Checks if a thumbnail of a particular size exists for a
pixels set.
|
close_async, closeactivate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactivate_async, close_async, getCurrentEventContext_async, passivate_asyncpublic ThumbnailStoreI(ome.api.ThumbnailStore service,
BlitzExecutor be)
public void createThumbnail_async(AMD_ThumbnailStore_createThumbnail __cb, RInt sizeX, RInt sizeY, Ice.Current __current) throws ServerError
_ThumbnailStoreOperationscreateThumbnail_async in interface _ThumbnailStoreOperations__cb - The callback object for the operation.sizeX - the X-axis width of the thumbnail.
null specifies the default size
of 48.sizeY - the Y-axis width of the thumbnail.
null specifies the default size
of 48.__current - The Current object for the invocation.ServerErrorpublic void createThumbnails_async(AMD_ThumbnailStore_createThumbnails __cb, Ice.Current __current) throws ServerError
_ThumbnailStoreOperationscreateThumbnails_async in interface _ThumbnailStoreOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void createThumbnailsByLongestSideSet_async(AMD_ThumbnailStore_createThumbnailsByLongestSideSet __cb, RInt size, java.util.List<java.lang.Long> pixelsIds, Ice.Current __current) throws ServerError
_ThumbnailStoreOperationssetPixelsId. This method will not reset or
modify rendering settings in any way. If rendering settings
for a pixels set are not present, thumbnail creation for
that pixels set will not be performed.createThumbnailsByLongestSideSet_async in interface _ThumbnailStoreOperations__cb - The callback object for the operation.size - the size of the longest side of the thumbnail
requested. null specifies the
default size of 48.pixelsIds - the Pixels sets to retrieve thumbnails for.__current - The Current object for the invocation.ServerErrorpublic void getThumbnailByLongestSideDirect_async(AMD_ThumbnailStore_getThumbnailByLongestSideDirect __cb, RInt size, Ice.Current __current) throws ServerError
_ThumbnailStoreOperationsgetThumbnailByLongestSideDirect_async in interface _ThumbnailStoreOperations__cb - The callback object for the operation.size - the size of the longest side of the thumbnail
requested. null specifies the
default size of 48.__current - The Current object for the invocation.ServerErrorpublic void getThumbnailByLongestSideSet_async(AMD_ThumbnailStore_getThumbnailByLongestSideSet __cb, RInt size, java.util.List<java.lang.Long> pixelsIds, Ice.Current __current) throws ServerError
_ThumbnailStoreOperationsgetThumbnailByLongestSideDirect. The longest
side of the image will be used to calculate the size for
the smaller side in order to keep the aspect ratio of the
original image. Unlike the other thumbnail retrieval
methods, this method may be called without first
calling setPixelsId.getThumbnailByLongestSideSet_async in interface _ThumbnailStoreOperations__cb - The callback object for the operation.size - the size of the longest side of the thumbnail
requested. null specifies the
default size of 48.pixelsIds - the Pixels sets to retrieve thumbnails for.__current - The Current object for the invocation.ServerErrorpublic void getThumbnailByLongestSide_async(AMD_ThumbnailStore_getThumbnailByLongestSide __cb, RInt size, Ice.Current __current) throws ServerError
_ThumbnailStoreOperationsgetThumbnailDirect,
placed in the on-disk cache and returned. The longest side
of the image will be used to calculate the size for the
smaller side in order to keep the aspect ratio of the
original image.getThumbnailByLongestSide_async in interface _ThumbnailStoreOperations__cb - The callback object for the operation.size - the size of the longest side of the thumbnail
requested. null specifies the
default size of 48.__current - The Current object for the invocation.ServerErrorpublic void getThumbnailDirect_async(AMD_ThumbnailStore_getThumbnailDirect __cb, RInt sizeX, RInt sizeY, Ice.Current __current) throws ServerError
_ThumbnailStoreOperationsgetThumbnailDirect_async in interface _ThumbnailStoreOperations__cb - The callback object for the operation.sizeX - the X-axis width of the thumbnail.
null specifies the default size
of 48.sizeY - the Y-axis width of the thumbnail.
null specifies the default size
of 48.__current - The Current object for the invocation.ServerErrorpublic void getThumbnailForSectionByLongestSideDirect_async(AMD_ThumbnailStore_getThumbnailForSectionByLongestSideDirect __cb, int theZ, int theT, RInt size, Ice.Current __current) throws ServerError
_ThumbnailStoreOperationsgetThumbnailForSectionByLongestSideDirect_async in interface _ThumbnailStoreOperations__cb - The callback object for the operation.theZ - the optical section (offset across the Z-axis)
to use.theT - the timepoint (offset across the T-axis) to use.__current - The Current object for the invocation.ServerErrorpublic void getThumbnailForSectionDirect_async(AMD_ThumbnailStore_getThumbnailForSectionDirect __cb, int theZ, int theT, RInt sizeX, RInt sizeY, Ice.Current __current) throws ServerError
_ThumbnailStoreOperationsgetThumbnailForSectionDirect_async in interface _ThumbnailStoreOperations__cb - The callback object for the operation.theZ - the optical section (offset across the Z-axis)
to use.theT - the timepoint (offset across the T-axis) to use.sizeY - the Y-axis width of the thumbnail.
null specifies the default size
of 48.__current - The Current object for the invocation.ServerErrorpublic void getThumbnailSet_async(AMD_ThumbnailStore_getThumbnailSet __cb, RInt sizeX, RInt sizeY, java.util.List<java.lang.Long> pixelsIds, Ice.Current __current) throws ServerError
_ThumbnailStoreOperationsgetThumbnailDirect, placed in the on-disk cache
and returned. Unlike the other thumbnail retrieval methods,
this method may be called without first calling
setPixelsId.getThumbnailSet_async in interface _ThumbnailStoreOperations__cb - The callback object for the operation.sizeX - the X-axis width of the thumbnail.
null specifies the default size
of 48.sizeY - the Y-axis width of the thumbnail.
null specifies the default size
of 48.pixelsIds - the Pixels sets to retrieve thumbnails for.__current - The Current object for the invocation.ServerErrorpublic void getThumbnail_async(AMD_ThumbnailStore_getThumbnail __cb, RInt sizeX, RInt sizeY, Ice.Current __current) throws ServerError
_ThumbnailStoreOperationsgetThumbnailDirect, placed in the on-disk
cache and returned. If the thumbnail is missing, a clock will
be returned to signify that the thumbnail is yet to be generated.getThumbnail_async in interface _ThumbnailStoreOperations__cb - The callback object for the operation.sizeX - the X-axis width of the thumbnail.
null specifies the default size
of 48.sizeY - the Y-axis width of the thumbnail.
null specifies the default size
of 48.__current - The Current object for the invocation.ServerErrorpublic void getThumbnailWithoutDefault_async(AMD_ThumbnailStore_getThumbnailWithoutDefault __cb, RInt sizeX, RInt sizeY, Ice.Current __current) throws ServerError
_ThumbnailStoreOperationsgetThumbnailDirect, placed in the on-disk
cache and returned. If the thumbnail is still to be generated, an empty array will
be returned.getThumbnailWithoutDefault_async in interface _ThumbnailStoreOperations__cb - The callback object for the operation.sizeX - the X-axis width of the thumbnail.
null specifies the default size
of 48.sizeY - the Y-axis width of the thumbnail.
null specifies the default size
of 48.__current - The Current object for the invocation.ServerErrorpublic void resetDefaults_async(AMD_ThumbnailStore_resetDefaults __cb, Ice.Current __current) throws ServerError
_ThumbnailStoreOperationsresetDefaults_async in interface _ThumbnailStoreOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void setPixelsId_async(AMD_ThumbnailStore_setPixelsId __cb, long pixelsId, Ice.Current __current) throws ServerError
_ThumbnailStoreOperationsThumbnailStore relies on the
RenderingEngine, a valid rendering
definition must be available for it to work.setPixelsId_async in interface _ThumbnailStoreOperations__cb - The callback object for the operation.pixelsId - an Pixels id.__current - The Current object for the invocation.ServerErrorpublic void isInProgress_async(AMD_ThumbnailStore_isInProgress __cb, Ice.Current __current) throws ServerError
_ThumbnailStoreOperationsisInProgress_async in interface _ThumbnailStoreOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void setRenderingDefId_async(AMD_ThumbnailStore_setRenderingDefId __cb, long renderingDefId, Ice.Current __current) throws ServerError
_ThumbnailStoreOperationssetPixelsId. If it is not
invoked with a valid rendering definition ID before using
the thumbnail accessor methods execution continues as if
renderingDefId were set to null.setRenderingDefId_async in interface _ThumbnailStoreOperations__cb - The callback object for the operation.renderingDefId - an RenderingDef id.
null specifies the user's currently
active rendering settings to be used.__current - The Current object for the invocation.ServerErrorpublic void thumbnailExists_async(AMD_ThumbnailStore_thumbnailExists __cb, RInt sizeX, RInt sizeY, Ice.Current __current) throws ServerError
_ThumbnailStoreOperationsthumbnailExists_async in interface _ThumbnailStoreOperations__cb - The callback object for the operation.sizeX - the X-axis width of the thumbnail.
null specifies the default size
of 48.sizeY - the Y-axis width of the thumbnail.
null specifies the default size
of 48.__current - The Current object for the invocation.ServerErrorpublic void getRenderingDefId_async(AMD_ThumbnailStore_getRenderingDefId __cb, Ice.Current __current) throws ServerError
_ThumbnailStoreOperationsRenderingDef
loaded in this instance.getRenderingDefId_async in interface _ThumbnailStoreOperations__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorprotected void preClose(Ice.Current current)
throws java.lang.Throwable
preClose in class AbstractCloseableAmdServantjava.lang.Throwableprotected void postClose(Ice.Current current)
AbstractCloseableAmdServantpostClose in class AbstractCloseableAmdServant