powered by Jive Software

Exists in Roster?

When a user is to be added to the Roster and I don’'t know if the user already exists in the Roster nor if its in the correct group. What do I do? Would it be possible without using the methods returning an Iterator?

I found the RosterGroup.contains() but this gives me info for only one group and not the whole Roster. Sure I can use the Roster.getGroups() or Roster.getEntries()

What I’'m asking for is maybe these methods:

Roster.contains(String user)

Roster.getEntry(String user)

RosterGroup.getEntry(String user)

Thanks for the feature request. I’'ll schedule to add these methods for the next release.



All three methods are now complete and in CVS so will be out in tomorrow’'s daily build.