Interface MailArchiveInterceptor

All Known Implementing Classes:
SetFlagMailArchiveInterceptor

public interface MailArchiveInterceptor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Intercept before emailArchiveEntity is added to mail archive, mail archive has populated values in emailArchiveEntity at this point.
    Note: If this method throws an unchecked exception the emailArchiveEntity will never be committed.
  • Method Details

    • interceptBeforeAdd

      void interceptBeforeAdd(Entity emailArchiveEntity, MailArchive.MailArchiveEntry entry)
      Intercept before emailArchiveEntity is added to mail archive, mail archive has populated values in emailArchiveEntity at this point.
      Note: If this method throws an unchecked exception the emailArchiveEntity will never be committed.
      Parameters:
      emailArchiveEntity - the entity to be committed
      entry - mail archive entry information