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
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected io.vavr.Lazy<org.springframework.core.convert.ConversionService>Use Lazy, because we have some problems with Inject.protected WebdavPreconditionsprotected WebdavTools -
Constructor Summary
ConstructorsConstructorDescriptionWebdavDocumentVersionToListOfNodesConverter(WebdavTools wt, WebdavPreconditions wp, io.vavr.Lazy<org.springframework.core.convert.ConversionService> conversionService) -
Method Summary
Modifier 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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
convertin interfaceorg.springframework.core.convert.converter.Converter<WebdavDocumentVersionWithResourceUri,PropFindPropertiesList>
-
createPropertiesListForCollection
-
checkRequiredDataIsLoaded
protected void checkRequiredDataIsLoaded(WebdavDocumentVersionWithResourceUri versionWithResourceUri) -
printDateAsUtc
-
checkRequiredDataIsPresented
protected void checkRequiredDataIsPresented(WebdavDocumentVersionWithResourceUri versionWithResourceUri) -
checkRequiredDataIsPresented
-