It's all about the answers!

Ask a question

setting the visibilty of a RWS using the java api


Ganadakshaka K (1123) | asked Jul 26, 2:01 a.m.

       i need to use this below java APi to set the visibility to project scoped while creating the RWS

void com.ibm.team.scm.client.IWorkspaceConnection.setOwnerAndVisibility(IAuditableHandle arg0, IReadScope arg1, IProgressMonitor arg2) throws TeamRepositoryException


so how can i get and set the parameters (IAuditableHandle arg0, IReadScope arg1) in the above function

please let me know how i can proceed ,or a snippet to do it 

Thanks in advance

One answer



permanent link
Ralph Schoon (63.6k33646) | answered Jul 26, 3:44 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Jul 26, 3:45 a.m.
Please enhance your tagging with a product. ALWAYS provide a version.

If you want to continue working with those APIs, read https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ and perform at least Lab 1 of the workshop https://jazz.net/library/article/1000  . This sets up a workspace with the EWM SDK The last lab explains how to setup for plain Java Client Libraries development and how to search the SDK.

public void setOwnerAndVisibility(IAuditableHandle newOwner, IReadScope newScope, IProgressMonitor mon) throws TeamRepositoryException;

IReadScope.FACTORY.createPublicScope()

Your answer


Register or 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.