Class ContributionEventProcessor

    • Constructor Detail

      • ContributionEventProcessor

        public ContributionEventProcessor()
    • Method Detail

      • onUpdate

        public void onUpdate​(AbstractResourceEvent<? extends Contribution> event)
                      throws Exception
        Description copied from interface: ResourceEventListener
        An event on the update of a resource has be listened. By default, this method does nothing.
        Parameters:
        event - the event on the update of a resource.
        Throws:
        Exception - if an error occurs while treating the event.
      • onMove

        public void onMove​(AbstractResourceEvent<? extends Contribution> event)
                    throws Exception
        Description copied from interface: ResourceEventListener
        An event on the move of a resource has be listened. By default, this method does nothing.
        Parameters:
        event - the event on the move of a resource.
        Throws:
        Exception - if an error occurs while treating the event.
      • onDeletion

        public void onDeletion​(AbstractResourceEvent<? extends Contribution> event)
                        throws Exception
        Description copied from interface: ResourceEventListener
        An event on the deletion of a resource has be listened. A deleted resource is nonexistent and nonrecoverable. By default, this method does nothing.
        Parameters:
        event - the event on the deletion of a resource.
        Throws:
        Exception - if an error occurs while treating the event.
      • onCreation

        public void onCreation​(AbstractResourceEvent<? extends Contribution> event)
                        throws Exception
        Description copied from interface: ResourceEventListener
        An event on the creation of a resource has be listened. By default, this method does nothing.
        Parameters:
        event - the event on the creation of a resource.
        Throws:
        Exception - if an error occurs while treating the event.