@Transactional public class RenderingSettingsImpl extends AbstractLevel2Service implements ome.api.IRenderingSettings, java.io.Serializable
IRenderingSettings
I/F.Modifier and Type | Field and 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.
|
iQuery, iUpdate, metadata, queryFactory, readOnlyStatus, sec
Constructor and Description |
---|
RenderingSettingsImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Boolean,java.util.List<java.lang.Long>> |
applySettingsToDataset(long from,
long to)
Implemented as specified by the
IRenderingSettings I/F. |
boolean |
applySettingsToImage(long from,
long to)
Implemented as specified by the
IRenderingSettings I/F |
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 the
IRenderingSettings I/F |
boolean |
applySettingsToPixels(long from,
long to)
Implemented as specified by the
IRenderingSettings I/F |
java.util.Map<java.lang.Boolean,java.util.List<java.lang.Long>> |
applySettingsToProject(long from,
long to)
Implemented as specified by the
IRenderingSettings I/F. |
<T extends ome.model.IObject> |
applySettingsToSet(long from,
java.lang.Class<T> klass,
java.util.Set<java.lang.Long> nodeIds)
Implemented as specified by the
IRenderingSettings I/F. |
ome.model.display.RenderingDef |
createNewRenderingDef(ome.model.core.Pixels pixels)
Implemented as specified by the
IRenderingSettings I/F |
ome.model.display.RenderingDef |
getRenderingSettings(long pixelsId)
Implemented as specified by the
IRenderingSettings I/F |
java.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 the
IRenderingSettings I/F |
<T extends ome.model.IObject> |
resetDefaultsByOwnerInSet(java.lang.Class<T> klass,
java.util.Set<java.lang.Long> nodeIds)
Implemented as specified by the
IRenderingSettings I/F. |
void |
resetDefaultsForPixels(long to)
Implemented as specified by the
IRenderingSettings I/F. |
java.util.Set<java.lang.Long> |
resetDefaultsInDataset(long to)
Implemented as specified by the
IRenderingSettings I/F. |
void |
resetDefaultsInImage(long to)
Implemented as specified by the
IRenderingSettings I/F. |
<T extends ome.model.IObject> |
resetDefaultsInSet(java.lang.Class<T> klass,
java.util.Set<java.lang.Long> nodeIds)
Implemented as specified by the
IRenderingSettings I/F. |
ome.model.display.RenderingDef |
resetDefaultsNoSave(ome.model.display.RenderingDef def,
ome.model.core.Pixels pixels)
Implemented as specified by the
IRenderingSettings I/F |
<T extends ome.model.IObject> |
resetMinMaxInSet(java.lang.Class<T> klass,
java.util.Set<java.lang.Long> nodeIds)
Implemented as specified by the
IRenderingSettings I/F. |
boolean |
sanityCheckPixels(ome.model.core.Pixels pFrom,
ome.model.core.Pixels pTo)
Implemented as specified by the
IRenderingSettings I/F |
void |
setOriginalSettingsForPixels(long to)
Implemented as specified by the
IRenderingSettings I/F. |
java.util.Set<java.lang.Long> |
setOriginalSettingsInDataset(long to)
Implemented as specified by the
IRenderingSettings I/F. |
void |
setOriginalSettingsInImage(long to)
Implemented as specified by the
IRenderingSettings I/F. |
<T extends ome.model.IObject> |
setOriginalSettingsInSet(java.lang.Class<T> klass,
java.util.Set<java.lang.Long> nodeIds)
Implemented as specified by the
IRenderingSettings 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.
|
getBeanHelper, getExtendedMetadata, getQueryFactory, getSecuritySystem, selfConfigure, setExtendedMetadata, setQueryFactory, setQueryService, setReadOnlyStatus, setSecuritySystem, setUpdateService
public static final double EPSILON
protected transient ome.io.nio.PixelsService pixelsData
protected transient ome.api.IPixels pixelsMetadata
public boolean sanityCheckPixels(ome.model.core.Pixels pFrom, ome.model.core.Pixels pTo)
IRenderingSettings
I/FsanityCheckPixels
in interface ome.api.IRenderingSettings
IRenderingSettings.sanityCheckPixels(Pixels, Pixels)
public void setPixelsMetadata(ome.api.IPixels metaService)
metaService
- The value to set.public void setPixelsData(ome.io.nio.PixelsService dataService)
dataService
- The value to set.public void setRawPixelsStore(ome.api.RawPixelsStore rawPixelsStore)
rawPixelsStore
- The value to set.public java.lang.Class<? extends ome.api.ServiceInterface> getServiceInterface()
getServiceInterface
in interface ome.system.SelfConfigurableService
SelfConfigurableService.getServiceInterface()
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)
IRenderingSettings
I/F.applySettingsToSet
in interface ome.api.IRenderingSettings
IRenderingSettings.applySettingsToSet(long, Class, Set)
public java.util.Map<java.lang.Boolean,java.util.List<java.lang.Long>> applySettingsToProject(long from, long to)
IRenderingSettings
I/F.applySettingsToProject
in interface ome.api.IRenderingSettings
IRenderingSettings.applySettingsToProject(long, long)
public java.util.Map<java.lang.Boolean,java.util.List<java.lang.Long>> applySettingsToDataset(long from, long to)
IRenderingSettings
I/F.applySettingsToDataset
in interface ome.api.IRenderingSettings
IRenderingSettings.applySettingsToDataset(long, long)
public boolean applySettingsToImage(long from, long to)
IRenderingSettings
I/FapplySettingsToImage
in interface ome.api.IRenderingSettings
IRenderingSettings.applySettingsToImage(long, long)
public java.util.Map<java.lang.Boolean,java.util.List<java.lang.Long>> applySettingsToImages(long from, java.util.List<java.lang.Long> nodeIds)
IRenderingSettings
I/FapplySettingsToImages
in interface ome.api.IRenderingSettings
IRenderingSettings.applySettingsToImages(long, List)
public boolean applySettingsToPixels(long from, long to)
IRenderingSettings
I/FapplySettingsToPixels
in interface ome.api.IRenderingSettings
IRenderingSettings.applySettingsToPixels(long, long)
public ome.model.display.RenderingDef getRenderingSettings(long pixelsId)
IRenderingSettings
I/FgetRenderingSettings
in interface ome.api.IRenderingSettings
IRenderingSettings.getRenderingSettings(long)
public ome.model.display.RenderingDef createNewRenderingDef(ome.model.core.Pixels pixels)
IRenderingSettings
I/FcreateNewRenderingDef
in interface ome.api.IRenderingSettings
IRenderingSettings.createNewRenderingDef(Pixels)
public void resetDefaults(ome.model.display.RenderingDef def, ome.model.core.Pixels pixels)
IRenderingSettings
I/FresetDefaults
in interface ome.api.IRenderingSettings
IRenderingSettings.resetDefaults(RenderingDef, Pixels)
public ome.model.display.RenderingDef resetDefaultsNoSave(ome.model.display.RenderingDef def, ome.model.core.Pixels pixels)
IRenderingSettings
I/FresetDefaultsNoSave
in interface ome.api.IRenderingSettings
IRenderingSettings.resetDefaultsNoSave(RenderingDef, Pixels)
public void resetDefaultsInImage(long to)
IRenderingSettings
I/F.resetDefaultsInImage
in interface ome.api.IRenderingSettings
IRenderingSettings.resetDefaultsInImage(long)
public void resetDefaultsForPixels(long to)
IRenderingSettings
I/F.resetDefaultsForPixels
in interface ome.api.IRenderingSettings
IRenderingSettings.resetDefaultsForPixels(long)
public java.util.Set<java.lang.Long> resetDefaultsInDataset(long to)
IRenderingSettings
I/F.resetDefaultsInDataset
in interface ome.api.IRenderingSettings
IRenderingSettings.resetDefaultsInDataset(long)
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)
IRenderingSettings
I/F.resetDefaultsInSet
in interface ome.api.IRenderingSettings
IRenderingSettings.resetDefaultsInSet(Class, Set)
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)
IRenderingSettings
I/F.resetDefaultsByOwnerInSet
in interface ome.api.IRenderingSettings
IRenderingSettings.resetDefaultsInSet(Class, Set)
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)
IRenderingSettings
I/F.resetMinMaxInSet
in interface ome.api.IRenderingSettings
IRenderingSettings.resetMinMaxInSet(Class, Set)
public void setOriginalSettingsInImage(long to)
IRenderingSettings
I/F.setOriginalSettingsInImage
in interface ome.api.IRenderingSettings
IRenderingSettings.setOriginalSettingsInImage(long)
public void setOriginalSettingsForPixels(long to)
IRenderingSettings
I/F.setOriginalSettingsForPixels
in interface ome.api.IRenderingSettings
IRenderingSettings.setOriginalSettingsForPixels(long)
public java.util.Set<java.lang.Long> setOriginalSettingsInDataset(long to)
IRenderingSettings
I/F.setOriginalSettingsInDataset
in interface ome.api.IRenderingSettings
IRenderingSettings.setOriginalSettingsInDataset(long)
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)
IRenderingSettings
I/F.setOriginalSettingsInSet
in interface ome.api.IRenderingSettings
IRenderingSettings.setOriginalSettingsInSet(Class, Set)