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

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

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

public class PropPatchCommand
extends Object

Created by The eXo Platform SAS. Author : Vitaly Guly.

Version:
$Id: $

Field Summary
protected  NullResourceLocksHolder lockHolder
          resource locks.
 
Constructor Summary
PropPatchCommand(NullResourceLocksHolder lockHolder)
          Constructor.
 
Method Summary
 javax.ws.rs.core.Response propPatch(javax.jcr.Session session, String path, org.exoplatform.common.util.HierarchicalProperty body, List<String> tokens, String baseURI)
          Webdav Proppatch method method implementation.
 List<org.exoplatform.common.util.HierarchicalProperty> removeList(org.exoplatform.common.util.HierarchicalProperty request)
          List of properties to remove.
 List<org.exoplatform.common.util.HierarchicalProperty> setList(org.exoplatform.common.util.HierarchicalProperty request)
          List of properties to set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lockHolder

protected final NullResourceLocksHolder lockHolder
resource locks.

Constructor Detail

PropPatchCommand

public PropPatchCommand(NullResourceLocksHolder lockHolder)
Constructor.

Parameters:
lockHolder - resource locks
Method Detail

propPatch

public javax.ws.rs.core.Response propPatch(javax.jcr.Session session,
                                           String path,
                                           org.exoplatform.common.util.HierarchicalProperty body,
                                           List<String> tokens,
                                           String baseURI)
Webdav Proppatch method method implementation.

Parameters:
session - current session
path - resource path
body - request body
tokens - tokens
baseURI - base uri
Returns:
the instance of javax.ws.rs.core.Response

setList

public List<org.exoplatform.common.util.HierarchicalProperty> setList(org.exoplatform.common.util.HierarchicalProperty request)
List of properties to set.

Parameters:
request - request body
Returns:
list of properties to set.

removeList

public List<org.exoplatform.common.util.HierarchicalProperty> removeList(org.exoplatform.common.util.HierarchicalProperty request)
List of properties to remove.

Parameters:
request - request body
Returns:
list of properties to remove.

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

Copyright © 2013 eXo Platform SAS. All Rights Reserved.