public class AuditTrailPDF
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
dateFormat |
protected static java.lang.String |
PARAM_OBJECT_ID
REQUIRED: object ID of the object with associated audit events
|
protected java.io.File |
templateLocation
The location of the html file that gets filled with audit events and
appended to the requested form or controlled doc
|
Constructor and Description |
---|
AuditTrailPDF() |
Modifier and Type | Method and Description |
---|---|
java.io.ByteArrayOutputStream |
getAuditTrailAsPDF(java.lang.String ticket,
java.lang.String objectId)
Return the Form audit trail as a PDF
|
protected static java.lang.String |
getColumnValues(WizardAuditEvent[] auditEvents,
java.lang.String column) |
protected java.lang.String |
getDateFormat() |
void |
setDateFormat(java.lang.String dateFormat)
Injected format of stringified audit date
|
protected static final java.lang.String PARAM_OBJECT_ID
@Value(value="${aw.audit.pdf.template.location}") protected java.io.File templateLocation
protected java.lang.String dateFormat
public void setDateFormat(java.lang.String dateFormat)
dateFormat
- protected java.lang.String getDateFormat()
public java.io.ByteArrayOutputStream getAuditTrailAsPDF(java.lang.String ticket, java.lang.String objectId)
ticket
- objectId
- the PSI idprotected static java.lang.String getColumnValues(WizardAuditEvent[] auditEvents, java.lang.String column)