@Transactional(readOnly=true) public class RawPixelsBean extends AbstractStatefulBean implements ome.api.RawPixelsStore
iQuery, iUpdate, modified, sec| Constructor and Description |
|---|
RawPixelsBean()
default constructor
|
RawPixelsBean(boolean checking,
java.lang.String omeroDataDir)
overridden to allow Spring to set boolean
|
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
byte[] |
calculateMessageDigest() |
void |
clean() |
void |
close() |
java.util.Map<java.lang.Integer,double[]> |
findMinMax(int[] channels) |
int |
getByteWidth() |
byte[] |
getCol(int arg0,
int arg1,
int arg2,
int arg3) |
java.util.Map<java.lang.Integer,int[]> |
getHistogram(int[] channels,
int binCount,
boolean globalRange,
omeis.providers.re.data.PlaneDef plane) |
byte[] |
getHypercube(java.util.List<java.lang.Integer> offset,
java.util.List<java.lang.Integer> size,
java.util.List<java.lang.Integer> step) |
long |
getPixelsId() |
java.lang.String |
getPixelsPath() |
byte[] |
getPlane(int arg0,
int arg1,
int arg2) |
long |
getPlaneOffset(int arg0,
int arg1,
int arg2) |
byte[] |
getPlaneRegion(int z,
int c,
int t,
int count,
int offset) |
long |
getPlaneSize() |
byte[] |
getRegion(int arg0,
long arg1) |
java.util.List<java.util.List<java.lang.Integer>> |
getResolutionDescriptions() |
int |
getResolutionLevel() |
int |
getResolutionLevels() |
byte[] |
getRow(int arg0,
int arg1,
int arg2,
int arg3) |
long |
getRowOffset(int arg0,
int arg1,
int arg2,
int arg3) |
int |
getRowSize() |
java.lang.Class<? extends ome.api.ServiceInterface> |
getServiceInterface() |
byte[] |
getStack(int arg0,
int arg1) |
long |
getStackOffset(int arg0,
int arg1) |
long |
getStackSize() |
byte[] |
getTile(int z,
int c,
int t,
int x,
int y,
int w,
int h) |
int[] |
getTileSize() |
byte[] |
getTimepoint(int arg0) |
long |
getTimepointOffset(int arg0) |
long |
getTimepointSize() |
long |
getTotalSize() |
boolean |
isDiskSpaceChecking() |
boolean |
isFloat() |
boolean |
isSigned() |
void |
passivate() |
void |
prepare(java.util.Set<java.lang.Long> pixelsIds) |
boolean |
requiresPixelsPyramid() |
ome.model.core.Pixels |
save() |
void |
setDiskSpaceChecking(boolean diskSpaceChecking) |
void |
setIRepositoryInfo(ome.api.IRepositoryInfo iRepositoryInfo)
Disk Space Usage service Bean injector
|
void |
setPixelsData(ome.io.nio.PixelsService dataService) |
void |
setPixelsId(long pixelsId,
boolean bypassOriginalFile) |
void |
setPixelsMetadata(ome.api.IPixels metaService) |
void |
setPlane(byte[] arg0,
int arg1,
int arg2,
int arg3) |
void |
setRegion(int arg0,
long arg1,
byte[] arg2) |
void |
setResolutionLevel(int resolutionLevel) |
void |
setRow(byte[] arg0,
int arg1,
int arg2,
int arg3,
int arg4) |
void |
setSqlAction(ome.util.SqlAction sql)
SQL action Bean injector
|
void |
setStack(byte[] arg0,
int arg1,
int arg2,
int arg3) |
void |
setTile(byte[] data,
int z,
int c,
int t,
int x,
int y,
int w,
int h) |
void |
setTileSizes(ome.io.nio.TileSizes tileSizes) |
void |
setTimepoint(byte[] arg0,
int arg1) |
getBeanHelper, getCurrentEventContext, isModified, modified, selfConfigure, setQueryService, setSecuritySystem, setUpdateServicepublic RawPixelsBean()
public RawPixelsBean(boolean checking,
java.lang.String omeroDataDir)
checking - public void setTileSizes(ome.io.nio.TileSizes tileSizes)
public java.lang.Class<? extends ome.api.ServiceInterface> getServiceInterface()
getServiceInterface in interface ome.system.SelfConfigurableServicepublic final void setPixelsMetadata(ome.api.IPixels metaService)
public final void setPixelsData(ome.io.nio.PixelsService dataService)
public final void setIRepositoryInfo(ome.api.IRepositoryInfo iRepositoryInfo)
iRepositoryInfo - an IRepositoryInfopublic final void setSqlAction(ome.util.SqlAction sql)
sql - a SqlAction@Transactional(readOnly=true) public void passivate()
passivate in interface ome.api.StatefulServiceInterface@Transactional(readOnly=true) public void activate()
activate in interface ome.api.StatefulServiceInterface@Transactional(readOnly=false) public ome.model.core.Pixels save()
save in interface ome.api.RawPixelsStore@Transactional(readOnly=false) public void close()
close in interface ome.api.StatefulServiceInterfacepublic void clean()
public void setPixelsId(long pixelsId,
boolean bypassOriginalFile)
setPixelsId in interface ome.api.RawPixelsStorepublic long getPixelsId()
getPixelsId in interface ome.api.RawPixelsStorepublic java.lang.String getPixelsPath()
getPixelsPath in interface ome.api.RawPixelsStorepublic void prepare(java.util.Set<java.lang.Long> pixelsIds)
prepare in interface ome.api.RawPixelsStorepublic byte[] calculateMessageDigest()
calculateMessageDigest in interface ome.api.RawPixelsStorepublic byte[] getHypercube(java.util.List<java.lang.Integer> offset,
java.util.List<java.lang.Integer> size,
java.util.List<java.lang.Integer> step)
getHypercube in interface ome.api.RawPixelsStorepublic byte[] getPlaneRegion(int z,
int c,
int t,
int count,
int offset)
getPlaneRegion in interface ome.api.RawPixelsStorepublic byte[] getPlane(int arg0,
int arg1,
int arg2)
getPlane in interface ome.api.RawPixelsStorepublic long getPlaneOffset(int arg0,
int arg1,
int arg2)
getPlaneOffset in interface ome.api.RawPixelsStorepublic long getPlaneSize()
getPlaneSize in interface ome.api.RawPixelsStorepublic byte[] getRegion(int arg0,
long arg1)
getRegion in interface ome.api.RawPixelsStorepublic byte[] getRow(int arg0,
int arg1,
int arg2,
int arg3)
getRow in interface ome.api.RawPixelsStorepublic byte[] getCol(int arg0,
int arg1,
int arg2,
int arg3)
getCol in interface ome.api.RawPixelsStorepublic long getRowOffset(int arg0,
int arg1,
int arg2,
int arg3)
getRowOffset in interface ome.api.RawPixelsStorepublic int getRowSize()
getRowSize in interface ome.api.RawPixelsStorepublic byte[] getStack(int arg0,
int arg1)
getStack in interface ome.api.RawPixelsStorepublic long getStackOffset(int arg0,
int arg1)
getStackOffset in interface ome.api.RawPixelsStorepublic long getStackSize()
getStackSize in interface ome.api.RawPixelsStorepublic byte[] getTimepoint(int arg0)
getTimepoint in interface ome.api.RawPixelsStorepublic long getTimepointOffset(int arg0)
getTimepointOffset in interface ome.api.RawPixelsStorepublic long getTimepointSize()
getTimepointSize in interface ome.api.RawPixelsStorepublic long getTotalSize()
getTotalSize in interface ome.api.RawPixelsStorepublic int getByteWidth()
getByteWidth in interface ome.api.RawPixelsStorepublic boolean isSigned()
isSigned in interface ome.api.RawPixelsStorepublic boolean isFloat()
isFloat in interface ome.api.RawPixelsStorepublic void setPlane(byte[] arg0,
int arg1,
int arg2,
int arg3)
setPlane in interface ome.api.RawPixelsStorepublic void setRegion(int arg0,
long arg1,
byte[] arg2)
setRegion in interface ome.api.RawPixelsStorepublic void setRow(byte[] arg0,
int arg1,
int arg2,
int arg3,
int arg4)
setRow in interface ome.api.RawPixelsStorepublic void setStack(byte[] arg0,
int arg1,
int arg2,
int arg3)
setStack in interface ome.api.RawPixelsStorepublic void setTimepoint(byte[] arg0,
int arg1)
setTimepoint in interface ome.api.RawPixelsStorepublic java.util.Map<java.lang.Integer,int[]> getHistogram(int[] channels,
int binCount,
boolean globalRange,
omeis.providers.re.data.PlaneDef plane)
getHistogram in interface ome.api.RawPixelsStorepublic java.util.Map<java.lang.Integer,double[]> findMinMax(int[] channels)
findMinMax in interface ome.api.RawPixelsStorepublic boolean isDiskSpaceChecking()
public void setDiskSpaceChecking(boolean diskSpaceChecking)
public int getResolutionLevels()
getResolutionLevels in interface ome.api.RawPixelsStorepublic java.util.List<java.util.List<java.lang.Integer>> getResolutionDescriptions()
getResolutionDescriptions in interface ome.api.RawPixelsStorepublic int[] getTileSize()
getTileSize in interface ome.api.RawPixelsStorepublic boolean requiresPixelsPyramid()
requiresPixelsPyramid in interface ome.api.RawPixelsStorepublic int getResolutionLevel()
getResolutionLevel in interface ome.api.RawPixelsStorepublic void setResolutionLevel(int resolutionLevel)
setResolutionLevel in interface ome.api.RawPixelsStorepublic byte[] getTile(int z,
int c,
int t,
int x,
int y,
int w,
int h)
getTile in interface ome.api.RawPixelsStorepublic void setTile(byte[] data,
int z,
int c,
int t,
int x,
int y,
int w,
int h)
setTile in interface ome.api.RawPixelsStore