Class ClientObject

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ClientObject​(LocalAdapterFactory factory)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates a basic client adapter that uses the given factory to create new adapters.
    • Constructor Detail

      • ClientObject

        protected ClientObject​(LocalAdapterFactory factory)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Creates a basic client adapter that uses the given factory to create new adapters.
        Parameters:
        factory - local adapter factory
    • Method Detail

      • getFactory

        protected LocalAdapterFactory getFactory()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Returns the local adapter factory used to create new adapters.
        Returns:
        local adapter factory
      • getItem

        protected Item getItem​(Session session,
                               RemoteItem remote)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Utility method to create a local adapter for a remote item. This method introspects the remote reference to determine whether to instantiate a Property, a Node, or an Item adapter using the local adapter factory.

        If the remote item is a RemoteNode, this method delegates to getNode(Session, RemoteNode).

        Parameters:
        session - current session
        remote - remote item
        Returns:
        local property, node, or item adapter
      • getNode

        protected Node getNode​(Session session,
                               RemoteNode remote)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Utility method to create a local adapter for a remote node. This method introspects the remote reference to determine whether to instantiate a Node, a VersionHistory, or a Version adapter using the local adapter factory.
        Parameters:
        session - current session
        remote - remote node
        Returns:
        local node, version, or version history adapter
      • getNodeTypeArray

        protected NodeType[] getNodeTypeArray​(RemoteNodeType[] remotes)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Utility method for creating an array of local node type adapters for an array of remote node types. The node type adapters are created using the local adapter factory.

        A null input is treated as an empty array.

        Parameters:
        remotes - remote node types
        Returns:
        local node type array