public abstract class _ThumbnailStoreDisp extends Ice.ObjectImpl implements ThumbnailStore
NOTE: The calling order for the service is as follows:
setPixelsId
resetDefaults
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
__ids |
static long |
serialVersionUID |
ice_staticId
Constructor and Description |
---|
_ThumbnailStoreDisp() |
Modifier and Type | Method and Description |
---|---|
static Ice.DispatchStatus |
___createThumbnail(ThumbnailStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___createThumbnails(ThumbnailStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___createThumbnailsByLongestSideSet(ThumbnailStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getRenderingDefId(ThumbnailStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getThumbnail(ThumbnailStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getThumbnailByLongestSide(ThumbnailStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getThumbnailByLongestSideDirect(ThumbnailStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getThumbnailByLongestSideSet(ThumbnailStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getThumbnailDirect(ThumbnailStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getThumbnailForSectionByLongestSideDirect(ThumbnailStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getThumbnailForSectionDirect(ThumbnailStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getThumbnailSet(ThumbnailStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getThumbnailWithoutDefault(ThumbnailStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___isInProgress(ThumbnailStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___resetDefaults(ThumbnailStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___setPixelsId(ThumbnailStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___setRenderingDefId(ThumbnailStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___thumbnailExists(ThumbnailStore __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
Ice.DispatchStatus |
__dispatch(IceInternal.Incoming in,
Ice.Current __current) |
protected void |
__readImpl(IceInternal.BasicStream __is) |
protected void |
__writeImpl(IceInternal.BasicStream __os) |
void |
activate_async(AMD_StatefulServiceInterface_activate __cb)
Load a service implementation from disk if it was previously
passivated.
|
void |
close_async(AMD_StatefulServiceInterface_close __cb)
Frees all resources -- passivated or active -- for the given
stateful service and removes its name from the object adapter.
|
void |
createThumbnail_async(AMD_ThumbnailStore_createThumbnail __cb,
RInt sizeX,
RInt sizeY)
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)
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)
Creates thumbnails for a number of pixels sets using a
given set of rendering settings (RenderingDef) in the
on-disk cache.
|
void |
getCurrentEventContext_async(AMD_StatefulServiceInterface_getCurrentEventContext __cb)
To free clients from tracking the mapping from session to stateful
service, each stateful service can returns its own context information.
|
void |
getRenderingDefId_async(AMD_ThumbnailStore_getRenderingDefId __cb)
Return the id of the
RenderingDef
loaded in this instance. |
void |
getThumbnail_async(AMD_ThumbnailStore_getThumbnail __cb,
RInt sizeX,
RInt sizeY)
Retrieves a thumbnail for a pixels set using a given set of
rendering settings (RenderingDef).
|
void |
getThumbnailByLongestSide_async(AMD_ThumbnailStore_getThumbnailByLongestSide __cb,
RInt size)
Retrieves a thumbnail for a pixels set using a given set of
rendering settings (RenderingDef).
|
void |
getThumbnailByLongestSideDirect_async(AMD_ThumbnailStore_getThumbnailByLongestSideDirect __cb,
RInt size)
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)
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)
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)
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)
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)
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)
Retrieves a thumbnail for a pixels set using a given set of
rendering settings (RenderingDef).
|
protected void |
ice_copyStateFrom(Ice.Object __obj) |
java.lang.String |
ice_id() |
java.lang.String |
ice_id(Ice.Current __current) |
java.lang.String[] |
ice_ids() |
java.lang.String[] |
ice_ids(Ice.Current __current) |
boolean |
ice_isA(java.lang.String s) |
boolean |
ice_isA(java.lang.String s,
Ice.Current __current) |
static java.lang.String |
ice_staticId() |
void |
isInProgress_async(AMD_ThumbnailStore_isInProgress __cb)
This returns the last available in progress state
for a thumbnail.
|
void |
passivate_async(AMD_StatefulServiceInterface_passivate __cb)
Causes the blitz server to store the service implementation to disk
to free memory.
|
void |
resetDefaults_async(AMD_ThumbnailStore_resetDefaults __cb)
Resets the rendering definition for the active pixels set
to its default settings.
|
void |
setPixelsId_async(AMD_ThumbnailStore_setPixelsId __cb,
long pixelsId)
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)
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)
Checks if a thumbnail of a particular size exists for a
pixels set.
|
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createThumbnail_async, createThumbnails_async, createThumbnailsByLongestSideSet_async, getRenderingDefId_async, getThumbnail_async, getThumbnailByLongestSide_async, getThumbnailByLongestSideDirect_async, getThumbnailByLongestSideSet_async, getThumbnailDirect_async, getThumbnailForSectionByLongestSideDirect_async, getThumbnailForSectionDirect_async, getThumbnailSet_async, getThumbnailWithoutDefault_async, isInProgress_async, resetDefaults_async, setPixelsId_async, setRenderingDefId_async, thumbnailExists_async
activate_async, close_async, getCurrentEventContext_async, passivate_async
public static final java.lang.String[] __ids
public static final long serialVersionUID
protected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public boolean ice_isA(java.lang.String s)
ice_isA
in interface Ice.Object
ice_isA
in class Ice.ObjectImpl
public boolean ice_isA(java.lang.String s, Ice.Current __current)
ice_isA
in interface Ice.Object
ice_isA
in class Ice.ObjectImpl
public java.lang.String[] ice_ids()
ice_ids
in interface Ice.Object
ice_ids
in class Ice.ObjectImpl
public java.lang.String[] ice_ids(Ice.Current __current)
ice_ids
in interface Ice.Object
ice_ids
in class Ice.ObjectImpl
public java.lang.String ice_id()
ice_id
in interface Ice.Object
ice_id
in class Ice.ObjectImpl
public java.lang.String ice_id(Ice.Current __current)
ice_id
in interface Ice.Object
ice_id
in class Ice.ObjectImpl
public static java.lang.String ice_staticId()
public final void activate_async(AMD_StatefulServiceInterface_activate __cb) throws ServerError
activate_async
in interface _StatefulServiceInterfaceOperationsNC
__cb
- The callback object for the operation.ServerError
public final void close_async(AMD_StatefulServiceInterface_close __cb) throws ServerError
close_async
in interface _StatefulServiceInterfaceOperationsNC
__cb
- The callback object for the operation.ServerError
public final void getCurrentEventContext_async(AMD_StatefulServiceInterface_getCurrentEventContext __cb) throws ServerError
getCurrentEventContext_async
in interface _StatefulServiceInterfaceOperationsNC
__cb
- The callback object for the operation.ServerError
public final void passivate_async(AMD_StatefulServiceInterface_passivate __cb) throws ServerError
passivate_async
in interface _StatefulServiceInterfaceOperationsNC
__cb
- The callback object for the operation.ServerError
public final void createThumbnail_async(AMD_ThumbnailStore_createThumbnail __cb, RInt sizeX, RInt sizeY) throws ServerError
createThumbnail_async
in interface _ThumbnailStoreOperationsNC
__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.ApiUsageException
- if:
sizeX
is greater than pixels.sizeXsizeX
is negativesizeY
is greater than pixels.sizeYsizeY
is negativesetPixelsId
has not yet been calledServerError
public final void createThumbnails_async(AMD_ThumbnailStore_createThumbnails __cb) throws ServerError
createThumbnails_async
in interface _ThumbnailStoreOperationsNC
__cb
- The callback object for the operation.ServerError
public final void createThumbnailsByLongestSideSet_async(AMD_ThumbnailStore_createThumbnailsByLongestSideSet __cb, RInt size, java.util.List<java.lang.Long> pixelsIds) throws ServerError
setPixelsId
. 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 _ThumbnailStoreOperationsNC
__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.ApiUsageException
- if:
size
is greater than pixels.sizeX and pixels.sizeYsize
is negativeServerError
public final void getRenderingDefId_async(AMD_ThumbnailStore_getRenderingDefId __cb) throws ServerError
RenderingDef
loaded in this instance.getRenderingDefId_async
in interface _ThumbnailStoreOperationsNC
__cb
- The callback object for the operation.ServerError
public final void getThumbnail_async(AMD_ThumbnailStore_getThumbnail __cb, RInt sizeX, RInt sizeY) throws ServerError
getThumbnailDirect
, 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 _ThumbnailStoreOperationsNC
__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.ApiUsageException
- if:
sizeX
is greater than pixels.sizeXsizeX
is negativesizeY
is greater than pixels.sizeYsizeY
is negativesetPixelsId
has not yet been calledServerError
public final void getThumbnailByLongestSide_async(AMD_ThumbnailStore_getThumbnailByLongestSide __cb, RInt size) throws ServerError
getThumbnailDirect
,
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 _ThumbnailStoreOperationsNC
__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.ApiUsageException
- if:
size
is greater than pixels.sizeX and pixels.sizeYsetPixelsId
has not yet been calledServerError
public final void getThumbnailByLongestSideDirect_async(AMD_ThumbnailStore_getThumbnailByLongestSideDirect __cb, RInt size) throws ServerError
getThumbnailByLongestSideDirect_async
in interface _ThumbnailStoreOperationsNC
__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.ApiUsageException
- if:
size
is greater than pixels.sizeX and pixels.sizeYsetPixelsId
has not yet been calledServerError
public final void getThumbnailByLongestSideSet_async(AMD_ThumbnailStore_getThumbnailByLongestSideSet __cb, RInt size, java.util.List<java.lang.Long> pixelsIds) throws ServerError
getThumbnailByLongestSideDirect
. 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 _ThumbnailStoreOperationsNC
__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.ServerError
public final void getThumbnailDirect_async(AMD_ThumbnailStore_getThumbnailDirect __cb, RInt sizeX, RInt sizeY) throws ServerError
getThumbnailDirect_async
in interface _ThumbnailStoreOperationsNC
__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.ApiUsageException
- if:
sizeX
is greater than pixels.sizeXsizeX
is negativesizeY
is greater than pixels.sizeYsizeY
is negativesetPixelsId
has not yet been calledServerError
public final void getThumbnailForSectionByLongestSideDirect_async(AMD_ThumbnailStore_getThumbnailForSectionByLongestSideDirect __cb, int theZ, int theT, RInt size) throws ServerError
getThumbnailForSectionByLongestSideDirect_async
in interface _ThumbnailStoreOperationsNC
__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.ApiUsageException
- if:
size
is greater than pixels.sizeX and pixels.sizeYsetPixelsId
has not yet been calledServerError
public final void getThumbnailForSectionDirect_async(AMD_ThumbnailStore_getThumbnailForSectionDirect __cb, int theZ, int theT, RInt sizeX, RInt sizeY) throws ServerError
getThumbnailForSectionDirect_async
in interface _ThumbnailStoreOperationsNC
__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.ApiUsageException
- if:
sizeX
is greater than pixels.sizeXsizeX
is negativesizeY
is greater than pixels.sizeYsizeY
is negativetheZ
is out of rangetheT
is out of rangesetPixelsId
has not yet been calledServerError
public final void getThumbnailSet_async(AMD_ThumbnailStore_getThumbnailSet __cb, RInt sizeX, RInt sizeY, java.util.List<java.lang.Long> pixelsIds) throws ServerError
getThumbnailDirect
, 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 _ThumbnailStoreOperationsNC
__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.ServerError
public final void getThumbnailWithoutDefault_async(AMD_ThumbnailStore_getThumbnailWithoutDefault __cb, RInt sizeX, RInt sizeY) throws ServerError
getThumbnailDirect
, 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 _ThumbnailStoreOperationsNC
__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.ApiUsageException
- if:
sizeX
is greater than pixels.sizeXsizeX
is negativesizeY
is greater than pixels.sizeYsizeY
is negativesetPixelsId
has not yet been calledServerError
public final void isInProgress_async(AMD_ThumbnailStore_isInProgress __cb) throws ServerError
isInProgress_async
in interface _ThumbnailStoreOperationsNC
__cb
- The callback object for the operation.ServerError
public final void resetDefaults_async(AMD_ThumbnailStore_resetDefaults __cb) throws ServerError
resetDefaults_async
in interface _ThumbnailStoreOperationsNC
__cb
- The callback object for the operation.ServerError
public final void setPixelsId_async(AMD_ThumbnailStore_setPixelsId __cb, long pixelsId) throws ServerError
ThumbnailStore
relies on the
RenderingEngine
, a valid rendering
definition must be available for it to work.setPixelsId_async
in interface _ThumbnailStoreOperationsNC
__cb
- The callback object for the operation.pixelsId
- an Pixels
id.ApiUsageException
- if no pixels object exists with
the ID pixelsId
.ServerError
public final void setRenderingDefId_async(AMD_ThumbnailStore_setRenderingDefId __cb, long renderingDefId) throws ServerError
setPixelsId
. 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 _ThumbnailStoreOperationsNC
__cb
- The callback object for the operation.renderingDefId
- an RenderingDef
id.
null
specifies the user's currently
active rendering settings to be used.ValidationException
- if no rendering definition exists with the ID
renderingDefId
.ServerError
public final void thumbnailExists_async(AMD_ThumbnailStore_thumbnailExists __cb, RInt sizeX, RInt sizeY) throws ServerError
thumbnailExists_async
in interface _ThumbnailStoreOperationsNC
__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.ApiUsageException
- if:
sizeX
is negativesizeY
is negative#setPixelsId
has not yet been calledServerError
public static Ice.DispatchStatus ___setPixelsId(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___isInProgress(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___setRenderingDefId(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getRenderingDefId(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getThumbnail(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getThumbnailWithoutDefault(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getThumbnailSet(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getThumbnailByLongestSideSet(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getThumbnailByLongestSide(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getThumbnailByLongestSideDirect(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getThumbnailDirect(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getThumbnailForSectionDirect(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getThumbnailForSectionByLongestSideDirect(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createThumbnails(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createThumbnail(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___createThumbnailsByLongestSideSet(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___thumbnailExists(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___resetDefaults(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)
__dispatch
in interface Ice.Object
__dispatch
in class Ice.ObjectImpl
protected void __writeImpl(IceInternal.BasicStream __os)
__writeImpl
in class Ice.ObjectImpl
protected void __readImpl(IceInternal.BasicStream __is)
__readImpl
in class Ice.ObjectImpl