Class ItemChange


  • public final class ItemChange
    extends Change
    Represents a change on an item as returned by a synchronization operation.
    • Constructor Detail

      • ItemChange

        public ItemChange()
        Initializes a new instance of ItemChange.
    • Method Detail

      • getItem

        public Item getItem()
        Gets the item the change applies to. Item is null when ChangeType is equal to either ChangeType.Delete or ChangeType.ReadFlagChange. In those cases, use the ItemId property to retrieve the Id of the item that was deleted or whose IsRead property changed.
        Returns:
        the item
      • getIsRead

        public boolean getIsRead()
        Gets the IsRead property for the item that the change applies to. IsRead is only valid when ChangeType is equal to ChangeType.ReadFlagChange.
        Returns:
        the checks if is read
      • setIsRead

        public void setIsRead​(boolean isRead)
        Sets the checks if is read.
        Parameters:
        isRead - the new checks if is read