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 Summary
ConstructorsConstructorDescriptionEmpty constructorDownloadCacheDTO(AbstractCacheDTO cacheDTO) Copies the cache DTO -
Method Summary
Modifier and TypeMethodDescriptioneu.europa.esig.dss.model.DSSDocumentGets error messages occurred during the sha2 processingvoidsetDocument(eu.europa.esig.dss.model.DSSDocument document) Sets the downloaded documentvoidsetSha2ErrorMessages(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
- Specified by:
getLastDownloadAttemptTimein interfaceeu.europa.esig.dss.model.tsl.DownloadInfoRecord
-
getDocument
public eu.europa.esig.dss.model.DSSDocument getDocument()- Specified by:
getDocumentin interfaceeu.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
Gets error messages occurred during the sha2 processing- Returns:
- a list of
Strings
-
setSha2ErrorMessages
Sets error messages occurred during sha2 file processing- Parameters:
sha2ErrorMessages- a list ofStrings
-