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

fnding components by project

I s ther a class which will give you all the components with a project.

IComponentSearchCriteria has no way to specify owner name.

I am using to IWorkspaceManager findComponents() to retrive the components.

0 votes



2 answers

Permanent link
Yes there is but components can be owned by projects/teams, so if you want the closure of all components in a project regardless of which team owns them, you'll have to search for components owned by each subteam using the getFilterByOwnerOptional() list as follows

iterate teams/projects and

crit.getFilterByOwnerOptional().add(ownerHandle);

1 vote

Comments

It was exactly what we were looking for! Thanks a bunch, Jean-Michel.


Permanent link
works fine, thank you.

Do you know of any Documentation for the classes?

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

Question asked: Apr 19 '10, 4:10 p.m.

Question was seen: 5,135 times

Last updated: Sep 05 '12, 5:49 a.m.

Confirmation Cancel Confirm