Package ome.services.blitz.impl
Class RenderingSettingsI
- java.lang.Object
-
- ome.services.blitz.impl.AbstractAmdServant
-
- ome.services.blitz.impl.RenderingSettingsI
-
- All Implemented Interfaces:
_IRenderingSettingsOperations,_ServiceInterfaceOperations,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class RenderingSettingsI extends AbstractAmdServant implements _IRenderingSettingsOperations
Implementation of the IRenderingSettings service.- Since:
- 3.0-Beta4
- See Also:
IRenderingSettings
-
-
Constructor Summary
Constructors Constructor Description RenderingSettingsI(ome.api.IRenderingSettings service, BlitzExecutor be)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplySettingsToDataset_async(AMD_IRenderingSettings_applySettingsToDataset __cb, long from, long to, Ice.Current __current)Applies rendering settings to all images in a given Dataset.voidapplySettingsToImage_async(AMD_IRenderingSettings_applySettingsToImage __cb, long from, long to, Ice.Current __current)Applies rendering settings to a given Image.voidapplySettingsToImages_async(AMD_IRenderingSettings_applySettingsToImages __cb, long from, java.util.List<java.lang.Long> to, Ice.Current __current)Applies rendering settings to a given Image.voidapplySettingsToPixels_async(AMD_IRenderingSettings_applySettingsToPixels __cb, long from, long to, Ice.Current __current)Applies rendering settings to a given Pixels.voidapplySettingsToProject_async(AMD_IRenderingSettings_applySettingsToProject __cb, long from, long to, Ice.Current __current)Applies rendering settings to all images in all Datasets of a given Project.voidapplySettingsToSet_async(AMD_IRenderingSettings_applySettingsToSet __cb, long from, java.lang.String toType, java.util.List<java.lang.Long> to, Ice.Current __current)Applies rendering settings to one or many containers.voidcreateNewRenderingDef_async(AMD_IRenderingSettings_createNewRenderingDef __cb, Pixels pixels, Ice.Current __current)Creates a new rendering definition object along with its sub-objects.voidgetRenderingSettings_async(AMD_IRenderingSettings_getRenderingSettings __cb, long pixelsId, Ice.Current __current)Returns the default rendering settings for a given pixels for the current user.voidresetDefaults_async(AMD_IRenderingSettings_resetDefaults __cb, RenderingDef def, Pixels pixels, Ice.Current __current)Resets the given rendering settings to those that are specified by the rendering engine intelligent pretty good image (PG) logic for the pixels set linked to that set of rendering settings.voidresetDefaultsByOwnerInSet_async(AMD_IRenderingSettings_resetDefaultsByOwnerInSet __cb, java.lang.String type, java.util.List<java.lang.Long> nodeIds, Ice.Current __current)Resets the rendering settings of a given group of containers based on the owner's (essentially a copy).voidresetDefaultsForPixels_async(AMD_IRenderingSettings_resetDefaultsForPixels __cb, long pixelsId, Ice.Current __current)Resets a Pixels' default rendering settings back to those that are specified by the rendering engine intelligent pretty good image (PG) logic.voidresetDefaultsInDataset_async(AMD_IRenderingSettings_resetDefaultsInDataset __cb, long dataSetId, Ice.Current __current)Resets a dataset's rendering settings back to those that are specified by the rendering engine intelligent pretty good image (PG) logic.voidresetDefaultsInImage_async(AMD_IRenderingSettings_resetDefaultsInImage __cb, long imageId, Ice.Current __current)Resets an image's default rendering settings back to those that are specified by the rendering engine intelligent pretty good image (PG) logic.voidresetDefaultsInSet_async(AMD_IRenderingSettings_resetDefaultsInSet __cb, java.lang.String type, java.util.List<java.lang.Long> nodeIds, Ice.Current __current)Resets a rendering settings back to one or many containers that are specified by the rendering engine intelligent pretty good image (PG) logic.voidresetDefaultsNoSave_async(AMD_IRenderingSettings_resetDefaultsNoSave __cb, RenderingDef def, Pixels pixels, Ice.Current __current)Resets the given rendering settings to those that are specified by the rendering engine intelligent pretty good image (PG) logic for the pixels set linked to that set of rendering settings.voidresetMinMaxInSet_async(AMD_IRenderingSettings_resetMinMaxInSet __cb, java.lang.String type, java.util.List<java.lang.Long> nodeIds, Ice.Current __current)Resets a the channel windows for one or many containers back to their global minimum and global maximum for the channel.voidsanityCheckPixels_async(AMD_IRenderingSettings_sanityCheckPixels __cb, Pixels from, Pixels to, Ice.Current __current)Checks if the specified sets of pixels are compatible.voidsetOriginalSettingsForPixels_async(AMD_IRenderingSettings_setOriginalSettingsForPixels __cb, long pixelsId, Ice.Current __current)Resets an Pixels' default rendering settings back to channel global minimum and maximum.voidsetOriginalSettingsInDataset_async(AMD_IRenderingSettings_setOriginalSettingsInDataset __cb, long dataSetId, Ice.Current __current)Resets a dataset's rendering settings back to channel global minimum and maximum.voidsetOriginalSettingsInImage_async(AMD_IRenderingSettings_setOriginalSettingsInImage __cb, long imageId, Ice.Current __current)Resets an image's default rendering settings back to channel global minimum and maximum.voidsetOriginalSettingsInSet_async(AMD_IRenderingSettings_setOriginalSettingsInSet __cb, java.lang.String type, java.util.List<java.lang.Long> nodeIds, Ice.Current __current)Resets a rendering settings back to channel global minimum and maximum for the specified containers.-
Methods inherited from class ome.services.blitz.impl.AbstractAmdServant
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolder
-
-
-
-
Constructor Detail
-
RenderingSettingsI
public RenderingSettingsI(ome.api.IRenderingSettings service, BlitzExecutor be)
-
-
Method Detail
-
applySettingsToDataset_async
public void applySettingsToDataset_async(AMD_IRenderingSettings_applySettingsToDataset __cb, long from, long to, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsApplies rendering settings to all images in a given Dataset.- Specified by:
applySettingsToDataset_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.from- The Id of the pixels set to copy the rendering settings from.to- The Id of the dataset container to apply settings to.__current- The Current object for the invocation.- Throws:
ServerError
-
applySettingsToImage_async
public void applySettingsToImage_async(AMD_IRenderingSettings_applySettingsToImage __cb, long from, long to, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsApplies rendering settings to a given Image.- Specified by:
applySettingsToImage_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.from- The Id of the pixels set to copy the rendering settings from.to- The Id of the image container to apply settings to.__current- The Current object for the invocation.- Throws:
ServerError
-
applySettingsToPixels_async
public void applySettingsToPixels_async(AMD_IRenderingSettings_applySettingsToPixels __cb, long from, long to, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsApplies rendering settings to a given Pixels.- Specified by:
applySettingsToPixels_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.from- The Id of the pixels set to copy the rendering settings from.to- The Id of the pixels container to apply settings to.__current- The Current object for the invocation.- Throws:
ServerError
-
applySettingsToProject_async
public void applySettingsToProject_async(AMD_IRenderingSettings_applySettingsToProject __cb, long from, long to, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsApplies rendering settings to all images in all Datasets of a given Project.- Specified by:
applySettingsToProject_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.from- The Id of the pixels set to copy the rendering settings from.to- The Id of the project container to apply settings to.__current- The Current object for the invocation.- Throws:
ServerError
-
applySettingsToImages_async
public void applySettingsToImages_async(AMD_IRenderingSettings_applySettingsToImages __cb, long from, java.util.List<java.lang.Long> to, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsApplies rendering settings to a given Image.- Specified by:
applySettingsToImages_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.from- The Id of the pixels set to copy the rendering settings from.to- The Id of the image container to apply settings to.__current- The Current object for the invocation.- Throws:
ServerError
-
applySettingsToSet_async
public void applySettingsToSet_async(AMD_IRenderingSettings_applySettingsToSet __cb, long from, java.lang.String toType, java.util.List<java.lang.Long> to, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsApplies rendering settings to one or many containers. If a container such as Dataset is to be copied to, all images within that Dataset will have the rendering settings applied. Supported container types are:- Specified by:
applySettingsToSet_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.from- The Id of the pixels set to copy the rendering settings from.toType- The type of nodes to handle.__current- The Current object for the invocation.- Throws:
ServerError
-
createNewRenderingDef_async
public void createNewRenderingDef_async(AMD_IRenderingSettings_createNewRenderingDef __cb, Pixels pixels, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsCreates a new rendering definition object along with its sub-objects.- Specified by:
createNewRenderingDef_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.pixels- The Pixels set to link to the rendering definition.__current- The Current object for the invocation.- Throws:
ServerError
-
getRenderingSettings_async
public void getRenderingSettings_async(AMD_IRenderingSettings_getRenderingSettings __cb, long pixelsId, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsReturns the default rendering settings for a given pixels for the current user.- Specified by:
getRenderingSettings_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.pixelsId- The Id of the Pixels__current- The Current object for the invocation.- Throws:
ServerError
-
resetDefaultsInDataset_async
public void resetDefaultsInDataset_async(AMD_IRenderingSettings_resetDefaultsInDataset __cb, long dataSetId, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsResets a dataset's rendering settings back to those that are specified by the rendering engine intelligent pretty good image (PG) logic.- Specified by:
resetDefaultsInDataset_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.dataSetId- The Id of the Dataset.__current- The Current object for the invocation.- Throws:
ServerError
-
resetDefaultsInImage_async
public void resetDefaultsInImage_async(AMD_IRenderingSettings_resetDefaultsInImage __cb, long imageId, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsResets an image's default rendering settings back to those that are specified by the rendering engine intelligent pretty good image (PG) logic.- Specified by:
resetDefaultsInImage_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.imageId- The Id of the Image.__current- The Current object for the invocation.- Throws:
ServerError
-
resetDefaultsForPixels_async
public void resetDefaultsForPixels_async(AMD_IRenderingSettings_resetDefaultsForPixels __cb, long pixelsId, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsResets a Pixels' default rendering settings back to those that are specified by the rendering engine intelligent pretty good image (PG) logic.- Specified by:
resetDefaultsForPixels_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.pixelsId- The Id of the Pixels.__current- The Current object for the invocation.- Throws:
ServerError
-
resetDefaultsInSet_async
public void resetDefaultsInSet_async(AMD_IRenderingSettings_resetDefaultsInSet __cb, java.lang.String type, java.util.List<java.lang.Long> nodeIds, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsResets a rendering settings back to one or many containers that are specified by the rendering engine intelligent pretty good image (PG) logic. Supported container types are:- Specified by:
resetDefaultsInSet_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.type- The type of nodes to handle.__current- The Current object for the invocation.- Throws:
ServerError
-
resetDefaultsByOwnerInSet_async
public void resetDefaultsByOwnerInSet_async(AMD_IRenderingSettings_resetDefaultsByOwnerInSet __cb, java.lang.String type, java.util.List<java.lang.Long> nodeIds, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsResets the rendering settings of a given group of containers based on the owner's (essentially a copy). Supported container types are:- Specified by:
resetDefaultsByOwnerInSet_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.type- The type of nodes to handle.__current- The Current object for the invocation.- Throws:
ServerError
-
resetDefaultsNoSave_async
public void resetDefaultsNoSave_async(AMD_IRenderingSettings_resetDefaultsNoSave __cb, RenderingDef def, Pixels pixels, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsResets the given rendering settings to those that are specified by the rendering engine intelligent pretty good image (PG) logic for the pixels set linked to that set of rendering settings. NOTE: This method should only be used to reset a rendering definition that has been retrieved viagetRenderingSettings(long)as it relies on certain objects being loaded. The rendering settings are not saved.- Specified by:
resetDefaultsNoSave_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.def- A RenderingDef to reset. It is expected that def.pixels will be unloaded and that the actual linked Pixels set will be provided in thepixelsargument.pixels- The Pixels set fordef.__current- The Current object for the invocation.- Throws:
ServerError
-
resetDefaults_async
public void resetDefaults_async(AMD_IRenderingSettings_resetDefaults __cb, RenderingDef def, Pixels pixels, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsResets the given rendering settings to those that are specified by the rendering engine intelligent pretty good image (PG) logic for the pixels set linked to that set of rendering settings. NOTE: This method should only be used to reset a rendering definition that has been retrieved viagetRenderingSettingsas it relies on certain objects being loaded. The rendering settings are saved upon completion.- Specified by:
resetDefaults_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.def- A RenderingDef to reset. It is expected that def.pixels will be unloaded and that the actual linked Pixels set will be provided in thepixelsargument.pixels- The Pixels set fordef.__current- The Current object for the invocation.- Throws:
ServerError
-
resetMinMaxInSet_async
public void resetMinMaxInSet_async(AMD_IRenderingSettings_resetMinMaxInSet __cb, java.lang.String type, java.util.List<java.lang.Long> nodeIds, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsResets a the channel windows for one or many containers back to their global minimum and global maximum for the channel. Supported container types are:- Specified by:
resetMinMaxInSet_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.type- The type of nodes to handle.__current- The Current object for the invocation.- Throws:
ServerError
-
sanityCheckPixels_async
public void sanityCheckPixels_async(AMD_IRenderingSettings_sanityCheckPixels __cb, Pixels from, Pixels to, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsChecks if the specified sets of pixels are compatible. Returnstrueif the pixels set is valid,falseotherwise.- Specified by:
sanityCheckPixels_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.from- The pixels set to copy the settings from.__current- The Current object for the invocation.- Throws:
ServerError
-
setOriginalSettingsInDataset_async
public void setOriginalSettingsInDataset_async(AMD_IRenderingSettings_setOriginalSettingsInDataset __cb, long dataSetId, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsResets a dataset's rendering settings back to channel global minimum and maximum.- Specified by:
setOriginalSettingsInDataset_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.dataSetId- The id of the dataset to handle.__current- The Current object for the invocation.- Throws:
ServerError
-
setOriginalSettingsInImage_async
public void setOriginalSettingsInImage_async(AMD_IRenderingSettings_setOriginalSettingsInImage __cb, long imageId, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsResets an image's default rendering settings back to channel global minimum and maximum.- Specified by:
setOriginalSettingsInImage_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.imageId- The Id of the Image.__current- The Current object for the invocation.- Throws:
ServerError
-
setOriginalSettingsForPixels_async
public void setOriginalSettingsForPixels_async(AMD_IRenderingSettings_setOriginalSettingsForPixels __cb, long pixelsId, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsResets an Pixels' default rendering settings back to channel global minimum and maximum.- Specified by:
setOriginalSettingsForPixels_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.pixelsId- The Id of the Pixels set.__current- The Current object for the invocation.- Throws:
ServerError
-
setOriginalSettingsInSet_async
public void setOriginalSettingsInSet_async(AMD_IRenderingSettings_setOriginalSettingsInSet __cb, java.lang.String type, java.util.List<java.lang.Long> nodeIds, Ice.Current __current) throws ServerError
Description copied from interface:_IRenderingSettingsOperationsResets a rendering settings back to channel global minimum and maximum for the specified containers. Supported container types are:- Specified by:
setOriginalSettingsInSet_asyncin interface_IRenderingSettingsOperations- Parameters:
__cb- The callback object for the operation.type- The type of nodes to handle.__current- The Current object for the invocation.- Throws:
ServerError
-
-