The API also provides a method for quickly finding the path of a node's corresponding node (if it exists) in another workspace:



getCorrespondingNodePath(String workspaceName)

Returns the absolute path of the node in the specified workspace that corresponds to this node.

If no corresponding node exists then an ItemNotFoundException is thrown.

If the specified workspace does not exist then a NoSuchWorkspaceException is thrown.

If the current Session does not have sufficient permissions to perform this operation, an AccessDeniedException is thrown.

Throws a RepositoryException if another error occurs.