Class HibernateAccountingEntry

java.lang.Object
org.mapfish.print.servlet.job.HibernateAccountingEntry

@Entity public class HibernateAccountingEntry extends Object
Entity for the print_accountings table.
  • Constructor Details

    • HibernateAccountingEntry

      public HibernateAccountingEntry()
      Default constructor (used only by Hibernate).
    • HibernateAccountingEntry

      public HibernateAccountingEntry(PrintJobEntry entry, PrintJobStatus.Status status, Configuration configuration)
      Constructor that initialize the fields that depends on the job description.
      Parameters:
      entry - The job description
      status - The status
      configuration - The configuration
  • Method Details

    • getReferenceId

      public String getReferenceId()
    • getAppId

      public String getAppId()
    • getReferer

      public String getReferer()
    • getStatus

      public PrintJobStatus.Status getStatus()
    • getProcessingTimeMS

      public Long getProcessingTimeMS()
    • setProcessingTimeMS

      public void setProcessingTimeMS(Long processingTimeMS)
    • getTotalTimeMS

      public long getTotalTimeMS()
    • getCompletionTime

      public Date getCompletionTime()
    • getOutputFormat

      public String getOutputFormat()
    • getLayout

      public String getLayout()
    • getFileSize

      public Long getFileSize()
    • setFileSize

      public void setFileSize(Long fileSize)
    • getStats

      public com.fasterxml.jackson.databind.node.ObjectNode getStats()
    • setStats

      public void setStats(ExecutionStats stats)
    • getMapExport

      public boolean getMapExport()