Class ItemUpdateImpl

All Implemented Interfaces:
EntityUpdate, ItemUpdate, LabeledDocumentUpdate, LabeledStatementDocumentUpdate, StatementDocumentUpdate, TermedDocumentUpdate, TermedStatementDocumentUpdate

public class ItemUpdateImpl extends TermedDocumentUpdateImpl implements ItemUpdate
Jackson implementation of ItemUpdate.
  • Constructor Details

    • ItemUpdateImpl

      public ItemUpdateImpl(ItemIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String,AliasUpdate> aliases, StatementUpdate statements, Collection<SiteLink> modifiedSiteLinks, Collection<String> removedSiteLinks)
      Initializes new item update.
      Parameters:
      entityId - ID of the item that is to be updated
      revisionId - base item revision to be updated or zero if not available
      labels - changes in entity labels or null for no change
      descriptions - changes in entity descriptions or null for no change
      aliases - changes in entity aliases, possibly empty
      statements - changes in entity statements, possibly empty
      modifiedSiteLinks - added or replaced site links
      removedSiteLinks - site keys of removed site links
      Throws:
      NullPointerException - if any required parameter or its item is null
      IllegalArgumentException - if any parameters or their combination is invalid
  • Method Details