Class AtrKoBuilder


  • public class AtrKoBuilder
    extends java.lang.Object
    Archive Transfer Reply KO from primary Ingest external steps
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String buildAtrKo​(java.lang.String messageIdentifier, java.lang.String archivalAgency, java.lang.String transferringAgency, java.lang.String eventType, java.lang.String addedMessage, StatusCode code, java.time.LocalDateTime eventDateTime)
      To generate a default ATR KO from Ingest External on AV or MimeType checks.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • buildAtrKo

        public static java.lang.String buildAtrKo​(java.lang.String messageIdentifier,
                                                  java.lang.String archivalAgency,
                                                  java.lang.String transferringAgency,
                                                  java.lang.String eventType,
                                                  java.lang.String addedMessage,
                                                  StatusCode code,
                                                  java.time.LocalDateTime eventDateTime)
                                           throws IngestExternalException
        To generate a default ATR KO from Ingest External on AV or MimeType checks.
        Parameters:
        messageIdentifier -
        archivalAgency -
        transferringAgency -
        eventType -
        addedMessage - might be null
        code -
        Returns:
        the corresponding InputStream with the ATR KO in XML format
        Throws:
        IngestExternalException