Package io.jmix.webdavrest.converter
Class LockInfoWithResourceUriToElementConverter
java.lang.Object
io.jmix.webdavrest.converter.LockInfoWithResourceUriToElementConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<LockInfoWithResourceUri,
org.dom4j.Element>
public class LockInfoWithResourceUriToElementConverter
extends Object
implements org.springframework.core.convert.converter.Converter<LockInfoWithResourceUri,org.dom4j.Element>
-
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 WebdavLockSupport
protected WebdavPreconditions
protected WebdavTools
-
Constructor Summary
ConstructorDescriptionLockInfoWithResourceUriToElementConverter
(WebdavTools wt, WebdavPreconditions wp, WebdavLockSupport lockSupport, io.vavr.Lazy<org.springframework.core.convert.ConversionService> conversionService) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkRequiredDataExist
(LockInfoWithResourceUri lockInfoWithResourceUri) protected void
checkRequiredDataIsLoaded
(LockInfoWithResourceUri lockInfoWithResourceUri) org.dom4j.Element
convert
(LockInfoWithResourceUri source) 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
-
lockSupport
-
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
-
LockInfoWithResourceUriToElementConverter
public LockInfoWithResourceUriToElementConverter(WebdavTools wt, WebdavPreconditions wp, WebdavLockSupport lockSupport, io.vavr.Lazy<org.springframework.core.convert.ConversionService> conversionService)
-
-
Method Details
-
convert
- Specified by:
convert
in interfaceorg.springframework.core.convert.converter.Converter<LockInfoWithResourceUri,
org.dom4j.Element>
-
checkRequiredDataIsLoaded
-
checkRequiredDataExist
-