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

How to retrieve the version number of a IFileItem with the java client api

Since RTC 5.0 for each file version a version number exists. I have a list of object of type IFileItem and want to retrieve the version number with the java client api. But I could not find out how to do this. Can someone give me an example how to achieve this ?

0 votes


Accepted answer

Permanent link
I believe that IWorkspaceManager#getVersionableIdentifiers() is the API you want to call.
Matthias Peus selected this answer as the correct answer

0 votes

Comments

Thank you very much. I have verified this and it works !

Your answer

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

Question asked: Nov 19 '15, 4:50 a.m.

Question was seen: 1,721 times

Last updated: Jan 27 '16, 8:02 a.m.

Confirmation Cancel Confirm