Difference between revisions of "OKMBookmark"

From OpenKM Documentation
Jump to: navigation, search
(Created page with '__TOC__ Methods related to bookmark management. == Bookmark add(String token, String nodePath, String name) == Add a new bookmark which points to this document. '''Parameters'…')
(No difference)

Revision as of 08:30, 26 October 2010

Methods related to bookmark management.

Bookmark add(String token, String nodePath, String name)

Add a new bookmark which points to this document.

Parameters

  • token - The session authorization token.
  • nodePath - A mail object with the new mail properties.
  • name - The name of the bookmark.

Returns

  • A bookmark object with the new created bookmark properties.

Throws

  • PathNotFoundException - If the parent folder doesn't exist.
  • AccessDeniedException - If there is any security problem: you can't modify the parent folder because of lack of permissions.
  • RepositoryException - If there is any general repository problem.

Since

  • OpenKM 5.0