Class ContentChangeListener

  • All Implemented Interfaces:
    net.anotheria.asg.util.listener.IServiceListener

    public class ContentChangeListener
    extends Object
    implements net.anotheria.asg.util.listener.IServiceListener
    This is an implementation of the service listener which propagates the changes from service as events for contentchange listening apis.
    Author:
    another
    • Constructor Detail

      • ContentChangeListener

        public ContentChangeListener()
    • Method Detail

      • documentCreated

        public void documentCreated​(net.anotheria.asg.data.DataObject doc)
        Specified by:
        documentCreated in interface net.anotheria.asg.util.listener.IServiceListener
      • documentImported

        public void documentImported​(net.anotheria.asg.data.DataObject dataObject)
        Specified by:
        documentImported in interface net.anotheria.asg.util.listener.IServiceListener
      • documentDeleted

        public void documentDeleted​(net.anotheria.asg.data.DataObject doc)
        Specified by:
        documentDeleted in interface net.anotheria.asg.util.listener.IServiceListener
      • documentUpdated

        public void documentUpdated​(net.anotheria.asg.data.DataObject oldVersion,
                                    net.anotheria.asg.data.DataObject newVersion)
        Specified by:
        documentUpdated in interface net.anotheria.asg.util.listener.IServiceListener
      • persistenceChanged

        public void persistenceChanged()
        Specified by:
        persistenceChanged in interface net.anotheria.asg.util.listener.IServiceListener