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

How do I use the API to get/set the project area whose process another project area is sharing?

I am looking for the method to get/set the project process parent configuration.. internal is ok..

I don't see anything in IProjectArea, IProcessArea, IProcessContainer..
(its not links, nor 'project' of process area)

must be blind..

2

0 votes


Accepted answer

Permanent link
the get/set methods are on the ProjectArea class in com.ibm.team.process.internal.common
this is an interface, implemented in IProjectAreaImpl
(in com.ibm.team.process.common)

public IProjectAreaHandle getProcessProvider();
public void setProcessProvider(IProjectAreaHandle provider);

the save operation is

IProcessItemservice().save(item, monitor)

note that this is a client application..

how do you attach source to these posts now with the new forum

Ralph Schoon selected this answer as the correct answer

1 vote

Comments

FYI that interface is internal, and as such, subject to change.

1 vote


2 other answers

Permanent link
found how to get/set.. but this doesn't update the database..

is there a 'save project' method? I think the save has to do some work with the parent process link..


0 votes

Comments

Sam, can you publish the getter/setter and which service class/client library has it?


Permanent link
I sent you the source if you can post it..

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,936
× 6,121
× 89

Question asked: Jul 06 '12, 1:06 p.m.

Question was seen: 6,048 times

Last updated: Jul 09 '12, 5:05 p.m.

Confirmation Cancel Confirm