Class PropPatchResponseEntity
java.lang.Object
org.exoplatform.services.jcr.webdav.command.proppatch.PropPatchResponseEntity
- All Implemented Interfaces:
javax.ws.rs.core.StreamingOutput
Created by The eXo Platform SAS.
- Version:
- $Id: $
- Author:
- Vitaly Guly - gavrikvetal@gmail.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe list of properties that can-not be removed.The list of properties that can-not be changed. -
Constructor Summary
ConstructorsConstructorDescriptionPropPatchResponseEntity(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
Modifier and TypeMethodDescriptionjavax.jcr.NodeGets the content node.Performs manipulations with properties and returns the list of corresponding statuses.voidwrite(OutputStream outStream)
-
Field Details
-
NON_REMOVING_PROPS
The list of properties that can-not be removed. -
READ_ONLY_PROPS
The list of properties that can-not be changed.
-
-
Constructor Details
-
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 Details
-
write
- Specified by:
writein interfacejavax.ws.rs.core.StreamingOutput- Throws:
IOException
-
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.
-