how can i get all the baseline names of the component use RTC-SDK-Server-6.0.6.1 api
Hi
I can use the IComponent get the InitialBaseline ,how can i get all the baseline names of the component use RTC-SDK-Server-6.0.6.1 api
IRepositoryItemService itemService=getService(IRepositoryItemService.class);
IComponent this_component = (IComponent)item;
IBaselineHandle this_baselineHandle = this_component.getInitialBaseline();
IBaseline this_baseline = (IBaseline) itemService.fetchItem(this_baseline, IRepositoryItemService.COMPLETE);
Accepted answer
Try IScmQueryService.findBaselines(), and in the IBaselineSearchCriteria just fill in the .setComponentRequired()