|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
net.java.sip.communicator.service.protocol.event.SubscriptionMovedEvent
public class SubscriptionMovedEvent
Events of this class represent the fact that a server stored subscription/contact has been moved from one server stored group to another. Such events are only generated by implementations of OperationSetPersistentPresence as non persistent presence operation sets do not support the notion of server stored groups.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
SubscriptionMovedEvent(Contact sourceContact,
ProtocolProviderService sourceProvider,
ContactGroup oldParent,
ContactGroup newParent)
Creates an event instance with the specified source contact and old and new parent. |
|
| Method Summary | |
|---|---|
ContactGroup |
getNewParentGroup()
Returns a reference to the ContactGroup that currently contains the source contact. |
ContactGroup |
getOldParentGroup()
Returns a reference to the ContactGroup that contained the source contact before it was moved. |
Contact |
getSourceContact()
Returns a reference to the contact that has been moved. |
ProtocolProviderService |
getSourceProvider()
Returns the provider that the source contact belongs to. |
String |
toString()
Returns a String representation of this ContactPresenceStatusChangeEvent |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SubscriptionMovedEvent(Contact sourceContact,
ProtocolProviderService sourceProvider,
ContactGroup oldParent,
ContactGroup newParent)
sourceContact - the Contact that has been moved.sourceProvider - a reference to the ProtocolProviderService
that the source Contact belongs to.oldParent - the ContactGroup that has previously been
the parentnewParent - the new ContactGroup parent of
sourceContact| Method Detail |
|---|
public Contact getSourceContact()
public ContactGroup getOldParentGroup()
public ContactGroup getNewParentGroup()
public ProtocolProviderService getSourceProvider()
public String toString()
toString in class EventObject
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||