org.apache.jackrabbit.spi2davex
Interface BatchReadConfig
public interface BatchReadConfig
BatchReadConfig
defines if and how deep child item
information should be retrieved, when accessing a Node
.
The configuration is based on path.
getDepth
int getDepth(Path path,
PathResolver resolver)
throws NamespaceException
- Return the depth for the given path.
- Parameters:
path
- resolver
-
- Returns:
- -1 if all child infos should be return or any value greater
than -1 if only parts of the subtree should be returned. If there is no
matching configuration entry some implementation specific default depth
will be returned.
- Throws:
NamespaceException
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.