Package ome.logic
Class PixelsImpl
- java.lang.Object
-
- ome.logic.AbstractLevel2Service
-
- ome.logic.PixelsImpl
-
- All Implemented Interfaces:
ome.api.IPixels
,ome.api.ServiceInterface
,ome.system.SelfConfigurableService
@Transactional(readOnly=true) public class PixelsImpl extends AbstractLevel2Service implements ome.api.IPixels
implementation of the Pixels service interface.- Since:
- OME2.2
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
RENDERING_DEF_QUERY_PREFIX
Standard rendering definition HQL query prefix-
Fields inherited from class ome.logic.AbstractLevel2Service
iQuery, iUpdate, metadata, queryFactory, readOnlyStatus, sec
-
-
Constructor Summary
Constructors Constructor Description PixelsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Long
copyAndResizeImage(long imageId, java.lang.Integer sizeX, java.lang.Integer sizeY, java.lang.Integer sizeZ, java.lang.Integer sizeT, java.util.List<java.lang.Integer> channelList, java.lang.String name, boolean copyStats)
java.lang.Long
copyAndResizePixels(long pixelsId, java.lang.Integer sizeX, java.lang.Integer sizeY, java.lang.Integer sizeZ, java.lang.Integer sizeT, java.util.List<java.lang.Integer> channelList, java.lang.String methodology, boolean copyStats)
java.lang.Long
createImage(int sizeX, int sizeY, int sizeZ, int sizeT, java.util.List<java.lang.Integer> channelList, ome.model.enums.PixelsType pixelsType, java.lang.String name, java.lang.String description)
<T extends ome.model.IObject>
java.util.List<T>getAllEnumerations(java.lang.Class<T> klass)
Deprecated.int
getBitDepth(ome.model.enums.PixelsType pixelsType)
<T extends ome.model.IObject>
TgetEnumeration(java.lang.Class<T> klass, java.lang.String value)
Deprecated.java.lang.Class<? extends ome.api.ServiceInterface>
getServiceInterface()
Returns the interface this implementation is for.ome.model.display.RenderingDef
loadRndSettings(long renderingDefId)
java.util.List<ome.model.IObject>
retrieveAllRndSettings(long pixId, long userId)
ome.model.core.Pixels
retrievePixDescription(long pixId)
ome.model.display.RenderingDef
retrieveRndSettings(long pixId)
ome.model.display.RenderingDef
retrieveRndSettingsFor(long pixId, long userId)
void
saveRndSettings(ome.model.display.RenderingDef rndSettings)
void
setChannelGlobalMinMax(long pixelsId, int channelIndex, double min, double max)
-
Methods inherited from class ome.logic.AbstractLevel2Service
getBeanHelper, getExtendedMetadata, getQueryFactory, getSecuritySystem, selfConfigure, setExtendedMetadata, setQueryFactory, setQueryService, setReadOnlyStatus, setSecuritySystem, setUpdateService
-
-
-
-
Field Detail
-
RENDERING_DEF_QUERY_PREFIX
public static final java.lang.String RENDERING_DEF_QUERY_PREFIX
Standard rendering definition HQL query prefix- See Also:
- Constant Field Values
-
-
Method Detail
-
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()
-
retrievePixDescription
public ome.model.core.Pixels retrievePixDescription(long pixId)
- Specified by:
retrievePixDescription
in interfaceome.api.IPixels
-
retrieveRndSettingsFor
public ome.model.display.RenderingDef retrieveRndSettingsFor(long pixId, long userId)
- Specified by:
retrieveRndSettingsFor
in interfaceome.api.IPixels
-
retrieveAllRndSettings
public java.util.List<ome.model.IObject> retrieveAllRndSettings(long pixId, long userId)
- Specified by:
retrieveAllRndSettings
in interfaceome.api.IPixels
-
retrieveRndSettings
public ome.model.display.RenderingDef retrieveRndSettings(long pixId)
- Specified by:
retrieveRndSettings
in interfaceome.api.IPixels
-
loadRndSettings
public ome.model.display.RenderingDef loadRndSettings(long renderingDefId)
- Specified by:
loadRndSettings
in interfaceome.api.IPixels
-
copyAndResizePixels
@Transactional(readOnly=false) public java.lang.Long copyAndResizePixels(long pixelsId, java.lang.Integer sizeX, java.lang.Integer sizeY, java.lang.Integer sizeZ, java.lang.Integer sizeT, java.util.List<java.lang.Integer> channelList, java.lang.String methodology, boolean copyStats)
- Specified by:
copyAndResizePixels
in interfaceome.api.IPixels
-
copyAndResizeImage
@Transactional(readOnly=false) public java.lang.Long copyAndResizeImage(long imageId, java.lang.Integer sizeX, java.lang.Integer sizeY, java.lang.Integer sizeZ, java.lang.Integer sizeT, java.util.List<java.lang.Integer> channelList, java.lang.String name, boolean copyStats)
- Specified by:
copyAndResizeImage
in interfaceome.api.IPixels
-
createImage
@Transactional(readOnly=false) public java.lang.Long createImage(int sizeX, int sizeY, int sizeZ, int sizeT, java.util.List<java.lang.Integer> channelList, ome.model.enums.PixelsType pixelsType, java.lang.String name, java.lang.String description)
- Specified by:
createImage
in interfaceome.api.IPixels
-
setChannelGlobalMinMax
@Transactional(readOnly=false) public void setChannelGlobalMinMax(long pixelsId, int channelIndex, double min, double max)
- Specified by:
setChannelGlobalMinMax
in interfaceome.api.IPixels
-
saveRndSettings
@Transactional(readOnly=false) public void saveRndSettings(ome.model.display.RenderingDef rndSettings)
- Specified by:
saveRndSettings
in interfaceome.api.IPixels
-
getBitDepth
public int getBitDepth(ome.model.enums.PixelsType pixelsType)
- Specified by:
getBitDepth
in interfaceome.api.IPixels
-
getEnumeration
@Deprecated public <T extends ome.model.IObject> T getEnumeration(java.lang.Class<T> klass, java.lang.String value)
Deprecated.- Specified by:
getEnumeration
in interfaceome.api.IPixels
-
getAllEnumerations
@Deprecated public <T extends ome.model.IObject> java.util.List<T> getAllEnumerations(java.lang.Class<T> klass)
Deprecated.- Specified by:
getAllEnumerations
in interfaceome.api.IPixels
-
-