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 Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
Modifier and TypeFieldDescriptionprotected io.vavr.Lazy<org.springframework.core.convert.ConversionService>
Use Lazy, because we have some problems with Inject.protected WebdavPreconditions
protected WebdavTools
-
Constructor Summary
ConstructorDescriptionWebdavDocumentVersionToListOfNodesConverter
(WebdavTools wt, WebdavPreconditions wp, io.vavr.Lazy<org.springframework.core.convert.ConversionService> conversionService) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkRequiredDataIsLoaded
(WebdavDocumentVersionWithResourceUri versionWithResourceUri) protected void
checkRequiredDataIsPresented
(WebdavDocumentVersion webdavDocumentVersion) protected void
checkRequiredDataIsPresented
(WebdavDocumentVersionWithResourceUri versionWithResourceUri) convert
(WebdavDocumentVersionWithResourceUri webdavDocumentVersionWithResourceUri) protected PropFindPropertiesList
protected String
printDateAsUtc
(Date date) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Field Details
-
wt
-
wp
-
conversionService
protected 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
-
WebdavDocumentVersionToListOfNodesConverter
public WebdavDocumentVersionToListOfNodesConverter(WebdavTools wt, WebdavPreconditions wp, io.vavr.Lazy<org.springframework.core.convert.ConversionService> conversionService)
-
-
Method Details
-
convert
public PropFindPropertiesList convert(WebdavDocumentVersionWithResourceUri webdavDocumentVersionWithResourceUri) - Specified by:
convert
in interfaceorg.springframework.core.convert.converter.Converter<WebdavDocumentVersionWithResourceUri,
PropFindPropertiesList>
-
createPropertiesListForCollection
-
checkRequiredDataIsLoaded
protected void checkRequiredDataIsLoaded(WebdavDocumentVersionWithResourceUri versionWithResourceUri) -
printDateAsUtc
-
checkRequiredDataIsPresented
protected void checkRequiredDataIsPresented(WebdavDocumentVersionWithResourceUri versionWithResourceUri) -
checkRequiredDataIsPresented
-