Package io.jmix.webdavrest.converter
Class WebdavDocumentVersionToListOfNodesConverter
java.lang.Object
io.jmix.webdavrest.converter.WebdavDocumentVersionToListOfNodesConverter
- All Implemented Interfaces:
- org.springframework.core.convert.converter.Converter<WebdavDocumentVersionWithResourceUri,- PropFindPropertiesList> 
public class WebdavDocumentVersionToListOfNodesConverter
extends Object
implements org.springframework.core.convert.converter.Converter<WebdavDocumentVersionWithResourceUri,PropFindPropertiesList> 
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected io.vavr.Lazy<org.springframework.core.convert.ConversionService>Use Lazy, because we have some problems with Inject.protected WebdavPreconditionsprotected WebdavTools
- 
Constructor SummaryConstructorsConstructorDescriptionWebdavDocumentVersionToListOfNodesConverter(WebdavTools wt, WebdavPreconditions wp, io.vavr.Lazy<org.springframework.core.convert.ConversionService> conversionService) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidcheckRequiredDataIsLoaded(WebdavDocumentVersionWithResourceUri versionWithResourceUri) protected voidcheckRequiredDataIsPresented(WebdavDocumentVersion webdavDocumentVersion) protected voidcheckRequiredDataIsPresented(WebdavDocumentVersionWithResourceUri versionWithResourceUri) convert(WebdavDocumentVersionWithResourceUri webdavDocumentVersionWithResourceUri) protected PropFindPropertiesListprotected StringprintDateAsUtc(Date date) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.convert.converter.ConverterandThen
- 
Field Details- 
wt
- 
wp
- 
conversionServiceprotected io.vavr.Lazy<org.springframework.core.convert.ConversionService> conversionServiceUse Lazy, because we have some problems with Inject. If we inject class using constructor, will be made new ConversionService instead class which is described in xml
 
- 
- 
Constructor Details- 
WebdavDocumentVersionToListOfNodesConverterpublic WebdavDocumentVersionToListOfNodesConverter(WebdavTools wt, WebdavPreconditions wp, io.vavr.Lazy<org.springframework.core.convert.ConversionService> conversionService) 
 
- 
- 
Method Details- 
convertpublic PropFindPropertiesList convert(WebdavDocumentVersionWithResourceUri webdavDocumentVersionWithResourceUri) - Specified by:
- convertin interface- org.springframework.core.convert.converter.Converter<WebdavDocumentVersionWithResourceUri,- PropFindPropertiesList> 
 
- 
createPropertiesListForCollection
- 
checkRequiredDataIsLoadedprotected void checkRequiredDataIsLoaded(WebdavDocumentVersionWithResourceUri versionWithResourceUri) 
- 
printDateAsUtc
- 
checkRequiredDataIsPresentedprotected void checkRequiredDataIsPresented(WebdavDocumentVersionWithResourceUri versionWithResourceUri) 
- 
checkRequiredDataIsPresented
 
-