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

Stream visibility to api, question, RESOLVED

 Now I need to clone streams across servers..

list the streams.. hm.. only see some.. 
get all the stream names, only see some.. (at least its the same list!)

there are three groups
owned by project area, visible to project area - no problem
owned by subteam A, visible to project area - do not see
owned by subteam B, visible to project area - do not see. 

both of these only show the streams owned by the base project area. 

I added the user to the subteams, no change. 
but the same user can see them all thru the eclipse UI.
I haven't found the eclipse code that builds the list yet. 

any guidance welcomed.


for(String wrkspacename: (Collection<String>)prodmgr.findAllWorkspaceNames(owning_project, null))
           {
               System.out.println("processing for workspace(s) name="+wrkspacename);
           }
            // loop thru all the workspaces in this project
            for(IWorkspaceConnection prodworkspace:(List<IWorkspaceConnection>)prodmgr.findAllWorkspaces(owning_project, "", null))
            {






0 votes



One answer

Permanent link
  Never Mind.. use the right functions..

            IWorkspaceSearchCriteria isc = IWorkspaceSearchCriteria.FACTORY.newInstance();
            isc.setKind(IWorkspaceSearchCriteria.STREAMS);
            for (IWorkspaceHandle iwsh : (List<IWorkspaceHandle>) prodmgr.findWorkspaces(isc, 200, null))
            {
                IWorkspaceConnection prodworkspace = prodmgr.getWorkspaceConnection(iwsh, null);


can someone select this as the answer.

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,947
× 17

Question asked: Jan 09 '14, 2:47 p.m.

Question was seen: 4,782 times

Last updated: Jan 09 '14, 4:59 p.m.

Confirmation Cancel Confirm