Class OrderPatchCommand

java.lang.Object
org.exoplatform.services.jcr.webdav.command.OrderPatchCommand

public class OrderPatchCommand extends Object
Created by The eXo Platform SAS.
Version:
$Id: $
Author:
Vitaly Guly - gavrikvetal@gmail.com
  • Constructor Details

    • OrderPatchCommand

      public OrderPatchCommand()
      Constructor.
  • Method Details

    • orderPatch

      public javax.ws.rs.core.Response orderPatch(javax.jcr.Session session, String path, org.exoplatform.common.util.HierarchicalProperty body, String baseURI)
      Webdav OrderPatch method implementation.
      Parameters:
      session - current session
      path - resource path
      body - responce body
      baseURI - base uri
      Returns:
      the instance of javax.ws.rs.core.Response
    • getMembers

      protected List<OrderMember> getMembers(org.exoplatform.common.util.HierarchicalProperty body)
      Get oder members.
      Parameters:
      body - request body.
      Returns:
      list of members
    • doOrder

      protected boolean doOrder(javax.jcr.Node parentNode, List<OrderMember> members)
      Order members.
      Parameters:
      parentNode - parent node
      members - members
      Returns:
      true if can order