Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Sametime Forum

HCL Sametime Forum


  

PreviousPrevious NextNext

RE: Help with adding Public and Private groups to Awareness List
~Martha Asaboosiburlen 7.Jan.04 03:47 AM a Web browser
General 3.0 Windows NT/2000


Hey Carl,

Thanks for the info. I've looked over that doc before but can't figure it out. I can get the group from the buddy list but haven't figured out how to add it to the awareness list. Do I have to convert the group to another type of object so that I can add it to the list? And is the awarenessList able to hold a group folder? Thanks for you help.

Here is what I have in my blRetrieveSucceeded event:

public void blRetrieveSucceeded(BLEvent e){

blList = e.getBL();

Vector groups = blList.getblGroups();

for (int i = 0; i < groups.size(); i++)
{
BLGroup group = (BLGroup) groups.elementAt(i);
if ( group instanceof PrivateGroup )
{
writeGroup((PrivateGroup)group );
}
}
System.out.println(blService.buddyListToString(blList));
}

private void writeGroup(PrivateGroup pg)
{
STUser newuser;
Vector users = pg.getUsersInGroup();
for (int i = 0; i < users.size(); i++)
{
BLUser user = (BLUser)users.elementAt(i);
newuser = new STUser(new STId(user.getBLId(), ""), user.getName(), "");
m_awarenessList.addUser(newuser);

System.out.println(user.getBLId() + "','" + user.getName() + "','" + false + "')");
}
}




Help with adding Public and Private... (~Martha Asaboos... 30.Dec.03)
. . RE: Help with adding Public and Pri... (~Gus Brenuter 31.Dec.03)
. . . . RE: Help with adding Public and Pri... (~Martha Asaboos... 31.Dec.03)
. . . . . . RE: Help with adding Public and Pri... (~Martha Asaboos... 6.Jan.04)
. . . . . . . . RE: Help with adding Public and Pri... (~Mark Bubnitexa... 7.Jan.04)
. . . . . . . . . . RE: Help with adding Public and Pri... (~Martha Asaboos... 7.Jan.04)
. . . . . . . . . . . . RE: Help with adding Public and Pri... (~Martha Asaboos... 12.Jan.04)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS