Package org.apache.jackrabbit.spi2davex
Interface BatchReadConfig
-
public interface BatchReadConfig
BatchReadConfig
defines if and how deep child item information should be retrieved, when accessing aNode
. The configuration is based on path.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getDepth(Path path, PathResolver resolver)
Return the depth for the given path.
-
-
-
Method Detail
-
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
-
-