Class ClientSession

    • Constructor Summary

      Constructors 
      Constructor Description
      ClientSession​(Repository repository, RemoteSession remote, LocalAdapterFactory factory)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates a client adapter for the given remote session.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void addLockToken​(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      void checkPermission​(String path, String actions)
      Deprecated, for removal: This API element is subject to removal in a future version.
      void exportDocumentView​(String path, OutputStream output, boolean binaryAsLink, boolean noRecurse)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Exports the XML document view of the specified repository location to the given output stream.
      void exportDocumentView​(String path, ContentHandler handler, boolean binaryAsLink, boolean noRecurse)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Exports the XML document view of the specified repository location to the given XML content handler.
      void exportSystemView​(String path, OutputStream output, boolean binaryAsLink, boolean noRecurse)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Exports the XML system view of the specified repository location to the given output stream.
      void exportSystemView​(String path, ContentHandler handler, boolean binaryAsLink, boolean noRecurse)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Exports the XML system view of the specified repository location to the given XML content handler.
      AccessControlManager getAccessControlManager()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      Object getAttribute​(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      String[] getAttributeNames()
      Deprecated, for removal: This API element is subject to removal in a future version.
      ContentHandler getImportContentHandler​(String path, int mode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Item getItem​(String path)
      Deprecated, for removal: This API element is subject to removal in a future version.
      String[] getLockTokens()
      Deprecated, for removal: This API element is subject to removal in a future version.
      String getNamespacePrefix​(String uri)
      Deprecated, for removal: This API element is subject to removal in a future version.
      String[] getNamespacePrefixes()
      Deprecated, for removal: This API element is subject to removal in a future version.
      String getNamespaceURI​(String prefix)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Node getNode​(String path)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Node getNodeByIdentifier​(String id)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Node getNodeByUUID​(String uuid)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Property getProperty​(String path)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Repository getRepository()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the current repository without contacting the remote session.
      RetentionManager getRetentionManager()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      Node getRootNode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      String getUserID()
      Deprecated, for removal: This API element is subject to removal in a future version.
      ValueFactory getValueFactory()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Workspace getWorkspace()
      Deprecated, for removal: This API element is subject to removal in a future version.
      boolean hasCapability​(String methodName, Object target, Object[] arguments)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      boolean hasPendingChanges()
      Deprecated, for removal: This API element is subject to removal in a future version.
      boolean hasPermission​(String path, String actions)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Session impersonate​(Credentials credentials)
      Deprecated, for removal: This API element is subject to removal in a future version.
      void importXML​(String path, InputStream xml, int mode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      boolean isLive()
      Deprecated, for removal: This API element is subject to removal in a future version.
      boolean itemExists​(String path)
      Deprecated, for removal: This API element is subject to removal in a future version.
      void logout()
      Deprecated, for removal: This API element is subject to removal in a future version.
      void move​(String from, String to)
      Deprecated, for removal: This API element is subject to removal in a future version.
      boolean nodeExists​(String path)
      Deprecated, for removal: This API element is subject to removal in a future version.
      boolean propertyExists​(String path)
      Deprecated, for removal: This API element is subject to removal in a future version.
      void refresh​(boolean keepChanges)
      Deprecated, for removal: This API element is subject to removal in a future version.
      void removeItem​(String path)
      Deprecated, for removal: This API element is subject to removal in a future version.
      void removeLockToken​(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      void save()
      Deprecated, for removal: This API element is subject to removal in a future version.
      void setNamespacePrefix​(String prefix, String uri)
      Deprecated, for removal: This API element is subject to removal in a future version.