Class DownloadCacheDTO

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

public class DownloadCacheDTO extends AbstractCacheDTO
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()
    • getDocument

      public eu.europa.esig.dss.model.DSSDocument getDocument()
    • 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
    • isRefreshNeeded

      boolean isRefreshNeeded()
    • isDesynchronized

      boolean isDesynchronized()
    • isSynchronized

      boolean isSynchronized()
    • isError

      boolean isError()
    • isToBeDeleted

      boolean isToBeDeleted()
    • getStatusName

      String getStatusName()
    • getLastStateTransitionTime

      Date getLastStateTransitionTime()
    • getLastSuccessSynchronizationTime

      Date getLastSuccessSynchronizationTime()
    • getExceptionMessage

      String getExceptionMessage()
    • getExceptionStackTrace

      String getExceptionStackTrace()
    • getExceptionFirstOccurrenceTime

      Date getExceptionFirstOccurrenceTime()
    • getExceptionLastOccurrenceTime

      Date getExceptionLastOccurrenceTime()
    • isResultExist

      boolean isResultExist()