Package ome.logic

Class PojosImpl

  • All Implemented Interfaces:
    ome.api.IContainer, ome.api.ServiceInterface, ome.system.SelfConfigurableService

    @Transactional
    public class PojosImpl
    extends AbstractLevel2Service
    implements ome.api.IContainer
    implementation of the Pojos service interface.
    Since:
    OMERO 2.0
    • Constructor Detail

      • PojosImpl

        public PojosImpl()
    • Method Detail

      • getServiceInterface

        public final java.lang.Class<? extends ome.api.ServiceInterface> getServiceInterface()
        Returns the Interface implemented by this class.
        Specified by:
        getServiceInterface in interface ome.system.SelfConfigurableService
        Returns:
        See above.
      • loadContainerHierarchy

        @Transactional(readOnly=true)
        public java.util.Set loadContainerHierarchy​(java.lang.Class rootNodeType,
                                                    java.util.Set rootNodeIds,
                                                    ome.parameters.Parameters options)
        Specified by:
        loadContainerHierarchy in interface ome.api.IContainer
      • findContainerHierarchies

        @Transactional(readOnly=true)
        public java.util.Set findContainerHierarchies​(java.lang.Class rootNodeType,
                                                      java.util.Set imageIds,
                                                      ome.parameters.Parameters options)
        Specified by:
        findContainerHierarchies in interface ome.api.IContainer
      • getImages

        @Transactional(readOnly=true)
        public java.util.Set getImages​(java.lang.Class rootNodeType,
                                       java.util.Set rootNodeIds,
                                       ome.parameters.Parameters options)
        Specified by:
        getImages in interface ome.api.IContainer
      • getImagesByOptions

        @Transactional(readOnly=true)
        public java.util.Set getImagesByOptions​(ome.parameters.Parameters options)
        Specified by:
        getImagesByOptions in interface ome.api.IContainer
      • getImagesBySplitFilesets

        @Transactional(readOnly=true)
        public java.util.Map<java.lang.Long,​java.util.Map<java.lang.Boolean,​java.util.List<java.lang.Long>>> getImagesBySplitFilesets​(java.util.Map<java.lang.Class<? extends ome.model.IObject>,​java.util.List<java.lang.Long>> included,
                                                                                                                                                  ome.parameters.Parameters options)
        Specified by:
        getImagesBySplitFilesets in interface ome.api.IContainer
      • getUserImages

        @Transactional(readOnly=true)
        public java.util.Set getUserImages​(ome.parameters.Parameters options)
        Specified by:
        getUserImages in interface ome.api.IContainer
      • getCollectionCount

        @Transactional(readOnly=true)
        public java.util.Map getCollectionCount​(java.lang.String type,
                                                java.lang.String property,
                                                java.util.Set ids,
                                                ome.parameters.Parameters options)
        Specified by:
        getCollectionCount in interface ome.api.IContainer
      • retrieveCollection

        @Transactional(readOnly=true)
        public java.util.Collection retrieveCollection​(ome.model.IObject arg0,
                                                       java.lang.String arg1,
                                                       ome.parameters.Parameters arg2)
        Specified by:
        retrieveCollection in interface ome.api.IContainer
      • createDataObject

        @Transactional(readOnly=false)
        public ome.model.IObject createDataObject​(ome.model.IObject arg0,
                                                  ome.parameters.Parameters arg1)
        Specified by:
        createDataObject in interface ome.api.IContainer
      • createDataObjects

        @Transactional(readOnly=false)
        public ome.model.IObject[] createDataObjects​(ome.model.IObject[] arg0,
                                                     ome.parameters.Parameters arg1)
        Specified by:
        createDataObjects in interface ome.api.IContainer
      • unlink

        @Transactional(readOnly=false)
        public void unlink​(ome.model.ILink[] arg0,
                           ome.parameters.Parameters arg1)
        Specified by:
        unlink in interface ome.api.IContainer
      • link

        @Transactional(readOnly=false)
        public ome.model.ILink[] link​(ome.model.ILink[] arg0,
                                      ome.parameters.Parameters arg1)
        Specified by:
        link in interface ome.api.IContainer
      • updateDataObject

        @Transactional(readOnly=false)
        public ome.model.IObject updateDataObject​(ome.model.IObject arg0,
                                                  ome.parameters.Parameters arg1)
        Specified by:
        updateDataObject in interface ome.api.IContainer
      • updateDataObjects

        @Transactional(readOnly=false)
        public ome.model.IObject[] updateDataObjects​(ome.model.IObject[] arg0,
                                                     ome.parameters.Parameters arg1)
        Specified by:
        updateDataObjects in interface ome.api.IContainer
      • checkType

        protected void checkType​(java.lang.String type)
      • checkProperty

        protected void checkProperty​(java.lang.String type,
                                     java.lang.String property)