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
ConstructorDescriptionEmpty 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 processingvoid
setDocument
(DSSDocument document) void
setSha2ErrorMessages
(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, setResultExist
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:DownloadInfoRecord
The last time when a download attempt has been proceeded.- Specified by:
getLastDownloadAttemptTime
in interfaceDownloadInfoRecord
- Returns:
Date
-
getDocument
Description copied from interface:DownloadInfoRecord
Returns the downloaded document- Specified by:
getDocument
in interfaceDownloadInfoRecord
- Returns:
DSSDocument
-
setDocument
-
getSha2ErrorMessages
-
setSha2ErrorMessages
-