Package ome.services.projection
Class ProjectionBean
- java.lang.Object
-
- ome.logic.AbstractLevel2Service
-
- ome.services.projection.ProjectionBean
-
- All Implemented Interfaces:
ome.api.IProjection
,ome.api.ServiceInterface
,ome.system.SelfConfigurableService
@Transactional(readOnly=true) public class ProjectionBean extends AbstractLevel2Service implements ome.api.IProjection
Implements projection functionality for Pixels sets as declared inIProjection
.- Since:
- OMERO-Beta3.1
-
-
Field Summary
Fields Modifier and Type Field Description protected ome.api.IPixels
iPixels
Reference to the service used to retrieve the pixels metadata.protected ome.io.nio.PixelsService
pixelsService
Reference to the service used to retrieve the pixels data.-
Fields inherited from class ome.logic.AbstractLevel2Service
iQuery, iUpdate, metadata, queryFactory, readOnlyStatus, sec
-
-
Constructor Summary
Constructors Constructor Description ProjectionBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends ome.api.ServiceInterface>
getServiceInterface()
Returns the interface this implementation is for.long
projectPixels(long pixelsId, ome.model.enums.PixelsType pixelsType, int algorithm, int tStart, int tEnd, java.util.List<java.lang.Integer> channels, int stepping, int zStart, int zEnd, java.lang.String name)
byte[]
projectStack(long pixelsId, ome.model.enums.PixelsType pixelsType, int algorithm, int timepoint, int channelIndex, int stepping, int start, int end)
void
setIPixels(ome.api.IPixels iPixels)
IPixels bean injector.void
setPixelsService(ome.io.nio.PixelsService pixelsService)
PixelsService bean injector.-
Methods inherited from class ome.logic.AbstractLevel2Service
getBeanHelper, getExtendedMetadata, getQueryFactory, getSecuritySystem, selfConfigure, setExtendedMetadata, setQueryFactory, setQueryService, setReadOnlyStatus, setSecuritySystem, setUpdateService
-
-
-
-
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()
-
setIPixels
public void setIPixels(ome.api.IPixels iPixels)
IPixels bean injector. For use during configuration. Can only be called once.
-
setPixelsService
public void setPixelsService(ome.io.nio.PixelsService pixelsService)
PixelsService bean injector. For use during configuration. Can only be called once.
-
projectStack
public byte[] projectStack(long pixelsId, ome.model.enums.PixelsType pixelsType, int algorithm, int timepoint, int channelIndex, int stepping, int start, int end)
- Specified by:
projectStack
in interfaceome.api.IProjection
-
projectPixels
@Transactional(readOnly=false) public long projectPixels(long pixelsId, ome.model.enums.PixelsType pixelsType, int algorithm, int tStart, int tEnd, java.util.List<java.lang.Integer> channels, int stepping, int zStart, int zEnd, java.lang.String name)
- Specified by:
projectPixels
in interfaceome.api.IProjection
-
-