eXo JCR :: Component :: Webdav Service 1.15.10-GA

org.exoplatform.services.jcr.webdav.command
Class MkColCommand

java.lang.Object
  extended by org.exoplatform.services.jcr.webdav.command.MkColCommand

public class MkColCommand
extends Object

Created by The eXo Platform SAS Author : Vitaly Guly.

Version:
$Id: $

Constructor Summary
MkColCommand(NullResourceLocksHolder nullResourceLocks)
          Constructor.
MkColCommand(NullResourceLocksHolder nullResourceLocks, javax.ws.rs.core.UriBuilder uriBuilder)
          Constructor.
 
Method Summary
 javax.ws.rs.core.Response mkCol(javax.jcr.Session session, String path, String nodeType, List<String> mixinTypes, List<String> tokens)
          Webdav Mkcol method implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MkColCommand

public MkColCommand(NullResourceLocksHolder nullResourceLocks)
Constructor.

Parameters:
nullResourceLocks - resource locks.

MkColCommand

public MkColCommand(NullResourceLocksHolder nullResourceLocks,
                    javax.ws.rs.core.UriBuilder uriBuilder)
Constructor.

Parameters:
nullResourceLocks - resource locks.
uriBuilder - - provide data used in 'location' header
Method Detail

mkCol

public javax.ws.rs.core.Response mkCol(javax.jcr.Session session,
                                       String path,
                                       String nodeType,
                                       List<String> mixinTypes,
                                       List<String> tokens)
Webdav Mkcol method implementation.

Parameters:
session - current session
path - resource path
nodeType - folder node type
mixinTypes - mixin types
tokens - tokens
Returns:
the instance of javax.ws.rs.core.Response

eXo JCR :: Component :: Webdav Service 1.15.10-GA

Copyright © 2014 eXo Platform SAS. All Rights Reserved.