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

How to get non-archived project areas only?

Hi,
I am able to list all the project areas for a repository using the following code? (It includes archived project areas also). I want to exclude the archived project areas from the list. Is there any way i can directly get the list of all project areas excluding the archived list through programatically?


IProcessItemService client = (IProcessItemService) repository
.getClientLibrary(IProcessItemService.class);
List<IProjectArea> projectAreas = null;
projectAreas = client.findAllProjectAreas(
IProcessClientService.ALL_PROPERTIES, null);

Thanks,
Yasar

0 votes



2 answers

Permanent link
what version of RTC are you using?

0 votes


Permanent link
what version of RTC are you using?


Hi Yasar,

Using IProcessItemService it is not possible to directly get the list of all Project Areas excluding the archived project areas. Instead after fetching the list of all project areas one can exclude the archived project areas by invoking isArchived() function on each of the project area instances.

Thanks
Sridevi
Jazz Process Team

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
× 10,937

Question asked: Dec 12 '09, 1:33 a.m.

Question was seen: 4,859 times

Last updated: Dec 12 '09, 1:33 a.m.

Confirmation Cancel Confirm