getProperties(Node node,
String[] globs)
Calls Node#getProperty(String[]) on the given node with the
given name globs and returns the resulting PropertyIterator
as an Iterable instance for use in a Java 5
for-each loop.

REPOSITORY_URI

The repository URI parameter name used by the
getRepository(String) method. All RepositoryFactory
implementations that want to support this repository access convention
should implement processing of this parameter.

getRepository

Returns the repository identified by the given URI. This feature
is implemented by calling the getRepository(Map) method
with the REPOSITORY_URI parameter set to the given URI.
Any query parameters are moved from the URI to the parameter map.

See the documentation of the repository implementation you want
to use for whether it supports this repository URI convention and
for what the repository URI should look like. For example,
Jackrabbit 2.0 supports the following types of repository URIs:

http(s)://...

A remote repository connection using SPI2DAVex with the given URL.
See the jackrabbit-jcr2dav component for more details.

file://...

An embedded Jackrabbit repository located in the given directory.
See the jackrabbit-core component for more details.

getOrAddNode

Returns the named child of the given node, creating the child if
it does not already exist. If the child node gets added, then its
type will be determined by the child node definitions associated
with the parent node. The caller is expected to take care of saving
or discarding any transient changes.

getOrAddNode

Returns the named child of the given node, creating the child if
it does not already exist. If the child node gets added, then it
is created with the given node type. The caller is expected to take
care of saving or discarding any transient changes.

getOrAddFolder

Returns the named child of the given node, creating it as an
nt:folder node if it does not already exist. The caller is expected
to take care of saving or discarding any transient changes.

Note that the type of the returned node is not guaranteed
to match nt:folder in case the node already existed. The caller can
use an explicit Node.isNodeType(String) check if needed, or
simply use a data-first approach and not worry about the node type
until a constraint violation is encountered.

putFile

Creates or updates the named child of the given node. If the child
does not already exist, then it is created using the nt:file node type.
This file child node is returned from this method.

If the file node does not already contain a jcr:content child, then
one is created using the nt:resource node type. The following
properties are set on the jcr:content node:

jcr:mimeType

media type

jcr:encoding (optional)

charset parameter of the media type, if any

jcr:lastModified

current time

jcr:data

binary content

Note that the types of the returned node or the jcr:content child are
not guaranteed to match nt:file and nt:resource in case the
nodes already existed. The caller can use an explicit
Node.isNodeType(String) check if needed, or simply use a
data-first approach and not worry about the node type until a constraint
violation is encountered.

putFile

Creates or updates the named child of the given node. If the child
does not already exist, then it is created using the nt:file node type.
This file child node is returned from this method.

If the file node does not already contain a jcr:content child, then
one is created using the nt:resource node type. The following
properties are set on the jcr:content node:

jcr:mimeType

media type

jcr:encoding (optional)

charset parameter of the media type, if any

jcr:lastModified

date of last modification

jcr:data

binary content

Note that the types of the returned node or the jcr:content child are
not guaranteed to match nt:file and nt:resource in case the
nodes already existed. The caller can use an explicit
Node.isNodeType(String) check if needed, or simply use a
data-first approach and not worry about the node type until a constraint
violation is encountered.

toString

Returns a string representation of the given item. The returned string
is designed to be easily readable while providing maximum amount of
information for logging and debugging purposes.

The returned string is not meant to be parsed and the exact contents
can change in future releases. The current string representation of
a node is "/path/to/node [type]" and the representation of a property is
"@name = value(s)". Binary values are expressed like "<123 bytes>"
and other values as their standard binary representation. Multi-valued
properties have their values listed in like "[ v1, v2, v3, ... ]". No
more than the three first values are included. Long string values are
truncated.