|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcorny.addressbook.JNIHandler.AddressBookNotification
corny.addressbook.JNIHandler.AddressBookNotification.MutableAddressBookNotification
public static class AddressBookNotification.MutableAddressBookNotification
Mutable subclass of the AddressBookNotification class. Contains methods to add data to the Notification, to clear the Notification and to merge the Notification with the data of another Notification.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class corny.addressbook.JNIHandler.AddressBookNotification |
---|
AddressBookNotification.MutableAddressBookNotification |
Constructor Summary | |
---|---|
AddressBookNotification.MutableAddressBookNotification()
Creates a new, empty MutableAddressBookNotification. |
|
AddressBookNotification.MutableAddressBookNotification(java.lang.String inserted,
java.lang.String updated,
java.lang.String deleted)
Creates a new MutableAddressBookNotification. |
Method Summary | |
---|---|
void |
addData(java.util.Collection<java.lang.String> inserted,
java.util.Collection<java.lang.String> updated,
java.util.Collection<java.lang.String> deleted)
Adds the given change information to this Notification. |
void |
addData(java.lang.String inserted,
java.lang.String updated,
java.lang.String deleted)
Adds the given change information to this Notification. |
void |
addDataFrom(AddressBookNotification additionalNotification)
Merges this Notification with the data of a newer Notification. |
void |
clear()
Clears this Notification |
AddressBookNotification |
getImmutableNotification()
|
Methods inherited from class corny.addressbook.JNIHandler.AddressBookNotification |
---|
getDeletedRecords, getInsertedRecords, getUpdatedRecords, hasChangedGroups, hasChanges, hasDeletedRecords, hasInsertedRecords, hasUpdatedRecords |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AddressBookNotification.MutableAddressBookNotification()
public AddressBookNotification.MutableAddressBookNotification(java.lang.String inserted, java.lang.String updated, java.lang.String deleted)
inserted
- UID of an inserted Record or null if none was insertedupdated
- UID of an updated Record or null if none was updateddeleted
- UID of a deleted Record or null if none was deletedMethod Detail |
---|
public void addDataFrom(AddressBookNotification additionalNotification)
additionalNotification
- Newer Notificationpublic void clear()
public void addData(java.lang.String inserted, java.lang.String updated, java.lang.String deleted)
inserted
- UID of an inserted Record or null if none was insertedupdated
- UID of an updated Record or null if none was updateddeleted
- UID of a deleted Record or null if none was deletedpublic void addData(java.util.Collection<java.lang.String> inserted, java.util.Collection<java.lang.String> updated, java.util.Collection<java.lang.String> deleted)
inserted
- Collection of UIDs of a inserted Records or null if none
was insertedupdated
- Collection of UIDs of a updaedt Records or null if none
was updateddeleted
- Collection of UIDs of a deleted Records or null if none
was deletedpublic AddressBookNotification getImmutableNotification()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |