Package ome.services

Class ThumbnailBeanReadOnly

  • All Implemented Interfaces:
    java.io.Serializable, ome.api.ServiceInterface, ome.api.StatefulServiceInterface, ome.api.ThumbnailStore, ome.system.SelfConfigurableService, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    @Transactional(readOnly=true)
    public class ThumbnailBeanReadOnly
    extends ThumbnailBean
    Provides methods for directly querying object graphs. This read-only variant of the service does not support rendering engine lazy object creation where rendering settings are missing.
    See Also:
    ThumbnailBean, Serialized Form
    • Constructor Detail

      • ThumbnailBeanReadOnly

        public ThumbnailBeanReadOnly​(boolean checking)
        overridden to allow Spring to set boolean
    • Method Detail

      • setPixelsId

        public boolean setPixelsId​(long id)
        Specified by:
        setPixelsId in interface ome.api.ThumbnailStore
        Overrides:
        setPixelsId in class ThumbnailBean
      • getThumbnailByLongestSideSet

        public java.util.Map<java.lang.Long,​byte[]> getThumbnailByLongestSideSet​(java.lang.Integer size,
                                                                                       java.util.Set<java.lang.Long> pixelsIds)
        Specified by:
        getThumbnailByLongestSideSet in interface ome.api.ThumbnailStore
        Overrides:
        getThumbnailByLongestSideSet in class ThumbnailBean
      • getThumbnail

        public byte[] getThumbnail​(java.lang.Integer sizeX,
                                   java.lang.Integer sizeY)
        Specified by:
        getThumbnail in interface ome.api.ThumbnailStore
        Overrides:
        getThumbnail in class ThumbnailBean
      • getThumbnailByLongestSide

        public byte[] getThumbnailByLongestSide​(java.lang.Integer size)
        Specified by:
        getThumbnailByLongestSide in interface ome.api.ThumbnailStore
        Overrides:
        getThumbnailByLongestSide in class ThumbnailBean