Package eu.europa.esig.dss.tsl.dto
Class DownloadCacheDTO
java.lang.Object
eu.europa.esig.dss.tsl.dto.AbstractCacheDTO
eu.europa.esig.dss.tsl.dto.DownloadCacheDTO
- All Implemented Interfaces:
DownloadInfoRecord,InfoRecord,Serializable
The download record DTO
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructorDownloadCacheDTO(AbstractCacheDTO cacheDTO) Copies the cache DTO -
Method Summary
Modifier and TypeMethodDescriptionReturns the downloaded documentThe last time when a download attempt has been proceeded.Gets error messages occurred during the sha2 processingvoidsetDocument(DSSDocument document) voidsetSha2ErrorMessages(List<String> sha2ErrorMessages) Sets error messages occurred during sha2 file processingMethods inherited from class eu.europa.esig.dss.tsl.dto.AbstractCacheDTO
getCacheState, getExceptionFirstOccurrenceTime, getExceptionLastOccurrenceTime, getExceptionMessage, getExceptionStackTrace, getLastStateTransitionTime, getLastSuccessSynchronizationTime, getStatusName, isDesynchronized, isError, isRefreshNeeded, isResultExist, isSynchronized, isToBeDeleted, setCacheState, setExceptionFirstOccurrenceTime, setExceptionLastOccurrenceTime, setExceptionMessage, setExceptionStackTrace, setLastStateTransitionTime, setLastSuccessSynchronizationTime, setResultExistMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface eu.europa.esig.dss.model.tsl.InfoRecord
getExceptionFirstOccurrenceTime, getExceptionLastOccurrenceTime, getExceptionMessage, getExceptionStackTrace, getLastStateTransitionTime, getLastSuccessSynchronizationTime, getStatusName, isDesynchronized, isError, isRefreshNeeded, isResultExist, isSynchronized, isToBeDeleted
-
Constructor Details
-
DownloadCacheDTO
public DownloadCacheDTO()Empty constructor -
DownloadCacheDTO
Copies the cache DTO- Parameters:
cacheDTO-AbstractCacheDTO
-
-
Method Details
-
getLastDownloadAttemptTime
Description copied from interface:DownloadInfoRecordThe last time when a download attempt has been proceeded.- Specified by:
getLastDownloadAttemptTimein interfaceDownloadInfoRecord- Returns:
Date
-
getDocument
Description copied from interface:DownloadInfoRecordReturns the downloaded document- Specified by:
getDocumentin interfaceDownloadInfoRecord- Returns:
DSSDocument
-
setDocument
-
getSha2ErrorMessages
-
setSha2ErrorMessages
-