public class FetchNodesActionNew extends BaseAction<Map<String,MongoNode>>
| Modifier and Type | Field and Description |
|---|---|
static int |
LIMITLESS_DEPTH |
nodeStore| Constructor and Description |
|---|
FetchNodesActionNew(MongoNodeStore nodeStore,
Set<String> paths,
long revisionId)
Constructs a new
FetchNodesAction to fetch nodes with the exact
specified paths. |
FetchNodesActionNew(MongoNodeStore nodeStore,
String path,
int depth,
long revisionId)
Constructs a new
FetchNodesAction to fetch a node and optionally
its descendants under the specified path. |
public static final int LIMITLESS_DEPTH
public FetchNodesActionNew(MongoNodeStore nodeStore, String path, int depth, long revisionId)
FetchNodesAction to fetch a node and optionally
its descendants under the specified path.nodeStore - Node store.path - The path.depth - The depth.revisionId - The revision id.public FetchNodesActionNew(MongoNodeStore nodeStore, Set<String> paths, long revisionId)
FetchNodesAction to fetch nodes with the exact
specified paths.nodeStore - Node store.paths - The exact paths to fetch nodes for.revisionId - The revision id.public void setBranchId(String branchId)
branchId - Branch id.public Map<String,MongoNode> execute()
BaseActionexecute in class BaseAction<Map<String,MongoNode>>Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.