+ Node userHome = provider.getUserHome(session);
+ if (userHome != null)
+ try {
+ userHomePath = userHome.getPath();
+ } catch (RepositoryException e) {
+ throw new IOException("Cannot retrieve user home path", e);
+ }
+ }
+
+ /** Whetehr this node should be skippe din directory listings */
+ public boolean skipNode(Node node) throws RepositoryException {
+ if (node.isNodeType(NodeType.NT_HIERARCHY_NODE) || node.isNodeType("node:userHome")
+ || node.isNodeType("node:groupHome"))
+ return false;
+ return true;
+ }
+
+ public String getUserHomePath() {
+ return userHomePath;