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
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 WebdavLockSupportprotected WebdavPreconditionsprotected WebdavTools -
Constructor Summary
ConstructorsConstructorDescriptionLockInfoWithResourceUriToElementConverter(WebdavTools wt, WebdavPreconditions wp, WebdavLockSupport lockSupport, io.vavr.Lazy<org.springframework.core.convert.ConversionService> conversionService) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckRequiredDataExist(LockInfoWithResourceUri lockInfoWithResourceUri) protected voidcheckRequiredDataIsLoaded(LockInfoWithResourceUri lockInfoWithResourceUri) org.dom4j.Elementconvert(LockInfoWithResourceUri source) 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
-
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:
convertin interfaceorg.springframework.core.convert.converter.Converter<LockInfoWithResourceUri,org.dom4j.Element>
-
checkRequiredDataIsLoaded
-
checkRequiredDataExist
-