@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, setUpdateService
public 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.SelfConfigurableService
public 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 IRepositoryInfo
public 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.StatefulServiceInterface
public void clean()
public void setPixelsId(long pixelsId, boolean bypassOriginalFile)
setPixelsId
in interface ome.api.RawPixelsStore
public long getPixelsId()
getPixelsId
in interface ome.api.RawPixelsStore
public java.lang.String getPixelsPath()
getPixelsPath
in interface ome.api.RawPixelsStore
public void prepare(java.util.Set<java.lang.Long> pixelsIds)
prepare
in interface ome.api.RawPixelsStore
public byte[] calculateMessageDigest()
calculateMessageDigest
in interface ome.api.RawPixelsStore
public 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.RawPixelsStore
public byte[] getPlaneRegion(int z, int c, int t, int count, int offset)
getPlaneRegion
in interface ome.api.RawPixelsStore
public byte[] getPlane(int arg0, int arg1, int arg2)
getPlane
in interface ome.api.RawPixelsStore
public long getPlaneOffset(int arg0, int arg1, int arg2)
getPlaneOffset
in interface ome.api.RawPixelsStore
public long getPlaneSize()
getPlaneSize
in interface ome.api.RawPixelsStore
public byte[] getRegion(int arg0, long arg1)
getRegion
in interface ome.api.RawPixelsStore
public byte[] getRow(int arg0, int arg1, int arg2, int arg3)
getRow
in interface ome.api.RawPixelsStore
public byte[] getCol(int arg0, int arg1, int arg2, int arg3)
getCol
in interface ome.api.RawPixelsStore
public long getRowOffset(int arg0, int arg1, int arg2, int arg3)
getRowOffset
in interface ome.api.RawPixelsStore
public int getRowSize()
getRowSize
in interface ome.api.RawPixelsStore
public byte[] getStack(int arg0, int arg1)
getStack
in interface ome.api.RawPixelsStore
public long getStackOffset(int arg0, int arg1)
getStackOffset
in interface ome.api.RawPixelsStore
public long getStackSize()
getStackSize
in interface ome.api.RawPixelsStore
public byte[] getTimepoint(int arg0)
getTimepoint
in interface ome.api.RawPixelsStore
public long getTimepointOffset(int arg0)
getTimepointOffset
in interface ome.api.RawPixelsStore
public long getTimepointSize()
getTimepointSize
in interface ome.api.RawPixelsStore
public long getTotalSize()
getTotalSize
in interface ome.api.RawPixelsStore
public int getByteWidth()
getByteWidth
in interface ome.api.RawPixelsStore
public boolean isSigned()
isSigned
in interface ome.api.RawPixelsStore
public boolean isFloat()
isFloat
in interface ome.api.RawPixelsStore
public void setPlane(byte[] arg0, int arg1, int arg2, int arg3)
setPlane
in interface ome.api.RawPixelsStore
public void setRegion(int arg0, long arg1, byte[] arg2)
setRegion
in interface ome.api.RawPixelsStore
public void setRow(byte[] arg0, int arg1, int arg2, int arg3, int arg4)
setRow
in interface ome.api.RawPixelsStore
public void setStack(byte[] arg0, int arg1, int arg2, int arg3)
setStack
in interface ome.api.RawPixelsStore
public void setTimepoint(byte[] arg0, int arg1)
setTimepoint
in interface ome.api.RawPixelsStore
public 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.RawPixelsStore
public java.util.Map<java.lang.Integer,double[]> findMinMax(int[] channels)
findMinMax
in interface ome.api.RawPixelsStore
public boolean isDiskSpaceChecking()
public void setDiskSpaceChecking(boolean diskSpaceChecking)
public int getResolutionLevels()
getResolutionLevels
in interface ome.api.RawPixelsStore
public java.util.List<java.util.List<java.lang.Integer>> getResolutionDescriptions()
getResolutionDescriptions
in interface ome.api.RawPixelsStore
public int[] getTileSize()
getTileSize
in interface ome.api.RawPixelsStore
public boolean requiresPixelsPyramid()
requiresPixelsPyramid
in interface ome.api.RawPixelsStore
public int getResolutionLevel()
getResolutionLevel
in interface ome.api.RawPixelsStore
public void setResolutionLevel(int resolutionLevel)
setResolutionLevel
in interface ome.api.RawPixelsStore
public byte[] getTile(int z, int c, int t, int x, int y, int w, int h)
getTile
in interface ome.api.RawPixelsStore
public void setTile(byte[] data, int z, int c, int t, int x, int y, int w, int h)
setTile
in interface ome.api.RawPixelsStore