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

How to move files or folders Programmatically by retaining history

 Is there any way to  rename/move  a file  by using RTC Plain Java libraries ? 


if yes, Please let us know to  do that.

note : moving files by stand alone application by using RTC Plain Java libraries 

Thank you.

0 votes

Comments
Can you clarify the question?
The title suggests you want to know 'how' to move files using API,
but the question suggests you want to 'find' renamed/moved files.



One answer

Permanent link

Thanks David Lafreniere for response, now i have corrected the question. mean while i found the below API and it works.


 ILocalChangeManager lcm =  sharingManager.getLocalChangeManager();
 lcm.combineDeleteAdd(repoResolver, localDeletion, localAdition, new NullProgressMonitor());



0 votes

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
× 1,204

Question asked: Dec 04 '18, 12:27 a.m.

Question was seen: 1,605 times

Last updated: Dec 05 '18, 1:34 a.m.

Confirmation Cancel Confirm