Interface RemoteItem

  • All Superinterfaces:
    Remote
    All Known Subinterfaces:
    RemoteNode, RemoteProperty, RemoteVersion, RemoteVersionHistory
    All Known Implementing Classes:
    ServerItem, ServerNode, ServerProperty, ServerVersion, ServerVersionHistory

    @Deprecated(forRemoval=true)
    public interface RemoteItem
    extends Remote
    Deprecated, for removal: This API element is subject to removal in a future version.
    RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.

    Remote version of the JCR Item interface. Used by the ServerItem and ClientItem adapter base classes to provide transparent RMI access to remote items.

    The methods in this interface are documented only with a reference to a corresponding Item method. The remote object will simply forward the method call to the underlying Item instance. Argument and return values, as well as possible exceptions, are copied over the network. Complex return values (Items and Nodes) are returned as remote references to the corresponding remote interfaces. RMI errors are signaled with RemoteExceptions.

    See Also:
    Item, ClientItem, ServerItem
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      RemoteItem getAncestor​(int level)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Remote version of the Item.getAncestor(int) method.
      int getDepth()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Remote version of the Item.getDepth() method.
      String getName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Remote version of the Item.getName() method.
      RemoteNode getParent()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Remote version of the Item.getParent() method.
      String getPath()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Remote version of the Item.getPath() method.
      boolean isModified()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Remote version of the Item.isModified() method.
      boolean isNew()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Remote version of the Item.isNew() method.
      void refresh​(boolean keepChanges)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Remote version of the Item.refresh(boolean) method.
      void remove()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Remote version of the Item.remove() method.
      void save()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Remote version of the Item.save() method.