Interface IProtokollHandler

    • Method Detail

      • addMalwareDetectedProtocolEntry

        void addMalwareDetectedProtocolEntry​(UserContext uc,
                                             String scannedItem,
                                             MalwareScanReport report)
        Adds a system protocol entry when malware was detected in a file or some data.
        Parameters:
        uc - The current user who uploaded the file containing malware.
        scannedItem - A description of the scanned file that was found to contain malware, e.g. the name of an upload element or the name of an attachment.
        report - The malware scan report. When MalwareScanReport.isSafe() is true, no protocol entry
      • addMalwareDetectedProtocolEntry

        void addMalwareDetectedProtocolEntry​(UserContext uc,
                                             String scannedItem,
                                             MalwareScanReport report,
                                             Mandant client)
        Adds a client protocol entry when malware was detected in a file or some data.
        Parameters:
        uc - The current user who uploaded the file containing malware.
        scannedItem - A description of the scanned file that was found to contain malware, e.g. the name of an upload element or the name of an attachment.
        report - The malware scan report. When MalwareScanReport.isSafe() is true, no protocol entry is added.
        client - The client scope containing the file or data with malware.
      • addMalwareDetectedProtocolEntry

        void addMalwareDetectedProtocolEntry​(UserContext uc,
                                             String scannedItem,
                                             MalwareScanReport report,
                                             Vorgang formRecord)
        Adds a processing protocol entry when malware was detected in a file or some data.
        Parameters:
        uc - The current user who uploaded the file containing malware.
        scannedItem - A description of the scanned file that was found to contain malware, e.g. the name of an upload element or the name of an attachment.
        report - The malware scan report. When MalwareScanReport.isSafe() is true, no protocol entry is added.
        formRecord - The form record to which the file belongs.