Package ome.logic

Class UpdateImpl

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

    @Transactional(readOnly=false)
    public class UpdateImpl
    extends AbstractLevel1Service
    implements LocalUpdate
    implementation of the IUpdate service interface
    Since:
    OMERO 3.0
    • Constructor Detail

      • UpdateImpl

        public UpdateImpl()
    • Method Detail

      • setAdminService

        public final void setAdminService​(LocalAdmin admin)
      • setQueryService

        public final void setQueryService​(LocalQuery query)
      • setExecutor

        public void setExecutor​(Executor executor)
      • setSessionManager

        public void setSessionManager​(SessionManager sessionManager)
      • setFullTextBridge

        public void setFullTextBridge​(FullTextBridge fullTextBridge)
      • setIndexWatcher

        public void setIndexWatcher​(IndexWatcher indexWatcher)
      • getServiceInterface

        public java.lang.Class<? extends ome.api.ServiceInterface> getServiceInterface()
        Specified by:
        getServiceInterface in interface ome.system.SelfConfigurableService
      • saveObject

        public void saveObject​(ome.model.IObject graph)
        Specified by:
        saveObject in interface ome.api.IUpdate
      • saveAndReturnObject

        public ome.model.IObject saveAndReturnObject​(ome.model.IObject graph)
        Specified by:
        saveAndReturnObject in interface ome.api.IUpdate
      • saveCollection

        public void saveCollection​(java.util.Collection graph)
        Specified by:
        saveCollection in interface ome.api.IUpdate
      • saveAndReturnArray

        public ome.model.IObject[] saveAndReturnArray​(ome.model.IObject[] graph)
        Specified by:
        saveAndReturnArray in interface ome.api.IUpdate
      • saveAndReturnIds

        public java.util.List<java.lang.Long> saveAndReturnIds​(ome.model.IObject[] graph)
        Specified by:
        saveAndReturnIds in interface ome.api.IUpdate
      • saveArray

        public void saveArray​(ome.model.IObject[] graph)
        Specified by:
        saveArray in interface ome.api.IUpdate
      • deleteObject

        public void deleteObject​(ome.model.IObject row)
        Specified by:
        deleteObject in interface ome.api.IUpdate
      • indexObject

        public void indexObject​(ome.model.IObject row)
        Specified by:
        indexObject in interface ome.api.IUpdate
      • internalSave

        protected java.lang.Long internalSave​(ome.model.IObject obj,
                                              ReloadFilter filter,
                                              org.hibernate.Session session)
        Note if we use anything other than merge here, functionality from MergeEventListener needs to be moved to UpdateFilter or to another event listener.
      • internalMerge

        protected ome.model.IObject internalMerge​(ome.model.IObject obj,
                                                  UpdateFilter filter,
                                                  org.hibernate.Session session)
        Note if we use anything other than merge here, functionality from MergeEventListener needs to be moved to UpdateFilter or to another event listener.
      • internalDelete

        protected void internalDelete​(ome.model.IObject obj,
                                      UpdateFilter filter,
                                      org.hibernate.Session session)