Package io.jmix.webdavrest.method
Class LockMethodDelegate
java.lang.Object
io.jmix.webdavrest.method.LockMethodDelegate
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.core.convert.ConversionService
protected WebdavDocumentsManagementService
-
Constructor Summary
ConstructorDescriptionLockMethodDelegate
(org.springframework.core.convert.ConversionService conversionService, WebdavDocumentsManagementService documentsManagementService) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkLockRequestCorrect
(LockRequestPredicate lockRequestPredicate) protected void
checkLockRequestPredicateExists
(LockRequestPredicate lockRequestPredicate) protected boolean
doesLockRequestPredicateNotExist
(LockRequestPredicate lockRequestPredicate) org.springframework.http.ResponseEntity<LockInfoWithResourceUri>
processing
(ResourceUri resourceUri, String headerIf, LockRequestPredicate lockRequestPredicate) org.springframework.http.ResponseEntity<LockInfoWithResourceUri>
processing
(ResourceUri resourceUri, UUID resourceId, String headerIf, LockRequestPredicate lockRequestPredicate)
-
Field Details
-
conversionService
protected org.springframework.core.convert.ConversionService conversionService -
documentsManagementService
-
-
Constructor Details
-
LockMethodDelegate
public LockMethodDelegate(org.springframework.core.convert.ConversionService conversionService, WebdavDocumentsManagementService documentsManagementService)
-
-
Method Details
-
processing
public org.springframework.http.ResponseEntity<LockInfoWithResourceUri> processing(ResourceUri resourceUri, UUID resourceId, @Nullable String headerIf, @Nullable LockRequestPredicate lockRequestPredicate) -
processing
public org.springframework.http.ResponseEntity<LockInfoWithResourceUri> processing(ResourceUri resourceUri, @Nullable String headerIf, @Nullable LockRequestPredicate lockRequestPredicate) -
checkLockRequestPredicateExists
@Contract("null -> fail") protected void checkLockRequestPredicateExists(@Nullable LockRequestPredicate lockRequestPredicate) -
checkLockRequestCorrect
@Contract("null -> fail") protected void checkLockRequestCorrect(LockRequestPredicate lockRequestPredicate) -
doesLockRequestPredicateNotExist
@Contract("null -> true") protected boolean doesLockRequestPredicateNotExist(@Nullable LockRequestPredicate lockRequestPredicate)
-