getRepositoryException

Returns a cleaned version of the given exception. In some cases
the underlying repository implementation may throw exceptions
that are either unserializable, use exception subclasses that are
only locally available, contain references to unserializable or
only locally available classes. This method returns a cleaned
version of such an exception. The returned exception contains only
the message string from the original exception, and uses the public
JCR exception class that most specifically matches the original
exception.

Parameters:

ex - the original exception

Returns:

clean exception

getRemoteItem

Utility method for creating a remote reference for a local item.
Unlike the factory method for creating remote item references, this
method introspects the type of the local item and returns the
corresponding node, property, or item remote reference using the
remote adapter factory.

getRemoteNode

Utility method for creating a remote reference for a local node.
Unlike the factory method for creating remote node references, this
method introspects the type of the local node and returns the
corresponding node, version, or version history remote reference using
the remote adapter factory.

getSerialValue

Utility method for decorating a value. Note that the contents of the
original values will only be copied when the decorators are serialized.
Null referenced and already serializable values are passed as-is.