Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC Java API - Find Streams by Date of Delivery

I'm trying to list all the streams with deliveries after a timestamp.

There is a method that seems promising:
iWorkspaceManager.findStreamsQuery(IGenericQueryNode, maxResults, iProgressMonitor)

The problem is that I cannot find a way to create this query.

I tried various permutations of this code:
IGenericQueryNode query = IGenericQueryNode.FACTORY.newInstance(QueryOperations.OPERATION_BASELINE_MODIFIEDIN_DATERANGE_FILTER);
query.addChild(new Timestamp(2019, 10, 5, 0, 0, 0, 0));
query.addChild(new Timestamp(System.currentTimeMillis()));

But nothing works.

Do anybody knows how to find the streams by date?

Thanks!

1 vote


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,952

Question asked: Oct 07 '19, 8:04 a.m.

Question was seen: 750 times

Last updated: Oct 07 '19, 8:04 a.m.

Confirmation Cancel Confirm