class WikibaseDataEditor {

	public ItemDocument editItemDocument(ItemDocument itemDocument,
			boolean clear, String summary, List<String> tags) throws IOException,
			MediaWikiApiErrorException {
		String data = JsonSerializer.getJsonString(itemDocument);
		return (ItemDocument) this.wbEditingAction.wbEditEntity(itemDocument
				.getEntityId().getId(), null, null, null, data, clear,
				this.editAsBot, itemDocument.getRevisionId(), summary, tags);
	}

	public  WikibaseDataEditor(ApiConnection connection, String siteUri);
	public  WikibaseDataEditor(ApiConnection connection, String siteUri, GuidGenerator generator);

}