use of com.enonic.xp.node.MultiRepoNodeQuery in project xp by enonic.
the class FindNodesByMultiNodeQueryHandler method execute.
@Override
public Object execute() {
final NodeQuery nodeQuery = createNodeQuery();
final MultiRepoNodeQuery multiRepoNodeQuery = new MultiRepoNodeQuery(this.searchTargets, nodeQuery);
final FindNodesByMultiRepoQueryResult result = this.nodeService.findByQuery(multiRepoNodeQuery);
return convert(result);
}
Aggregations