Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private List<RowValue> getNextPageOfChildrenFromLiveReport(DocumentManagement docClient, Integer reportId, Integer rootId, Integer priorId) {
- final IntegerValue ancestor = new IntegerValue();
- ancestor.getValues().add(rootId);
- final IntegerValue priorDataId = new IntegerValue();
- priorDataId.getValues().add(priorId);
- final List<RowValue> rows = new ArrayList<RowValue>();
- final List<DataValue> values = new ArrayList<DataValue>();
- values.add(ancestor);
- values.add(priorDataId);
- final ReportResult result = docClient.runReport(reportId, values);
- rows.addAll(result.getContents());
- return rows;
- }
Add Comment
Please, Sign In to add comment