Class LockCommand


  • public class LockCommand
    extends Object
    Created by The eXo Platform SAS
    .
    Version:
    $Id: $
    Author:
    Gennady Azarenkov
    • 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 session
        path - resource path
        body - request body
        depth - lock depth
        timeout - lock timeout
        Returns:
        the instance of javax.ws.rs.core.Response