public class PropPatchResponseEntity extends Object implements javax.ws.rs.core.StreamingOutput
| Modifier and Type | Field and Description |
|---|---|
protected static Set<QName> |
NON_REMOVING_PROPS
The list of properties that can-not be removed.
|
protected static Set<QName> |
READ_ONLY_PROPS
The list of properties that can-not be changed.
|
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
javax.jcr.Node |
getContentNode()
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.
|
void |
write(OutputStream outStream) |
protected static final Set<QName> NON_REMOVING_PROPS
public PropPatchResponseEntity(WebDavNamespaceContext nsContext, javax.jcr.Node node, URI uri, List<org.exoplatform.common.util.HierarchicalProperty> setList, List<org.exoplatform.common.util.HierarchicalProperty> removeList)
nsContext - namespace contextnode - nodeuri - irusetList - list of properties to setremoveList - list of properties to removepublic void write(OutputStream outStream) throws IOException
write in interface javax.ws.rs.core.StreamingOutputIOExceptionprotected Map<String,Set<org.exoplatform.common.util.HierarchicalProperty>> getPropStat()
public javax.jcr.Node getContentNode()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - Repository exception.Copyright © 2016 eXo Platform SAS. All Rights Reserved.