Class 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 Detail

      • 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 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 context
        node - node
        uri - iru
        setList - list of properties to set
        removeList - list of properties to remove
    • Method Detail

      • 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.