Package ome.logic
Class RenderingSettingsImpl
- java.lang.Object
-
- ome.logic.AbstractLevel2Service
-
- ome.logic.RenderingSettingsImpl
-
- All Implemented Interfaces:
java.io.Serializable
,ome.api.IRenderingSettings
,ome.api.ServiceInterface
,ome.system.SelfConfigurableService
@Transactional public class RenderingSettingsImpl extends AbstractLevel2Service implements ome.api.IRenderingSettings, java.io.Serializable
Implementation of theIRenderingSettings
I/F.- Since:
- OME3.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static double
EPSILON
The value used to compare double and float.protected ome.io.nio.PixelsService
pixelsData
Reference to the service used to retrieve the pixels data.protected ome.api.IPixels
pixelsMetadata
Reference to the service used to retrieve the pixels metadata.-
Fields inherited from class ome.logic.AbstractLevel2Service
iQuery, iUpdate, metadata, queryFactory, readOnlyStatus, sec
-
-
Constructor Summary
Constructors Constructor Description RenderingSettingsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.Boolean,java.util.List<java.lang.Long>>
applySettingsToDataset(long from, long to)
Implemented as specified by theIRenderingSettings
I/F.boolean
applySettingsToImage(long from, long to)
Implemented as specified by theIRenderingSettings
I/Fjava.util.Map<java.lang.Boolean,java.util.List<java.lang.Long>>
applySettingsToImages(long from, java.util.List<java.lang.Long> nodeIds)
Implemented as specified by theIRenderingSettings
I/Fboolean
applySettingsToPixels(long from, long to)
Implemented as specified by theIRenderingSettings
I/Fjava.util.Map<java.lang.Boolean,java.util.List<java.lang.Long>>
applySettingsToProject(long from, long to)
Implemented as specified by theIRenderingSettings
I/F.<T extends ome.model.IObject>
java.util.Map<java.lang.Boolean,java.util.List<java.lang.Long>>applySettingsToSet(long from, java.lang.Class<T> klass, java.util.Set<java.lang.Long> nodeIds)
Implemented as specified by theIRenderingSettings
I/F.ome.model.display.RenderingDef
createNewRenderingDef(ome.model.core.Pixels pixels)
Implemented as specified by theIRenderingSettings
I/Fome.model.display.RenderingDef
getRenderingSettings(long pixelsId)
Implemented as specified by theIRenderingSettings
I/Fjava.lang.Class<? extends ome.api.ServiceInterface>
getServiceInterface()
Returns the interface this implementation is for.void
resetDefaults(ome.model.display.RenderingDef def, ome.model.core.Pixels pixels)
Implemented as specified by theIRenderingSettings
I/F<T extends ome.model.IObject>
java.util.Set<java.lang.Long>resetDefaultsByOwnerInSet(java.lang.Class<T> klass, java.util.Set<java.lang.Long> nodeIds)
Implemented as specified by theIRenderingSettings
I/F.void
resetDefaultsForPixels(long to)
Implemented as specified by theIRenderingSettings
I/F.java.util.Set<java.lang.Long>
resetDefaultsInDataset(long to)
Implemented as specified by theIRenderingSettings
I/F.void
resetDefaultsInImage(long to)
Implemented as specified by theIRenderingSettings
I/F.<T extends ome.model.IObject>
java.util.Set<java.lang.Long>resetDefaultsInSet(java.lang.Class<T> klass, java.util.Set<java.lang.Long> nodeIds)
Implemented as specified by theIRenderingSettings
I/F.ome.model.display.RenderingDef
resetDefaultsNoSave(ome.model.display.RenderingDef def, ome.model.core.Pixels pixels)
Implemented as specified by theIRenderingSettings
I/F<T extends ome.model.IObject>
java.util.Set<java.lang.Long>resetMinMaxInSet(java.lang.Class<T> klass, java.util.Set<java.lang.Long> nodeIds)
Implemented as specified by theIRenderingSettings
I/F.boolean
sanityCheckPixels(ome.model.core.Pixels pFrom, ome.model.core.Pixels pTo)
Implemented as specified by theIRenderingSettings
I/Fvoid
setOriginalSettingsForPixels(long to)
Implemented as specified by theIRenderingSettings
I/F.java.util.Set<java.lang.Long>
setOriginalSettingsInDataset(long to)
Implemented as specified by theIRenderingSettings
I/F.void
setOriginalSettingsInImage(long to)
Implemented as specified by theIRenderingSettings
I/F.<T extends ome.model.IObject>
java.util.Set<java.lang.Long>setOriginalSettingsInSet(java.lang.Class<T> klass, java.util.Set<java.lang.Long> nodeIds)
Implemented as specified by theIRenderingSettings
I/F.void
setPixelsData(ome.io.nio.PixelsService dataService)
Sets injector.void
setPixelsMetadata(ome.api.IPixels metaService)
Sets injector.void
setRawPixelsStore(ome.api.RawPixelsStore rawPixelsStore)
Sets injector.-
Methods inherited from class ome.logic.AbstractLevel2Service
getBeanHelper, getExtendedMetadata, getQueryFactory, getSecuritySystem, selfConfigure, setExtendedMetadata, setQueryFactory, setQueryService, setReadOnlyStatus, setSecuritySystem, setUpdateService
-
-
-
-
Field Detail
-
EPSILON
public static final double EPSILON
The value used to compare double and float.- See Also:
- Constant Field Values
-
pixelsData
protected transient ome.io.nio.PixelsService pixelsData
Reference to the service used to retrieve the pixels data.
-
pixelsMetadata
protected transient ome.api.IPixels pixelsMetadata
Reference to the service used to retrieve the pixels metadata.
-
-
Method Detail
-
sanityCheckPixels
public boolean sanityCheckPixels(ome.model.core.Pixels pFrom, ome.model.core.Pixels pTo)
Implemented as specified by theIRenderingSettings
I/F- Specified by:
sanityCheckPixels
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.sanityCheckPixels(Pixels, Pixels)
-
setPixelsMetadata
public void setPixelsMetadata(ome.api.IPixels metaService)
Sets injector. For use during configuration. Can only be called once.- Parameters:
metaService
- The value to set.
-
setPixelsData
public void setPixelsData(ome.io.nio.PixelsService dataService)
Sets injector. For use during configuration. Can only be called once.- Parameters:
dataService
- The value to set.
-
setRawPixelsStore
public void setRawPixelsStore(ome.api.RawPixelsStore rawPixelsStore)
Sets injector. For use during configuration. Can only be called once.- Parameters:
rawPixelsStore
- The value to set.
-
getServiceInterface
public java.lang.Class<? extends ome.api.ServiceInterface> getServiceInterface()
Returns the interface this implementation is for.- Specified by:
getServiceInterface
in interfaceome.system.SelfConfigurableService
- See Also:
SelfConfigurableService.getServiceInterface()
-
applySettingsToSet
public <T extends ome.model.IObject> java.util.Map<java.lang.Boolean,java.util.List<java.lang.Long>> applySettingsToSet(long from, java.lang.Class<T> klass, java.util.Set<java.lang.Long> nodeIds)
Implemented as specified by theIRenderingSettings
I/F.- Specified by:
applySettingsToSet
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.applySettingsToSet(long, Class, Set)
-
applySettingsToProject
public java.util.Map<java.lang.Boolean,java.util.List<java.lang.Long>> applySettingsToProject(long from, long to)
Implemented as specified by theIRenderingSettings
I/F.- Specified by:
applySettingsToProject
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.applySettingsToProject(long, long)
-
applySettingsToDataset
public java.util.Map<java.lang.Boolean,java.util.List<java.lang.Long>> applySettingsToDataset(long from, long to)
Implemented as specified by theIRenderingSettings
I/F.- Specified by:
applySettingsToDataset
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.applySettingsToDataset(long, long)
-
applySettingsToImage
public boolean applySettingsToImage(long from, long to)
Implemented as specified by theIRenderingSettings
I/F- Specified by:
applySettingsToImage
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.applySettingsToImage(long, long)
-
applySettingsToImages
public java.util.Map<java.lang.Boolean,java.util.List<java.lang.Long>> applySettingsToImages(long from, java.util.List<java.lang.Long> nodeIds)
Implemented as specified by theIRenderingSettings
I/F- Specified by:
applySettingsToImages
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.applySettingsToImages(long, List)
-
applySettingsToPixels
public boolean applySettingsToPixels(long from, long to)
Implemented as specified by theIRenderingSettings
I/F- Specified by:
applySettingsToPixels
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.applySettingsToPixels(long, long)
-
getRenderingSettings
public ome.model.display.RenderingDef getRenderingSettings(long pixelsId)
Implemented as specified by theIRenderingSettings
I/F- Specified by:
getRenderingSettings
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.getRenderingSettings(long)
-
createNewRenderingDef
public ome.model.display.RenderingDef createNewRenderingDef(ome.model.core.Pixels pixels)
Implemented as specified by theIRenderingSettings
I/F- Specified by:
createNewRenderingDef
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.createNewRenderingDef(Pixels)
-
resetDefaults
public void resetDefaults(ome.model.display.RenderingDef def, ome.model.core.Pixels pixels)
Implemented as specified by theIRenderingSettings
I/F- Specified by:
resetDefaults
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.resetDefaults(RenderingDef, Pixels)
-
resetDefaultsNoSave
public ome.model.display.RenderingDef resetDefaultsNoSave(ome.model.display.RenderingDef def, ome.model.core.Pixels pixels)
Implemented as specified by theIRenderingSettings
I/F- Specified by:
resetDefaultsNoSave
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.resetDefaultsNoSave(RenderingDef, Pixels)
-
resetDefaultsInImage
public void resetDefaultsInImage(long to)
Implemented as specified by theIRenderingSettings
I/F.- Specified by:
resetDefaultsInImage
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.resetDefaultsInImage(long)
-
resetDefaultsForPixels
public void resetDefaultsForPixels(long to)
Implemented as specified by theIRenderingSettings
I/F.- Specified by:
resetDefaultsForPixels
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.resetDefaultsForPixels(long)
-
resetDefaultsInDataset
public java.util.Set<java.lang.Long> resetDefaultsInDataset(long to)
Implemented as specified by theIRenderingSettings
I/F.- Specified by:
resetDefaultsInDataset
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.resetDefaultsInDataset(long)
-
resetDefaultsInSet
public <T extends ome.model.IObject> java.util.Set<java.lang.Long> resetDefaultsInSet(java.lang.Class<T> klass, java.util.Set<java.lang.Long> nodeIds)
Implemented as specified by theIRenderingSettings
I/F.- Specified by:
resetDefaultsInSet
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.resetDefaultsInSet(Class, Set)
-
resetDefaultsByOwnerInSet
public <T extends ome.model.IObject> java.util.Set<java.lang.Long> resetDefaultsByOwnerInSet(java.lang.Class<T> klass, java.util.Set<java.lang.Long> nodeIds)
Implemented as specified by theIRenderingSettings
I/F.- Specified by:
resetDefaultsByOwnerInSet
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.resetDefaultsInSet(Class, Set)
-
resetMinMaxInSet
public <T extends ome.model.IObject> java.util.Set<java.lang.Long> resetMinMaxInSet(java.lang.Class<T> klass, java.util.Set<java.lang.Long> nodeIds)
Implemented as specified by theIRenderingSettings
I/F.- Specified by:
resetMinMaxInSet
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.resetMinMaxInSet(Class, Set)
-
setOriginalSettingsInImage
public void setOriginalSettingsInImage(long to)
Implemented as specified by theIRenderingSettings
I/F.- Specified by:
setOriginalSettingsInImage
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.setOriginalSettingsInImage(long)
-
setOriginalSettingsForPixels
public void setOriginalSettingsForPixels(long to)
Implemented as specified by theIRenderingSettings
I/F.- Specified by:
setOriginalSettingsForPixels
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.setOriginalSettingsForPixels(long)
-
setOriginalSettingsInDataset
public java.util.Set<java.lang.Long> setOriginalSettingsInDataset(long to)
Implemented as specified by theIRenderingSettings
I/F.- Specified by:
setOriginalSettingsInDataset
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.setOriginalSettingsInDataset(long)
-
setOriginalSettingsInSet
public <T extends ome.model.IObject> java.util.Set<java.lang.Long> setOriginalSettingsInSet(java.lang.Class<T> klass, java.util.Set<java.lang.Long> nodeIds)
Implemented as specified by theIRenderingSettings
I/F.- Specified by:
setOriginalSettingsInSet
in interfaceome.api.IRenderingSettings
- See Also:
IRenderingSettings.setOriginalSettingsInSet(Class, Set)
-
-