Class DownloadCacheDTO

java.lang.Object
eu.europa.esig.dss.tsl.dto.AbstractCacheDTO
eu.europa.esig.dss.tsl.dto.DownloadCacheDTO
All Implemented Interfaces:
eu.europa.esig.dss.model.tsl.DownloadInfoRecord, eu.europa.esig.dss.model.tsl.InfoRecord, Serializable

public class DownloadCacheDTO extends AbstractCacheDTO implements eu.europa.esig.dss.model.tsl.DownloadInfoRecord
The download record DTO
See Also:
  • Constructor Details

    • DownloadCacheDTO

      public DownloadCacheDTO()
      Empty constructor
    • DownloadCacheDTO

      public DownloadCacheDTO(AbstractCacheDTO cacheDTO)
      Copies the cache DTO
      Parameters:
      cacheDTO - AbstractCacheDTO
  • Method Details

    • getLastDownloadAttemptTime

      public Date getLastDownloadAttemptTime()
      Specified by:
      getLastDownloadAttemptTime in interface eu.europa.esig.dss.model.tsl.DownloadInfoRecord
    • getDocument

      public eu.europa.esig.dss.model.DSSDocument getDocument()
      Specified by:
      getDocument in interface eu.europa.esig.dss.model.tsl.DownloadInfoRecord
    • setDocument

      public void setDocument(eu.europa.esig.dss.model.DSSDocument document)
      Sets the downloaded document
      Parameters:
      document - DSSDocument
    • getSha2ErrorMessages

      public List<String> getSha2ErrorMessages()
      Gets error messages occurred during the sha2 processing
      Returns:
      a list of Strings
    • setSha2ErrorMessages

      public void setSha2ErrorMessages(List<String> sha2ErrorMessages)
      Sets error messages occurred during sha2 file processing
      Parameters:
      sha2ErrorMessages - a list of Strings