Package ome.services

Class AbstractStatefulBean

  • All Implemented Interfaces:
    java.io.Serializable, ome.api.ServiceInterface, ome.api.StatefulServiceInterface, ome.system.SelfConfigurableService
    Direct Known Subclasses:
    JobBean, RawFileBean, RawPixelsBean, SearchBean

    public abstract class AbstractStatefulBean
    extends java.lang.Object
    implements ome.system.SelfConfigurableService, ome.api.StatefulServiceInterface, java.io.Serializable
    Base bean implementation for stateful services. Particularly useful is the implementation of
    Since:
    3.0-Beta2
    See Also:
    Serialized Form
    • Field Detail

      • modified

        protected transient boolean modified
        True if any write operation took place on this bean. Allows for updating the database representation if needed.
        See Also:
        ticket:1961
    • Constructor Detail

      • AbstractStatefulBean

        public AbstractStatefulBean()
    • Method Detail

      • setQueryService

        public final void setQueryService​(LocalQuery iQuery)
        Query service Bean injector.
        Parameters:
        iQuery - an IQuery service.
      • setUpdateService

        public final void setUpdateService​(LocalUpdate update)
      • setSecuritySystem

        public final void setSecuritySystem​(SecuritySystem secSys)
      • selfConfigure

        public void selfConfigure()
        Specified by:
        selfConfigure in interface ome.system.SelfConfigurableService
      • getBeanHelper

        protected BeanHelper getBeanHelper()
      • isModified

        protected boolean isModified()
      • modified

        protected void modified()
      • getCurrentEventContext

        public final ome.system.EventContext getCurrentEventContext()
        Specified by:
        getCurrentEventContext in interface ome.api.StatefulServiceInterface