Package omero.api
Class _ThumbnailStoreDisp
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.api._ThumbnailStoreDisp
-
- All Implemented Interfaces:
Ice.Object,java.io.Serializable,java.lang.Cloneable,_ServiceInterfaceOperations,_ServiceInterfaceOperationsNC,_StatefulServiceInterfaceOperations,_StatefulServiceInterfaceOperationsNC,_ThumbnailStoreOperations,_ThumbnailStoreOperationsNC,ServiceInterface,StatefulServiceInterface,ThumbnailStore
- Direct Known Subclasses:
_ThumbnailStoreTie
public abstract class _ThumbnailStoreDisp extends Ice.ObjectImpl implements ThumbnailStore
Provides methods for dealing with thumbnails. Provision is provided to retrieve thumbnails using the on-disk cache (provided by ROMIO) or on the fly.NOTE: The calling order for the service is as follows:
setPixelsId- any of the thumbnail accessor methods or
resetDefaults
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]__idsstatic longserialVersionUID-
Fields inherited from interface omero.api.ThumbnailStore
ice_staticId
-
-
Constructor Summary
Constructors Constructor Description _ThumbnailStoreDisp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)voidactivate_async(AMD_StatefulServiceInterface_activate __cb)Load a service implementation from disk if it was previously passivated.voidclose_async(AMD_StatefulServiceInterface_close __cb)Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter.voidcreateThumbnail_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.voidcreateThumbnails_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.voidcreateThumbnailsByLongestSideSet_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.voidgetCurrentEventContext_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.voidgetRenderingDefId_async(AMD_ThumbnailStore_getRenderingDefId __cb)Return the id of theRenderingDefloaded in this instance.voidgetThumbnail_async(AMD_ThumbnailStore_getThumbnail __cb, RInt sizeX, RInt sizeY)Retrieves a thumbnail for a pixels set using a given set of rendering settings (RenderingDef).voidgetThumbnailByLongestSide_async(AMD_ThumbnailStore_getThumbnailByLongestSide __cb, RInt size)Retrieves a thumbnail for a pixels set using a given set of rendering settings (RenderingDef).voidgetThumbnailByLongestSideDirect_async(AMD_ThumbnailStore_getThumbnailByLongestSideDirect __cb, RInt size)Retrieves a thumbnail for a pixels set using a given set of rendering settings (RenderingDef).voidgetThumbnailByLongestSideSet_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).voidgetThumbnailDirect_async(AMD_ThumbnailStore_getThumbnailDirect __cb, RInt sizeX, RInt sizeY)Retrieves a thumbnail for a pixels set using a given set of rendering settings (RenderingDef).voidgetThumbnailForSectionByLongestSideDirect_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.voidgetThumbnailForSectionDirect_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.voidgetThumbnailSet_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).voidgetThumbnailWithoutDefault_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 voidice_copyStateFrom(Ice.Object __obj)java.lang.Stringice_id()java.lang.Stringice_id(Ice.Current __current)java.lang.String[]ice_ids()java.lang.String[]ice_ids(Ice.Current __current)booleanice_isA(java.lang.String s)booleanice_isA(java.lang.String s, Ice.Current __current)static java.lang.Stringice_staticId()voidisInProgress_async(AMD_ThumbnailStore_isInProgress __cb)This returns the last available in progress state for a thumbnail.voidpassivate_async(AMD_StatefulServiceInterface_passivate __cb)Causes the blitz server to store the service implementation to disk to free memory.voidresetDefaults_async(AMD_ThumbnailStore_resetDefaults __cb)Resets the rendering definition for the active pixels set to its default settings.voidsetPixelsId_async(AMD_ThumbnailStore_setPixelsId __cb, long pixelsId)This method manages the state of the service; it must be invoked before using any other methods.voidsetRenderingDefId_async(AMD_ThumbnailStore_setRenderingDefId __cb, long renderingDefId)This method manages the state of the service; it should be invoked directly aftersetPixelsId.voidthumbnailExists_async(AMD_ThumbnailStore_thumbnailExists __cb, RInt sizeX, RInt sizeY)Checks if a thumbnail of a particular size exists for a pixels set.-
Methods inherited from class Ice.ObjectImpl
___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
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface omero.api._StatefulServiceInterfaceOperations
activate_async, close_async, getCurrentEventContext_async, passivate_async
-
Methods inherited from interface omero.api._ThumbnailStoreOperations
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
-
-
-
-
Field Detail
-
__ids
public static final java.lang.String[] __ids
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
ice_copyStateFrom
protected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException- Throws:
java.lang.CloneNotSupportedException
-
ice_isA
public boolean ice_isA(java.lang.String s)
- Specified by:
ice_isAin interfaceIce.Object- Overrides:
ice_isAin classIce.ObjectImpl
-
ice_isA
public boolean ice_isA(java.lang.String s, Ice.Current __current)- Specified by:
ice_isAin interfaceIce.Object- Overrides:
ice_isAin classIce.ObjectImpl
-
ice_ids
public java.lang.String[] ice_ids()
- Specified by:
ice_idsin interfaceIce.Object- Overrides:
ice_idsin classIce.ObjectImpl
-
ice_ids
public java.lang.String[] ice_ids(Ice.Current __current)
- Specified by:
ice_idsin interfaceIce.Object- Overrides:
ice_idsin classIce.ObjectImpl
-
ice_id
public java.lang.String ice_id()
- Specified by:
ice_idin interfaceIce.Object- Overrides:
ice_idin classIce.ObjectImpl
-
ice_id
public java.lang.String ice_id(Ice.Current __current)
- Specified by:
ice_idin interfaceIce.Object- Overrides:
ice_idin classIce.ObjectImpl
-
ice_staticId
public static java.lang.String ice_staticId()
-
activate_async
public final void activate_async(AMD_StatefulServiceInterface_activate __cb) throws ServerError
Load a service implementation from disk if it was previously passivated. It is unnecessary to call this method since activation happens automatically, but calling this may prevent a short lapse when the service is first accessed after passivation. It is safe to call this method at any time, even when the service is not passivated.- Specified by:
activate_asyncin interface_StatefulServiceInterfaceOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
close_async
public final void close_async(AMD_StatefulServiceInterface_close __cb) throws ServerError
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter. Any further method calls will fail with a Ice::NoSuchObjectException. Note: with JavaEE, the close method was called publicly, and internally this called destroy(). As of the OmeroBlitz migration, this functionality has been combined.- Specified by:
close_asyncin interface_StatefulServiceInterfaceOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
getCurrentEventContext_async
public final void getCurrentEventContext_async(AMD_StatefulServiceInterface_getCurrentEventContext __cb) throws ServerError
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.- Specified by:
getCurrentEventContext_asyncin interface_StatefulServiceInterfaceOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
passivate_async
public final void passivate_async(AMD_StatefulServiceInterface_passivate __cb) throws ServerError
Causes the blitz server to store the service implementation to disk to free memory. This is typically done automatically by the server when a pre-defined memory limit is reached, but can be used by the client if it clear that a stateful service will not be used for some time. Activation will happen automatically whether passivation was done manually or automatically.- Specified by:
passivate_asyncin interface_StatefulServiceInterfaceOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
createThumbnail_async
public final void createThumbnail_async(AMD_ThumbnailStore_createThumbnail __cb, RInt sizeX, RInt sizeY) throws ServerError
Creates a thumbnail for a pixels set using a given set of rendering settings (RenderingDef) in the on-disk cache.- Specified by:
createThumbnail_asyncin interface_ThumbnailStoreOperationsNC- Parameters:
__cb- The callback object for the operation.sizeX- the X-axis width of the thumbnail.nullspecifies the default size of 48.sizeY- the Y-axis width of the thumbnail.nullspecifies the default size of 48.- Throws:
ApiUsageException- if:sizeXis greater than pixels.sizeXsizeXis negativesizeYis greater than pixels.sizeYsizeYis negativesetPixelsIdhas not yet been called
ServerError
-
createThumbnails_async
public final void createThumbnails_async(AMD_ThumbnailStore_createThumbnails __cb) throws ServerError
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.- Specified by:
createThumbnails_asyncin interface_ThumbnailStoreOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
createThumbnailsByLongestSideSet_async
public final void createThumbnailsByLongestSideSet_async(AMD_ThumbnailStore_createThumbnailsByLongestSideSet __cb, RInt size, java.util.List<java.lang.Long> pixelsIds) throws ServerError
Creates thumbnails for a number of pixels sets using a given set of rendering settings (RenderingDef) in the on-disk cache. Unlike the other thumbnail creation methods, this method may be called without first callingsetPixelsId. 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.- Specified by:
createThumbnailsByLongestSideSet_asyncin interface_ThumbnailStoreOperationsNC- Parameters:
__cb- The callback object for the operation.size- the size of the longest side of the thumbnail requested.nullspecifies the default size of 48.pixelsIds- the Pixels sets to retrieve thumbnails for.- Throws:
ApiUsageException- if:sizeis greater than pixels.sizeX and pixels.sizeYsizeis negative
ServerError
-
getRenderingDefId_async
public final void getRenderingDefId_async(AMD_ThumbnailStore_getRenderingDefId __cb) throws ServerError
Return the id of theRenderingDefloaded in this instance.- Specified by:
getRenderingDefId_asyncin interface_ThumbnailStoreOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
getThumbnail_async
public final void getThumbnail_async(AMD_ThumbnailStore_getThumbnail __cb, RInt sizeX, RInt sizeY) throws ServerError
Retrieves a thumbnail for a pixels set using a given set of rendering settings (RenderingDef). If the thumbnail exists in the on-disk cache it will be returned directly, otherwise it will be created as ingetThumbnailDirect, 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.- Specified by:
getThumbnail_asyncin interface_ThumbnailStoreOperationsNC- Parameters:
__cb- The callback object for the operation.sizeX- the X-axis width of the thumbnail.nullspecifies the default size of 48.sizeY- the Y-axis width of the thumbnail.nullspecifies the default size of 48.- Throws:
ApiUsageException- if:sizeXis greater than pixels.sizeXsizeXis negativesizeYis greater than pixels.sizeYsizeYis negativesetPixelsIdhas not yet been called
ServerError
-
getThumbnailByLongestSide_async
public final void getThumbnailByLongestSide_async(AMD_ThumbnailStore_getThumbnailByLongestSide __cb, RInt size) throws ServerError
Retrieves a thumbnail for a pixels set using a given set of rendering settings (RenderingDef). If the thumbnail exists in the on-disk cache it will be returned directly, otherwise it will be created as ingetThumbnailDirect, 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.- Specified by:
getThumbnailByLongestSide_asyncin interface_ThumbnailStoreOperationsNC- Parameters:
__cb- The callback object for the operation.size- the size of the longest side of the thumbnail requested.nullspecifies the default size of 48.- Throws:
ApiUsageException- if:sizeis greater than pixels.sizeX and pixels.sizeYsetPixelsIdhas not yet been called
ServerError
-
getThumbnailByLongestSideDirect_async
public final void getThumbnailByLongestSideDirect_async(AMD_ThumbnailStore_getThumbnailByLongestSideDirect __cb, RInt size) throws ServerError
Retrieves a thumbnail for a pixels set using a given set of rendering settings (RenderingDef). The Thumbnail will always be created directly, ignoring the on-disk cache. 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.- Specified by:
getThumbnailByLongestSideDirect_asyncin interface_ThumbnailStoreOperationsNC- Parameters:
__cb- The callback object for the operation.size- the size of the longest side of the thumbnail requested.nullspecifies the default size of 48.- Throws:
ApiUsageException- if:sizeis greater than pixels.sizeX and pixels.sizeYsetPixelsIdhas not yet been called
ServerError
-
getThumbnailByLongestSideSet_async
public final void getThumbnailByLongestSideSet_async(AMD_ThumbnailStore_getThumbnailByLongestSideSet __cb, RInt size, java.util.List<java.lang.Long> pixelsIds) throws ServerError
Retrieves a number of thumbnails for pixels sets using given sets of rendering settings (RenderingDef). If the Thumbnails exist in the on-disk cache they will be returned directly, otherwise they will be created as ingetThumbnailByLongestSideDirect. 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 callingsetPixelsId.- Specified by:
getThumbnailByLongestSideSet_asyncin interface_ThumbnailStoreOperationsNC- Parameters:
__cb- The callback object for the operation.size- the size of the longest side of the thumbnail requested.nullspecifies the default size of 48.pixelsIds- the Pixels sets to retrieve thumbnails for.- Throws:
ServerError
-
getThumbnailDirect_async
public final void getThumbnailDirect_async(AMD_ThumbnailStore_getThumbnailDirect __cb, RInt sizeX, RInt sizeY) throws ServerError
Retrieves a thumbnail for a pixels set using a given set of rendering settings (RenderingDef). The Thumbnail will always be created directly, ignoring the on-disk cache.- Specified by:
getThumbnailDirect_asyncin interface_ThumbnailStoreOperationsNC- Parameters:
__cb- The callback object for the operation.sizeX- the X-axis width of the thumbnail.nullspecifies the default size of 48.sizeY- the Y-axis width of the thumbnail.nullspecifies the default size of 48.- Throws:
ApiUsageException- if:sizeXis greater than pixels.sizeXsizeXis negativesizeYis greater than pixels.sizeYsizeYis negativesetPixelsIdhas not yet been called
ServerError
-
getThumbnailForSectionByLongestSideDirect_async
public final void getThumbnailForSectionByLongestSideDirect_async(AMD_ThumbnailStore_getThumbnailForSectionByLongestSideDirect __cb, int theZ, int theT, RInt size) throws ServerError
Retrieves a thumbnail for a pixels set using a given set of rendering settings (RenderingDef) for a particular section. The Thumbnail will always be created directly, ignoring the on-disk cache. 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.- Specified by:
getThumbnailForSectionByLongestSideDirect_asyncin interface_ThumbnailStoreOperationsNC- Parameters:
__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.- Throws:
ApiUsageException- if:sizeis greater than pixels.sizeX and pixels.sizeYsetPixelsIdhas not yet been called
ServerError
-
getThumbnailForSectionDirect_async
public final void getThumbnailForSectionDirect_async(AMD_ThumbnailStore_getThumbnailForSectionDirect __cb, int theZ, int theT, RInt sizeX, RInt sizeY) throws ServerError
Retrieves a thumbnail for a pixels set using a given set of rendering settings (RenderingDef) for a particular section. The Thumbnail will always be created directly, ignoring the on-disk cache.- Specified by:
getThumbnailForSectionDirect_asyncin interface_ThumbnailStoreOperationsNC- Parameters:
__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.nullspecifies the default size of 48.- Throws:
ApiUsageException- if:sizeXis greater than pixels.sizeXsizeXis negativesizeYis greater than pixels.sizeYsizeYis negativetheZis out of rangetheTis out of rangesetPixelsIdhas not yet been called
ServerError
-
getThumbnailSet_async
public final void getThumbnailSet_async(AMD_ThumbnailStore_getThumbnailSet __cb, RInt sizeX, RInt sizeY, java.util.List<java.lang.Long> pixelsIds) throws ServerError
Retrieves a number of thumbnails for pixels sets using given sets of rendering settings (RenderingDef). If the thumbnails exist in the on-disk cache they will be returned directly, otherwise they will be created as ingetThumbnailDirect, placed in the on-disk cache and returned. Unlike the other thumbnail retrieval methods, this method may be called without first callingsetPixelsId.- Specified by:
getThumbnailSet_asyncin interface_ThumbnailStoreOperationsNC- Parameters:
__cb- The callback object for the operation.sizeX- the X-axis width of the thumbnail.nullspecifies the default size of 48.sizeY- the Y-axis width of the thumbnail.nullspecifies the default size of 48.pixelsIds- the Pixels sets to retrieve thumbnails for.- Throws:
ServerError
-
getThumbnailWithoutDefault_async
public final void getThumbnailWithoutDefault_async(AMD_ThumbnailStore_getThumbnailWithoutDefault __cb, RInt sizeX, RInt sizeY) throws ServerError
Retrieves a thumbnail for a pixels set using a given set of rendering settings (RenderingDef). If the thumbnail exists in the on-disk cache it will be returned directly, otherwise it will be created as ingetThumbnailDirect, placed in the on-disk cache and returned. If the thumbnail is still to be generated, an empty array will be returned.- Specified by:
getThumbnailWithoutDefault_asyncin interface_ThumbnailStoreOperationsNC- Parameters:
__cb- The callback object for the operation.sizeX- the X-axis width of the thumbnail.nullspecifies the default size of 48.sizeY- the Y-axis width of the thumbnail.nullspecifies the default size of 48.- Throws:
ApiUsageException- if:sizeXis greater than pixels.sizeXsizeXis negativesizeYis greater than pixels.sizeYsizeYis negativesetPixelsIdhas not yet been called
ServerError
-
isInProgress_async
public final void isInProgress_async(AMD_ThumbnailStore_isInProgress __cb) throws ServerError
This returns the last available in progress state for a thumbnail. Its return value is only expected to be valid after the call to any of the individual thumbnail retrieval methods.- Specified by:
isInProgress_asyncin interface_ThumbnailStoreOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
resetDefaults_async
public final void resetDefaults_async(AMD_ThumbnailStore_resetDefaults __cb) throws ServerError
Resets the rendering definition for the active pixels set to its default settings.- Specified by:
resetDefaults_asyncin interface_ThumbnailStoreOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
setPixelsId_async
public final void setPixelsId_async(AMD_ThumbnailStore_setPixelsId __cb, long pixelsId) throws ServerError
This method manages the state of the service; it must be invoked before using any other methods. As theThumbnailStorerelies on theRenderingEngine, a valid rendering definition must be available for it to work.- Specified by:
setPixelsId_asyncin interface_ThumbnailStoreOperationsNC- Parameters:
__cb- The callback object for the operation.pixelsId- anPixelsid.- Throws:
ApiUsageException- if no pixels object exists with the IDpixelsId.ServerError
-
setRenderingDefId_async
public final void setRenderingDefId_async(AMD_ThumbnailStore_setRenderingDefId __cb, long renderingDefId) throws ServerError
This method manages the state of the service; it should be invoked directly aftersetPixelsId. If it is not invoked with a valid rendering definition ID before using the thumbnail accessor methods execution continues as ifrenderingDefIdwere set tonull.- Specified by:
setRenderingDefId_asyncin interface_ThumbnailStoreOperationsNC- Parameters:
__cb- The callback object for the operation.renderingDefId- anRenderingDefid.nullspecifies the user's currently active rendering settings to be used.- Throws:
ValidationException- if no rendering definition exists with the IDrenderingDefId.ServerError
-
thumbnailExists_async
public final void thumbnailExists_async(AMD_ThumbnailStore_thumbnailExists __cb, RInt sizeX, RInt sizeY) throws ServerError
Checks if a thumbnail of a particular size exists for a pixels set.- Specified by:
thumbnailExists_asyncin interface_ThumbnailStoreOperationsNC- Parameters:
__cb- The callback object for the operation.sizeX- the X-axis width of the thumbnail.nullspecifies the default size of 48.sizeY- the Y-axis width of the thumbnail.nullspecifies the default size of 48.- Throws:
ApiUsageException- if:sizeXis negativesizeYis negative#setPixelsIdhas not yet been called
ServerError
-
___setPixelsId
public static Ice.DispatchStatus ___setPixelsId(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___isInProgress
public static Ice.DispatchStatus ___isInProgress(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___setRenderingDefId
public static Ice.DispatchStatus ___setRenderingDefId(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getRenderingDefId
public static Ice.DispatchStatus ___getRenderingDefId(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getThumbnail
public static Ice.DispatchStatus ___getThumbnail(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getThumbnailWithoutDefault
public static Ice.DispatchStatus ___getThumbnailWithoutDefault(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getThumbnailSet
public static Ice.DispatchStatus ___getThumbnailSet(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getThumbnailByLongestSideSet
public static Ice.DispatchStatus ___getThumbnailByLongestSideSet(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getThumbnailByLongestSide
public static Ice.DispatchStatus ___getThumbnailByLongestSide(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getThumbnailByLongestSideDirect
public static Ice.DispatchStatus ___getThumbnailByLongestSideDirect(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getThumbnailDirect
public static Ice.DispatchStatus ___getThumbnailDirect(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getThumbnailForSectionDirect
public static Ice.DispatchStatus ___getThumbnailForSectionDirect(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getThumbnailForSectionByLongestSideDirect
public static Ice.DispatchStatus ___getThumbnailForSectionByLongestSideDirect(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___createThumbnails
public static Ice.DispatchStatus ___createThumbnails(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___createThumbnail
public static Ice.DispatchStatus ___createThumbnail(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___createThumbnailsByLongestSideSet
public static Ice.DispatchStatus ___createThumbnailsByLongestSideSet(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___thumbnailExists
public static Ice.DispatchStatus ___thumbnailExists(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___resetDefaults
public static Ice.DispatchStatus ___resetDefaults(ThumbnailStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
__dispatch
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)- Specified by:
__dispatchin interfaceIce.Object- Overrides:
__dispatchin classIce.ObjectImpl
-
__writeImpl
protected void __writeImpl(IceInternal.BasicStream __os)
- Overrides:
__writeImplin classIce.ObjectImpl
-
__readImpl
protected void __readImpl(IceInternal.BasicStream __is)
- Overrides:
__readImplin classIce.ObjectImpl
-
-