Class PropPatchResponseEntity
- java.lang.Object
-
- org.exoplatform.services.jcr.webdav.command.proppatch.PropPatchResponseEntity
-
- All Implemented Interfaces:
javax.ws.rs.core.StreamingOutput
public class PropPatchResponseEntity extends Object implements javax.ws.rs.core.StreamingOutput
Created by The eXo Platform SAS.- Version:
- $Id: $
- Author:
- Vitaly Guly - gavrikvetal@gmail.com
-
-
Field Summary
Fields Modifier and Type Field Description protected static Set<QName>NON_REMOVING_PROPSThe list of properties that can-not be removed.protected static Set<QName>READ_ONLY_PROPSThe list of properties that can-not be changed.
-
Constructor Summary
Constructors Constructor Description PropPatchResponseEntity(WebDavNamespaceContext nsContext, javax.jcr.Node node, URI uri, List<org.exoplatform.common.util.HierarchicalProperty> setList, List<org.exoplatform.common.util.HierarchicalProperty> removeList)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.jcr.NodegetContentNode()Gets the content node.protected Map<String,Set<org.exoplatform.common.util.HierarchicalProperty>>getPropStat()Performs manipulations with properties and returns the list of corresponding statuses.voidwrite(OutputStream outStream)
-
-
-
Constructor Detail
-
PropPatchResponseEntity
public PropPatchResponseEntity(WebDavNamespaceContext nsContext, javax.jcr.Node node, URI uri, List<org.exoplatform.common.util.HierarchicalProperty> setList, List<org.exoplatform.common.util.HierarchicalProperty> removeList)
Constructor.- Parameters:
nsContext- namespace contextnode- nodeuri- irusetList- list of properties to setremoveList- list of properties to remove
-
-
Method Detail
-
write
public void write(OutputStream outStream) throws IOException
- Specified by:
writein interfacejavax.ws.rs.core.StreamingOutput- Throws:
IOException
-
getPropStat
protected Map<String,Set<org.exoplatform.common.util.HierarchicalProperty>> getPropStat()
Performs manipulations with properties and returns the list of corresponding statuses.- Returns:
- map with the list of properties statuses
-
getContentNode
public javax.jcr.Node getContentNode() throws javax.jcr.RepositoryExceptionGets the content node.- Returns:
- content node
- Throws:
javax.jcr.RepositoryException- Repository exception.
-
-