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:
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
Thanks for your time.
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.
2 answers
On Sun, 23 Aug 2009 20:52:57 +0000, marly wrote:
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
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 usingprojectArea.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