class WikibaseDataEditor {

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

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

}