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: