Class PropPatchCommand
- java.lang.Object
-
- org.exoplatform.services.jcr.webdav.command.PropPatchCommand
-
public class PropPatchCommand extends Object
Created by The eXo Platform SAS.- Version:
- $Id: $
- Author:
- Vitaly Guly - gavrikvetal@gmail.com.
-
-
Field Summary
Fields Modifier and Type Field Description protected NullResourceLocksHolderlockHolderresource locks.
-
Constructor Summary
Constructors Constructor Description PropPatchCommand(NullResourceLocksHolder lockHolder)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsepropPatch(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.
-
-
-
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 sessionpath- resource pathbody- request bodytokens- tokensbaseURI- 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.
-
-