Class DownloadCacheDTO
java.lang.Object
eu.europa.esig.dss.tsl.dto.AbstractCacheDTO
eu.europa.esig.dss.tsl.dto.DownloadCacheDTO
- All Implemented Interfaces:
Serializable
-
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 processingbooleanbooleanisError()booleanbooleanbooleanbooleanvoidsetDocument(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 AbstractCacheDTO
getCacheState, getExceptionFirstOccurrenceTime, getExceptionLastOccurrenceTime, getExceptionMessage, getExceptionStackTrace, getLastStateTransitionTime, getLastSuccessSynchronizationTime, getStatusName, isDesynchronized, isError, isRefreshNeeded, isResultExist, isSynchronized, isToBeDeleted, setCacheState, setExceptionFirstOccurrenceTime, setExceptionLastOccurrenceTime, setExceptionMessage, setExceptionStackTrace, setLastStateTransitionTime, setLastSuccessSynchronizationTime, setResultExist
-
Constructor Details
-
DownloadCacheDTO
public DownloadCacheDTO()Empty constructor -
DownloadCacheDTO
Copies the cache DTO- Parameters:
cacheDTO-AbstractCacheDTO
-
-
Method Details
-
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
-
setSha2ErrorMessages
-
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()
-