Interface MCRMetadataShareAgent

All Known Implementing Classes:
MCRMODSMetadataShareAgent

public interface MCRMetadataShareAgent
Author:
Thomas Scheffler (yagee)
See Also:
  • Method Details

    • shareableMetadataChanged

      boolean shareableMetadataChanged(MCRObject oldVersion, MCRObject newVersion)
      Determines if shareable metadata changed from oldVersion to newVersion
      Parameters:
      oldVersion - previous version of MCRObject
      newVersion - new version of MCRObject
    • distributeMetadata

      void distributeMetadata(MCRObject holder) throws MCRPersistenceException, MCRAccessException
      updates all recipients of shareable metadata from holder.
      Parameters:
      holder - usually the parent object that can distrivute metadata
      Throws:
      MCRAccessException
      MCRPersistenceException
    • receiveMetadata

      void receiveMetadata(MCRObject recipient)
      Include shareable metadata from holder before persisting recipient.
      Parameters:
      recipient - on update/create before handling events.