Modifier and Type | Field and Description |
---|---|
(package private) ContactGroup |
MclStorageManager.StoredProtoContactDescriptor.parentProtoGroup |
Modifier and Type | Method and Description |
---|---|
ContactGroup |
MetaContactGroupImpl.getContactGroup(java.lang.String grpName,
ProtocolProviderService ownerProvider)
Returns a contact group encapsulated by this meta contact group, having
the specified groupName and coming from the indicated ownerProvider.
|
(package private) ContactGroup |
MetaContactListServiceImpl.loadStoredContactGroup(MetaContactGroupImpl containingMetaGroup,
java.lang.String contactGroupUID,
ContactGroup parentProtoGroup,
java.lang.String persistentData,
java.lang.String accountID)
Creates a unresolved instance of the proto specific contact group
according to the specified arguments and adds it to
containingMetaContactGroup
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<ContactGroup> |
MetaContactGroupImpl.getContactGroups()
Returns an iterator over all the protocol specific groups that this
contact group represents.
|
java.util.Iterator<ContactGroup> |
MetaContactGroupImpl.getContactGroupsForAccountID(java.lang.String accountID)
Returns all protocol specific ContactGroups, encapsulated by this
MetaContactGroup and coming from the provider matching the
accountID param.
|
java.util.Iterator<ContactGroup> |
MetaContactGroupImpl.getContactGroupsForProvider(ProtocolProviderService provider)
Returns all protocol specific ContactGroups, encapsulated by this
MetaContactGroup and coming from the indicated ProtocolProviderService.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
MetaContactGroupImpl.addProtoGroup(ContactGroup protoGroup)
Adds the specified group to the list of protocol specific groups
that we're encapsulating in this meta contact group.
|
MetaContactGroup |
MetaContactListServiceImpl.findMetaContactGroupByContactGroup(ContactGroup contactGroup)
Returns the MetaContactGroup corresponding to the specified contactGroup
or null if no such MetaContactGroup was found.
|
MetaContactGroupImpl |
MetaContactGroupImpl.findMetaContactGroupByContactGroup(ContactGroup protoContactGroup)
Returns a meta contact group, encapsulated by this group or its
subgroups, that has the specified protocol specific contact.
|
java.util.Iterator<Contact> |
MetaContactImpl.getContactsForContactGroup(ContactGroup parentProtoGroup)
Returns contacts, encapsulated by this MetaContact and belonging to
the specified protocol ContactGroup.
|
(package private) ContactGroup |
MetaContactListServiceImpl.loadStoredContactGroup(MetaContactGroupImpl containingMetaGroup,
java.lang.String contactGroupUID,
ContactGroup parentProtoGroup,
java.lang.String persistentData,
java.lang.String accountID)
Creates a unresolved instance of the proto specific contact group
according to the specified arguments and adds it to
containingMetaContactGroup
|
void |
MetaContactListServiceImpl.removeContactGroupFromMetaContactGroup(MetaContactGroupImpl metaContainer,
ContactGroup groupToRemove,
ProtocolProviderService sourceProvider)
Removes the protocol specific group from the specified meta contact group
and removes from meta contacts all proto contacts that belong to the
same provider as the group which is being removed.
|
(package private) boolean |
MetaContactImpl.removeContactsForGroup(ContactGroup protoGroup)
Removes all proto contacts that belong to the specified protocol group.
|
(package private) void |
MetaContactGroupImpl.removeProtoGroup(ContactGroup protoGroup)
Removes the specified group from the list of protocol specific groups
that we're encapsulating in this meta contact group.
|
Constructor and Description |
---|
StoredProtoContactDescriptor(java.lang.String contactAddress,
java.lang.String persistentData,
ContactGroup parentProtoGroup) |
Modifier and Type | Class and Description |
---|---|
class |
ContactGroupGibberishImpl
A simple, straightforward implementation of a gibberish ContactGroup.
|
Modifier and Type | Method and Description |
---|---|
ContactGroup |
OperationSetPersistentPresenceGibberishImpl.createUnresolvedContactGroup(java.lang.String groupUID,
java.lang.String persistentData,
ContactGroup parentGroup)
Creates and returns a unresolved contact group from the specified
address and persistentData.
|
ContactGroup |
ContactGroupGibberishImpl.getGroup(int index)
Returns the subgroup with the specified index.
|
ContactGroup |
ContactGroupGibberishImpl.getGroup(java.lang.String groupName)
Returns the subgroup with the specified name.
|
ContactGroup |
ContactGroupGibberishImpl.getParentContactGroup()
Returns the contact group that currently contains this group or null if
this is the root contact group.
|
ContactGroup |
ContactGibberishImpl.getParentContactGroup()
Returns the group that contains this contact.
|
ContactGroup |
OperationSetPersistentPresenceGibberishImpl.getServerStoredContactListRoot()
Returns the root group of the server stored contact list.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<ContactGroup> |
ContactGroupGibberishImpl.subgroups()
Returns an iterator over the sub groups that this
ContactGroup contains.
|
Modifier and Type | Method and Description |
---|---|
void |
OperationSetPersistentPresenceGibberishImpl.createServerStoredContactGroup(ContactGroup parent,
java.lang.String groupName)
Creates a group with the specified name and parent in the server
stored contact list.
|
Contact |
OperationSetPersistentPresenceGibberishImpl.createUnresolvedContact(java.lang.String address,
java.lang.String persistentData,
ContactGroup parent)
Creates and returns a unresolved contact from the specified
address and persistentData.
|
ContactGroup |
OperationSetPersistentPresenceGibberishImpl.createUnresolvedContactGroup(java.lang.String groupUID,
java.lang.String persistentData,
ContactGroup parentGroup)
Creates and returns a unresolved contact group from the specified
address and persistentData.
|
void |
OperationSetPersistentPresenceGibberishImpl.moveContactToGroup(Contact contactToMove,
ContactGroup newParent)
Removes the specified contact from its current parent and places it
under newParent.
|
void |
OperationSetPersistentPresenceGibberishImpl.removeServerStoredContactGroup(ContactGroup group)
Removes the specified group from the server stored contact list.
|
void |
OperationSetPersistentPresenceGibberishImpl.renameServerStoredContactGroup(ContactGroup group,
java.lang.String newName)
Renames the specified group from the server stored contact list.
|
void |
OperationSetPersistentPresenceGibberishImpl.subscribe(ContactGroup parent,
java.lang.String contactIdentifier)
Persistently adds a subscription for the presence status of the
contact corresponding to the specified contactIdentifier and indicates
that it should be added to the specified group of the server stored
contact list.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractContactGroupIcqImpl
The ICQ implementation of the service.protocol.ContactGroup interface.
|
class |
ContactGroupIcqImpl
The ICQ implementation of the ContactGroup interface.
|
class |
RootContactGroupIcqImpl
A dummy ContactGroup implementation representing the ContactList root for
ICQ contact lists.
|
Modifier and Type | Method and Description |
---|---|
ContactGroup |
OperationSetPersistentPresenceIcqImpl.createUnresolvedContactGroup(java.lang.String groupUID,
java.lang.String persistentData,
ContactGroup parentGroup)
Creates and returns a unresolved contact group from the specified
address and persistentData.
|
ContactGroup |
RootContactGroupIcqImpl.getGroup(int index)
Returns the subgroup with the specified index.
|
ContactGroup |
ContactGroupIcqImpl.getGroup(int index)
Returns the subgroup with the specified index (i.e.
|
ContactGroup |
RootContactGroupIcqImpl.getGroup(java.lang.String groupName)
Returns the subgroup with the specified name.
|
ContactGroup |
ContactGroupIcqImpl.getGroup(java.lang.String groupName)
Returns the subgroup with the specified name.
|
ContactGroup |
RootContactGroupIcqImpl.getParentContactGroup()
Returns null as this is the root contact group.
|
ContactGroup |
ContactGroupIcqImpl.getParentContactGroup()
Returns a reference to the root icq group which in ICQ is the parent of
any other group since the protocol does not support subgroups.
|
ContactGroup |
ContactIcqImpl.getParentContactGroup()
Returns a reference to the contact group that this contact is currently
a child of or null if the underlying protocol does not suppord persistent
presence.
|
ContactGroup |
ServerStoredContactListIcqImpl.getRootGroup()
Returns the root group of the contact list.
|
ContactGroup |
OperationSetPersistentPresenceIcqImpl.getServerStoredContactListRoot()
Returns the root group of the server stored contact list.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<ContactGroup> |
RootContactGroupIcqImpl.subgroups()
Returns an iterator over the sub groups that this
ContactGroup contains.
|
java.util.Iterator<ContactGroup> |
ContactGroupIcqImpl.subgroups()
Returns an empty iterator.
|
Modifier and Type | Method and Description |
---|---|
void |
OperationSetPersistentPresenceIcqImpl.createServerStoredContactGroup(ContactGroup parent,
java.lang.String groupName)
Creates a group with the specified name and parent in the server stored
contact list.
|
Contact |
OperationSetPersistentPresenceIcqImpl.createUnresolvedContact(java.lang.String address,
java.lang.String persistentData,
ContactGroup parentGroup)
Creates and returns a unresolved contact from the specified
address and persistentData.
|
ContactGroup |
OperationSetPersistentPresenceIcqImpl.createUnresolvedContactGroup(java.lang.String groupUID,
java.lang.String persistentData,
ContactGroup parentGroup)
Creates and returns a unresolved contact group from the specified
address and persistentData.
|
(package private) void |
ServerStoredContactListIcqImpl.fireGroupEvent(ContactGroup group,
int eventID)
Creates the corresponding event and notifies all
ServerStoredGroupListeners that the source group has been
removed, changed, renamed or whatever happened to it.
|
void |
OperationSetPersistentPresenceIcqImpl.moveContactToGroup(Contact contactToMove,
ContactGroup newParent)
Removes the specified contact from its current parent and places it
under newParent.
|
void |
OperationSetPersistentPresenceIcqImpl.removeServerStoredContactGroup(ContactGroup group)
Removes the specified group from the server stored contact list.
|
void |
OperationSetPersistentPresenceIcqImpl.renameServerStoredContactGroup(ContactGroup group,
java.lang.String newName)
Renames the specified group from the server stored contact list.
|
void |
OperationSetPersistentPresenceIcqImpl.subscribe(ContactGroup parent,
java.lang.String contactIdentifier)
Persistently adds a subscription for the presence status of the contact
corresponding to the specified contactIdentifier and indicates that it
should be added to the specified group of the server stored contact list.
|
Modifier and Type | Class and Description |
---|---|
class |
ContactGroupIrcImpl
Contact group for IRC.
|
Modifier and Type | Method and Description |
---|---|
ContactGroup |
ContactGroupIrcImpl.getGroup(int index)
Get subgroup by index.
|
ContactGroup |
ContactGroupIrcImpl.getGroup(java.lang.String groupName)
Get subgroup by name.
|
ContactGroup |
ContactGroupIrcImpl.getParentContactGroup()
Get parent contact group.
|
ContactGroup |
ContactIrcImpl.getParentContactGroup()
Get parent contact group.
|
ContactGroup |
OperationSetPersistentPresenceIrcImpl.getServerStoredContactListRoot()
Get group of contacts that have been discovered while using IRC.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<ContactGroup> |
ContactGroupIrcImpl.subgroups()
Get subgroups of this group.
|
Modifier and Type | Method and Description |
---|---|
void |
OperationSetPersistentPresenceIrcImpl.createServerStoredContactGroup(ContactGroup parent,
java.lang.String groupName)
Create a "server stored" contact group.
|
ContactIrcImpl |
OperationSetPersistentPresenceIrcImpl.createUnresolvedContact(java.lang.String address,
java.lang.String persistentData,
ContactGroup parentGroup)
Creates an unresolved contact for IRC.
|
ContactGroupIrcImpl |
OperationSetPersistentPresenceIrcImpl.createUnresolvedContactGroup(java.lang.String groupUID,
java.lang.String persistentData,
ContactGroup parentGroup)
Create a new unresolved contact group.
|
void |
OperationSetPersistentPresenceIrcImpl.moveContactToGroup(Contact contactToMove,
ContactGroup newParent)
Moving contacts to a different group is currently not implemented.
|
void |
OperationSetPersistentPresenceIrcImpl.removeServerStoredContactGroup(ContactGroup group)
Removing a contact group is currently not implemented.
|
void |
OperationSetPersistentPresenceIrcImpl.renameServerStoredContactGroup(ContactGroup group,
java.lang.String newName)
Rename contact group.
|
void |
OperationSetPersistentPresenceIrcImpl.subscribe(ContactGroup parent,
java.lang.String contactIdentifier)
Subscribes to presence updates for specified contact identifier.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractContactGroupJabberImpl
The Jabber implementation of the service.protocol.ContactGroup interface.
|
class |
ContactGroupJabberImpl
The Jabber implementation of the ContactGroup interface.
|
class |
RootContactGroupJabberImpl
A dummy ContactGroup implementation representing the ContactList root for
Jabber contact lists.
|
class |
VolatileContactGroupJabberImpl
The Jabber implementation of the Volatile ContactGroup interface.
|
Modifier and Type | Method and Description |
---|---|
ContactGroup |
OperationSetPersistentPresenceJabberImpl.createUnresolvedContactGroup(java.lang.String groupUID,
java.lang.String persistentData,
ContactGroup parentGroup)
Creates and returns a unresolved contact group from the specified
address and persistentData.
|
ContactGroup |
ServerStoredContactListJabberImpl.findContactGroup(ContactJabberImpl child)
Returns the ContactGroup containing the specified contact or null
if no such group or contact exist.
|
ContactGroup |
ContactGroupJabberImpl.getGroup(int index)
Returns the subgroup with the specified index (i.e.
|
ContactGroup |
RootContactGroupJabberImpl.getGroup(int index)
Returns the subgroup with the specified index.
|
ContactGroup |
ContactGroupJabberImpl.getGroup(java.lang.String groupName)
Returns the subgroup with the specified name.
|
ContactGroup |
RootContactGroupJabberImpl.getGroup(java.lang.String groupName)
Returns the subgroup with the specified name.
|
ContactGroup |
ContactJabberImpl.getParentContactGroup()
Returns a reference to the contact group that this contact is currently
a child of or null if the underlying protocol does not support persistent
presence.
|
ContactGroup |
ContactGroupJabberImpl.getParentContactGroup()
Returns a reference to the root group which in Jabber is the parent of
any other group since the protocol does not support subgroups.
|
ContactGroup |
RootContactGroupJabberImpl.getParentContactGroup()
Returns null as this is the root contact group.
|
ContactGroup |
ServerStoredContactListJabberImpl.getRootGroup()
Returns the root group of the contact list.
|
ContactGroup |
OperationSetPersistentPresenceJabberImpl.getServerStoredContactListRoot()
Returns the root group of the server stored contact list.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<ContactGroup> |
ContactGroupJabberImpl.subgroups()
Returns an empty iterator.
|
java.util.Iterator<ContactGroup> |
RootContactGroupJabberImpl.subgroups()
Returns an iterator over the sub groups that this
ContactGroup contains.
|
Modifier and Type | Method and Description |
---|---|
void |
ServerStoredContactListJabberImpl.addContact(ContactGroup parent,
java.lang.String id)
Adds a new contact with the specified screenname to the list under the
specified group.
|
void |
OperationSetPersistentPresenceJabberImpl.createServerStoredContactGroup(ContactGroup parent,
java.lang.String groupName)
Creates a group with the specified name and parent in the server
stored contact list.
|
(package private) ContactJabberImpl |
ServerStoredContactListJabberImpl.createUnresolvedContact(ContactGroup parentGroup,
java.lang.String id)
Creates a non resolved contact for the specified address and inside the
specified group.
|
Contact |
OperationSetPersistentPresenceJabberImpl.createUnresolvedContact(java.lang.String address,
java.lang.String persistentData,
ContactGroup parentGroup)
Creates and returns a unresolved contact from the specified
address and persistentData.
|
ContactGroup |
OperationSetPersistentPresenceJabberImpl.createUnresolvedContactGroup(java.lang.String groupUID,
java.lang.String persistentData,
ContactGroup parentGroup)
Creates and returns a unresolved contact group from the specified
address and persistentData.
|
(package private) void |
ServerStoredContactListJabberImpl.fireContactAdded(ContactGroup parentGroup,
ContactJabberImpl contact)
Make the parent persistent presence operation set dispatch a contact
added event.
|
(package private) void |
ServerStoredContactListJabberImpl.fireContactRemoved(ContactGroup parentGroup,
ContactJabberImpl contact)
Make the parent persistent presence operation set dispatch a contact
removed event.
|
(package private) void |
ServerStoredContactListJabberImpl.fireContactResolved(ContactGroup parentGroup,
ContactJabberImpl contact)
Make the parent persistent presence operation set dispatch a contact
resolved event.
|
boolean |
OperationSetPersistentPresencePermissionsJabberImpl.isReadOnly(ContactGroup group)
Checks whether the group is readonly.
|
void |
OperationSetPersistentPresenceJabberImpl.moveContactToGroup(Contact contactToMove,
ContactGroup newParent)
Removes the specified contact from its current parent and places it
under newParent.
|
void |
OperationSetPersistentPresenceJabberImpl.removeServerStoredContactGroup(ContactGroup group)
Removes the specified group from the server stored contact list.
|
void |
OperationSetPersistentPresenceJabberImpl.renameServerStoredContactGroup(ContactGroup group,
java.lang.String newName)
Renames the specified group from the server stored contact list.
|
void |
OperationSetPersistentPresenceJabberImpl.subscribe(ContactGroup parent,
java.lang.String contactIdentifier)
Persistently adds a subscription for the presence status of the
contact corresponding to the specified contactIdentifier and indicates
that it should be added to the specified group of the server stored
contact list.
|
Modifier and Type | Class and Description |
---|---|
class |
MockContactGroup
A simple, straightforward mock implementation of the ContactGroup interface
that can be manually created and filled and used in testing a
MetaContactList service
|
Modifier and Type | Method and Description |
---|---|
ContactGroup |
MockPersistentPresenceOperationSet.createUnresolvedContactGroup(java.lang.String groupUID,
java.lang.String persistentData,
ContactGroup parentGroup)
Creates and returns a unresolved contact group from the specified
address and persistentData.
|
ContactGroup |
MockContactGroup.getGroup(int index)
Returns the subgroup with the specified index.
|
ContactGroup |
MockContactGroup.getGroup(java.lang.String groupName)
Returns the subgroup with the specified name.
|
ContactGroup |
MockContact.getParentContactGroup()
Returns the group that contains this contact.
|
ContactGroup |
MockContactGroup.getParentContactGroup()
Returns the contact group that currently contains this group or null if
this is the root contact group.
|
ContactGroup |
MockPersistentPresenceOperationSet.getServerStoredContactListRoot()
Returns the root group of the server stored contact list.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<ContactGroup> |
MockContactGroup.subgroups()
Returns an iterator over the sub groups that this
ContactGroup contains.
|
Modifier and Type | Method and Description |
---|---|
void |
MockPersistentPresenceOperationSet.createServerStoredContactGroup(ContactGroup parent,
java.lang.String groupName)
Creates a group with the specified name and parent in the server
stored contact list.
|
Contact |
MockPersistentPresenceOperationSet.createUnresolvedContact(java.lang.String address,
java.lang.String persistentData,
ContactGroup parent)
Creates and returns a unresolved contact from the specified
address and persistentData.
|
ContactGroup |
MockPersistentPresenceOperationSet.createUnresolvedContactGroup(java.lang.String groupUID,
java.lang.String persistentData,
ContactGroup parentGroup)
Creates and returns a unresolved contact group from the specified
address and persistentData.
|
void |
MockPersistentPresenceOperationSet.moveContactToGroup(Contact contactToMove,
ContactGroup newParent)
Removes the specified contact from its current parent and places it
under newParent.
|
void |
MockPersistentPresenceOperationSet.removeServerStoredContactGroup(ContactGroup group)
Removes the specified group from the server stored contact list.
|
void |
MockPersistentPresenceOperationSet.renameServerStoredContactGroup(ContactGroup group,
java.lang.String newName)
Renames the specified group from the server stored contact list.
|
void |
MockPersistentPresenceOperationSet.subscribe(ContactGroup parent,
java.lang.String contactIdentifier)
Persistently adds a subscription for the presence status of the
contact corresponding to the specified contactIdentifier and indicates
that it should be added to the specified group of the server stored
contact list.
|
Modifier and Type | Class and Description |
---|---|
class |
ContactGroupSipImpl
A simple, straightforward implementation of a SIP ContactGroup.
|
Modifier and Type | Method and Description |
---|---|
ContactGroup |
OperationSetPresenceSipImpl.createUnresolvedContactGroup(java.lang.String groupUID,
java.lang.String persistentData,
ContactGroup parentGroup)
Creates and returns a unresolved contact group from the specified
address and persistentData.
|
ContactGroup |
ContactGroupSipImpl.getGroup(int index)
Returns the subgroup with the specified index.
|
ContactGroup |
ContactGroupSipImpl.getGroup(java.lang.String groupName)
Returns the subgroup with the specified name.
|
ContactGroup |
ContactSipImpl.getParentContactGroup()
Returns the group that contains this contact.
|
ContactGroup |
ContactGroupSipImpl.getParentContactGroup()
Returns the contact group that currently contains this group or null if
this is the root contact group.
|
ContactGroup |
OperationSetPresenceSipImpl.getServerStoredContactListRoot()
Returns the root group of the server stored contact list.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<ContactGroup> |
ContactGroupSipImpl.subgroups()
Returns an iterator over the sub groups that this
ContactGroup contains.
|
Modifier and Type | Method and Description |
---|---|
void |
OperationSetPresenceSipImpl.createServerStoredContactGroup(ContactGroup parentGroup,
java.lang.String groupName)
Creates a group with the specified name and parent in the server
stored contact list.
|
Contact |
OperationSetPresenceSipImpl.createUnresolvedContact(java.lang.String contactId,
java.lang.String persistentData,
ContactGroup parent)
Creates and returns a unresolved contact from the specified
address and persistentData.
|
ContactGroup |
OperationSetPresenceSipImpl.createUnresolvedContactGroup(java.lang.String groupUID,
java.lang.String persistentData,
ContactGroup parentGroup)
Creates and returns a unresolved contact group from the specified
address and persistentData.
|
protected void |
ServerStoredContactList.fireGroupEvent(ContactGroup group,
int eventID)
Creates the corresponding event and notifies all
ServerStoredGroupListeners that the source group has been
removed, changed, renamed or whatever happened to it.
|
void |
OperationSetPresenceSipImpl.moveContactToGroup(Contact contactToMove,
ContactGroup newParent)
Removes the specified contact from its current parent and places it
under newParent.
|
void |
OperationSetPresenceSipImpl.removeServerStoredContactGroup(ContactGroup group)
Removes the specified group from the server stored contact list.
|
void |
OperationSetPresenceSipImpl.renameServerStoredContactGroup(ContactGroup group,
java.lang.String newName)
Renames the specified group from the server stored contact list.
|
void |
OperationSetPresenceSipImpl.subscribe(ContactGroup parentGroup,
java.lang.String contactIdentifier)
Persistently adds a subscription for the presence status of the
contact corresponding to the specified contactIdentifier and indicates
that it should be added to the specified group of the server stored
contact list.
|
(package private) void |
OperationSetPresenceSipImpl.subscribe(ContactGroup parentGroup,
java.lang.String contactIdentifier,
java.lang.String contactType)
Persistently adds a subscription for the presence status of the
contact corresponding to the specified contactIdentifier and indicates
that it should be added to the specified group of the server stored
contact list.
|
void |
OperationSetContactTypeInfoImpl.subscribe(ContactGroup parent,
java.lang.String contactIdentifier,
java.lang.String contactType)
Persistently adds a subscription for the presence status of the contact
corresponding to the specified contactIdentifier and indicates that it
should be added to the specified group of the server stored contact list.
|
Modifier and Type | Method and Description |
---|---|
ContactGroup |
MetaContactGroup.getContactGroup(java.lang.String groupName,
ProtocolProviderService ownerProvider)
Returns a contact group encapsulated by this meta contact group, having
the specified groupName and coming from the indicated ownerProvider.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<ContactGroup> |
MetaContactGroup.getContactGroups()
Returns an iterator over all the protocol specific groups that this
contact group represents.
|
java.util.Iterator<ContactGroup> |
MetaContactGroup.getContactGroupsForAccountID(java.lang.String accountID)
Returns all protocol specific ContactGroups, encapsulated by this
MetaContactGroup and coming from the provider matching the
accountID param.
|
java.util.Iterator<ContactGroup> |
MetaContactGroup.getContactGroupsForProvider(ProtocolProviderService provider)
Returns all protocol specific ContactGroups, encapsulated by this
MetaContactGroup and coming from the indicated ProtocolProviderService.
|
Modifier and Type | Method and Description |
---|---|
MetaContactGroup |
MetaContactListService.findMetaContactGroupByContactGroup(ContactGroup group)
Returns the MetaContactGroup encapsulating the specified protocol contact
group or null if no such MetaContactGroup was found.
|
Modifier and Type | Method and Description |
---|---|
ContactGroup |
MetaContactGroupEvent.getSourceProtoGroup()
Returns the proto group associated with this event or null if the event
does not concern a particular source group.
|
Constructor and Description |
---|
MetaContactGroupEvent(MetaContactGroup source,
ProtocolProviderService provider,
ContactGroup sourceProtoGroup,
int eventID)
Creates a new MetaContactGroup event according to the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
ContactGroup |
OperationSetPersistentPresence.createUnresolvedContactGroup(java.lang.String groupUID,
java.lang.String persistentData,
ContactGroup parentGroup)
Creates and returns a unresolved contact group from the specified
address and persistentData.
|
ContactGroup |
ContactGroup.getGroup(int index)
Returns the subgroup with the specified index.
|
ContactGroup |
ContactGroup.getGroup(java.lang.String groupName)
Returns the subgroup with the specified name.
|
ContactGroup |
Contact.getParentContactGroup()
Returns a reference to the contact group that this contact is currently
a child of or null if the underlying protocol does not support persistent
presence.
|
ContactGroup |
ContactGroup.getParentContactGroup()
Returns the contact group that currently contains this group or null if
this is the root contact group.
|
ContactGroup |
OperationSetPersistentPresence.getServerStoredContactListRoot()
Returns the root group of the server stored contact list.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<ContactGroup> |
ContactGroup.subgroups()
Returns an iterator over the sub groups that this
ContactGroup contains.
|
Modifier and Type | Method and Description |
---|---|
void |
OperationSetPersistentPresence.createServerStoredContactGroup(ContactGroup parent,
java.lang.String groupName)
Creates a group with the specified name and parent in the server stored
contact list.
|
Contact |
OperationSetPersistentPresence.createUnresolvedContact(java.lang.String address,
java.lang.String persistentData,
ContactGroup parentGroup)
Creates and returns a unresolved contact from the specified
address and persistentData.
|
ContactGroup |
OperationSetPersistentPresence.createUnresolvedContactGroup(java.lang.String groupUID,
java.lang.String persistentData,
ContactGroup parentGroup)
Creates and returns a unresolved contact group from the specified
address and persistentData.
|
protected void |
AbstractOperationSetPersistentPresence.fireContactPresenceStatusChangeEvent(Contact source,
ContactGroup parentGroup,
PresenceStatus oldValue)
Notifies all registered listeners of the new event.
|
void |
AbstractOperationSetPersistentPresence.fireContactPresenceStatusChangeEvent(Contact source,
ContactGroup parentGroup,
PresenceStatus oldValue,
PresenceStatus newValue) |
void |
AbstractOperationSetPersistentPresence.fireContactPresenceStatusChangeEvent(Contact source,
ContactGroup parentGroup,
PresenceStatus oldValue,
PresenceStatus newValue,
boolean isResourceChange) |
protected void |
AbstractOperationSetPersistentPresence.fireServerStoredGroupEvent(ContactGroup source,
int eventID)
Notifies all registered listeners of the new event.
|
void |
AbstractOperationSetPersistentPresence.fireSubscriptionEvent(Contact source,
ContactGroup parentGroup,
int eventID)
Notifies all registered listeners of the new event.
|
void |
AbstractOperationSetPersistentPresence.fireSubscriptionEvent(Contact source,
ContactGroup parentGroup,
int eventID,
int errorCode,
java.lang.String errorReason) |
void |
AbstractOperationSetPersistentPresence.fireSubscriptionMovedEvent(Contact source,
ContactGroup oldParent,
ContactGroup newParent)
Notifies all registered listeners of the new event.
|
boolean |
OperationSetPersistentPresencePermissions.isReadOnly(ContactGroup group)
Checks whether the group is readonly.
|
void |
OperationSetPersistentPresence.moveContactToGroup(Contact contactToMove,
ContactGroup newParent)
Removes the specified contact from its current parent and places it under
newParent.
|
void |
OperationSetPersistentPresence.removeServerStoredContactGroup(ContactGroup group)
Removes the specified group from the server stored contact list.
|
void |
OperationSetPersistentPresence.renameServerStoredContactGroup(ContactGroup group,
java.lang.String newName)
Renames the specified group from the server stored contact list.
|
void |
OperationSetPersistentPresence.subscribe(ContactGroup parent,
java.lang.String contactIdentifier)
Persistently adds a subscription for the presence status of the contact
corresponding to the specified contactIdentifier and indicates that it
should be added to the specified group of the server stored contact list.
|
void |
OperationSetContactTypeInfo.subscribe(ContactGroup parent,
java.lang.String contactIdentifier,
java.lang.String contactType)
Persistently adds a subscription for the presence status of the contact
corresponding to the specified contactIdentifier and indicates that it
should be added to the specified group of the server stored contact list.
|
Modifier and Type | Method and Description |
---|---|
ContactGroup |
SubscriptionMovedEvent.getNewParentGroup()
Returns a reference to the ContactGroup that currently contains the
source contact.
|
ContactGroup |
SubscriptionMovedEvent.getOldParentGroup()
Returns a reference to the ContactGroup that contained the source contact
before it was moved.
|
ContactGroup |
ContactPropertyChangeEvent.getParentContactGroup()
Returns a reference to the source contact parent ContactGroup.
|
ContactGroup |
SubscriptionEvent.getParentGroup()
Returns (if applicable) the group containing the contact that cause this
event.
|
ContactGroup |
ServerStoredGroupEvent.getParentGroup()
Returns the group containing the event source group
|
ContactGroup |
ContactPresenceStatusChangeEvent.getParentGroup()
Returns (if applicable) the group containing the contact that cause this
event.
|
ContactGroup |
ServerStoredGroupEvent.getSourceGroup()
Returns a reference to the ContactGroup that this event is
pertaining to.
|
Constructor and Description |
---|
ContactPresenceStatusChangeEvent(Contact source,
ProtocolProviderService sourceProvider,
ContactGroup parentGroup,
PresenceStatus oldValue,
PresenceStatus newValue)
Creates an event instance indicating that the specified source contact
has changed status from oldValue to newValue.
|
ContactPresenceStatusChangeEvent(Contact source,
ProtocolProviderService sourceProvider,
ContactGroup parentGroup,
PresenceStatus oldValue,
PresenceStatus newValue,
boolean resourceChanged)
Creates an event instance indicating that the specified source contact
has changed status from oldValue to newValue.
|
ServerStoredGroupEvent(ContactGroup sourceGroup,
int eventID,
ContactGroup parentGroup,
ProtocolProviderService sourceProvider,
OperationSetPersistentPresence opSet)
Creates a ServerStoredGroupChangeEvent instance.
|
SubscriptionEvent(Contact source,
ProtocolProviderService provider,
ContactGroup parentGroup,
int eventID)
Creates a new Subscription event according to the specified parameters.
|
SubscriptionEvent(Contact source,
ProtocolProviderService provider,
ContactGroup parentGroup,
int eventID,
int errorCode,
java.lang.String errorReason)
Creates a new Subscription event according to the specified parameters.
|
SubscriptionMovedEvent(Contact sourceContact,
ProtocolProviderService sourceProvider,
ContactGroup oldParent,
ContactGroup newParent)
Creates an event instance with the specified source contact and old and
new parent.
|
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.