Package de.xima.fc.api.entity
Class ProtokollAPI
java.lang.Object
de.xima.fc.api.ASubAPI
de.xima.fc.api.entity.ProtokollAPI
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMalwareDetectedProtocolEntry(UserContext uc, String scannedItem, MalwareScanReport report) Adds a system protocol entry when malware was detected in a file or some data.voidaddMalwareDetectedProtocolEntry(UserContext uc, String scannedItem, MalwareScanReport report, Mandant client) Adds a client protocol entry when malware was detected in a file or some data.voidaddMalwareDetectedProtocolEntry(UserContext uc, String scannedItem, MalwareScanReport report, Vorgang formRecord) Adds a processing protocol entry when malware was detected in a file or some data.voidaddMandantProtokollEintrag(UserContext uc, Mandant mandant, ProtocolEntryClient entry) Method for creating a protocol entry when a client is changed.voidaddProjektProtokollEintrag(UserContext uc, Projekt projekt, ProtocolEntryClient entry) Method for creating a protocol entry when a project is changed.voidMethod for creating a system protocol entryvoidaddVorgangProtokollEintrag(UserContext uc, Vorgang vorgang, ProtocolEntryProcessing entry) Method for creating a protocol entry when a status is changed.getClientProtocol(UserContext uc, Mandant client) getPeStatus(UserContext uc, Vorgang vorgang) Deprecated.getProcessProtocol(UserContext uc, Vorgang vorgang) byte[]getProcessProtocolHtml(UserContext uc, Vorgang vorgang, Locale locale) byte[]getProcessProtocolPdf(UserContext uc, Vorgang vorgang, Locale locale) Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
Constructor Details
-
ProtokollAPI
public ProtokollAPI()
-
-
Method Details
-
addVorgangProtokollEintrag
public void addVorgangProtokollEintrag(UserContext uc, Vorgang vorgang, ProtocolEntryProcessing entry) Method for creating a protocol entry when a status is changed.- Parameters:
uc-UserContextthe user context in which the action is to be performed.vorgang-Vorgangto which the protocol entry should be created.entry-ProtocolEntryProcessingthe protocol entry to create.- Since:
- 2.4.3
-
addProjektProtokollEintrag
Method for creating a protocol entry when a project is changed.- Parameters:
uc-UserContextthe user context in which the action is to be performed.projekt-Projektwhich is changed.entry-ProtocolEntryClientthe protocol entry to create.
-
addMandantProtokollEintrag
Method for creating a protocol entry when a client is changed.- Parameters:
uc-UserContextthe user context in which the action is to be performed.mandant-Mandantwhich is changed.entry-ProtocolEntryClientthe protocol entry to create.
-
addSystemProtokollEintrag
Method for creating a system protocol entry- Parameters:
uc-UserContextthe user context in which the action is to be performed.entry-ProtocolEntrySystemthe protocol entry to create.
-
getProcessProtocol
-
getProcessProtocolPdf
-
getProcessProtocolHtml
-
getClientProtocol
-
getSystemProtocol
-
getPeStatus
Deprecated.- Parameters:
uc-UserContextthe user context in which the action is to be performed.vorgang- the process- Returns:
List- Since:
- 2.4.3
-
addMalwareDetectedProtocolEntry
public 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. WhenMalwareScanReport.isSafe()istrue, no protocol entry
-
addMalwareDetectedProtocolEntry
public 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. WhenMalwareScanReport.isSafe()istrue, no protocol entry is added.client- The client scope containing the file or data with malware.
-
addMalwareDetectedProtocolEntry
public 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. WhenMalwareScanReport.isSafe()istrue, no protocol entry is added.formRecord- The form record to which the file belongs.
-
getClientProtocol(UserContext, Mandant)orgetProcessProtocol(UserContext, Vorgang)orgetSystemProtocol(UserContext)