Class LockCommand
- java.lang.Object
-
- org.exoplatform.services.jcr.webdav.command.LockCommand
-
public class LockCommand extends Object
Created by The eXo Platform SAS
.- Version:
- $Id: $
- Author:
- Gennady Azarenkov
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classLockCommand.LockResultResponseEntity
-
Constructor Summary
Constructors Constructor Description LockCommand(NullResourceLocksHolder nullResourceLocks)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responselock(javax.jcr.Session session, String path, org.exoplatform.common.util.HierarchicalProperty body, Depth depth, String timeout)Webdav Lock comand implementation.
-
-
-
Constructor Detail
-
LockCommand
public LockCommand(NullResourceLocksHolder nullResourceLocks)
Constructor.- Parameters:
nullResourceLocks- resource locks
-
-
Method Detail
-
lock
public javax.ws.rs.core.Response lock(javax.jcr.Session session, String path, org.exoplatform.common.util.HierarchicalProperty body, Depth depth, String timeout)Webdav Lock comand implementation.- Parameters:
session- current sessionpath- resource pathbody- request bodydepth- lock depthtimeout- lock timeout- Returns:
- the instance of javax.ws.rs.core.Response
-
-