OnmsCriteria criteria = getQueryFilters();
return new OnmsNodeList(m_nodeDao.findMatching(criteria));
}
@GET
@Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
<BUG>@Path("{nodeId}")

public OnmsNode getNode(@PathParam("nodeId") int nodeId) {

return m_nodeDao.get(nodeId);
</BUG>
}

OnmsCriteria criteria = getQueryFilters();
return new OnmsNodeList(m_nodeDao.findMatching(criteria));
}
@GET
@Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
@Path("{nodeCriteria}")
public OnmsNode getNode(@PathParam("nodeCriteria") String nodeCriteria) {
return m_nodeDao.get(nodeCriteria);
}
