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 Details

    • NON_REMOVING_PROPS

      protected static final Set<QName> NON_REMOVING_PROPS
      The list of properties that can-not be removed.
    • READ_ONLY_PROPS

      protected static final Set<QName> 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 context
      node - node
      uri - iru
      setList - list of properties to set
      removeList - list of properties to remove
  • Method Details

    • write

      public void write(OutputStream outStream) throws IOException
      Specified by:
      write in interface javax.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.RepositoryException
      Gets the content node.
      Returns:
      content node
      Throws:
      javax.jcr.RepositoryException - Repository exception.