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

IDevelopmentLineHandle and IdevelopmentLine

Hello,
Sorry for this newbie question but I don't quite understand the usage of handle in RTC.
I can get all the developmentLineHandle by using:
IDevelopmentLineHandle[] developmentLinesArray = projectArea.getDevelopmentLines();

However, how can I get the corresponding IDevelopmentLine object. Handle carry states and so on but how should I use them?

The same applies to ITeamAreaHandle and ItemArea using
projectArea.getTeamAreas();

Thanks for your time.

0 votes



2 answers

Permanent link
On Sun, 23 Aug 2009 20:52:57 +0000, marly wrote:

Hello,
Sorry for this newbie question but I don't quite understand the usage of
handle in RTC.
I can get all the developmentLineHandle by using:
IDevelopmentLineHandle[]
developmentLinesArray =
projectArea.getDevelopmentLines();
However, how can I get the corresponding IDevelopmentLine object. Handle
carry states and so on but how should I use them?

The same applies to ITeamAreaHandle and ItemArea using
projectArea.getTeamAreas();

Thanks for your time.

Item handles are just references to an item in the repository. They carry
the item's id and an optional state id, as you've observed, but none of
the item's other data.

To get the full item, you have to fetch it from the repository. On the
client, this is done using the IItemManager API. You can get to the item
manager via the team repository, by calling ITeamRepository#itemManager().

Hope that helps.

--
Jared Burns
Jazz Process Team

0 votes


Permanent link
Perfect, that explained it. I got it now.

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,938

Question asked: Aug 23 '09, 4:47 p.m.

Question was seen: 6,977 times

Last updated: Aug 23 '09, 4:47 p.m.

Confirmation Cancel Confirm