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