Interface Bind


public interface Bind
Represents resource binding. When this interface is defined on a file or folder your server will report binding extensions support (RFC 5842). Your server DAV header will include "bind" token. Note that this interface is required to support synchronization.
  • Method Summary

    Modifier and Type
    Method
    Description
    Unique identifier of the resource.
    Unique identifier of the resource parent.
  • Method Details

    • getId

      String getId()
      Unique identifier of the resource. The server will return ID in the resource-id property. In most cases you will return a URI that the client application will use to access and manipulate the resource. The Id of the resource MUST NOT change through the life of the resource. Even after the resource is no longer accessible through any URI, that value MUST NOT be reassigned to another resource's ID.
      Returns:
      Id.
    • getParentId

      String getParentId()
      Unique identifier of the resource parent. The server will return parent ID in the parent-resource-id property. In most cases you will return a URI that the client application will use to identify the parent of the resource. Unlike Id, the parent ID CAN change through the life of the resource, as a result of move operation.
      Returns:
      parent Id.