@Test public void testWikidataDataFetcher() { WikibaseDataFetcher wbdf = WikibaseDataFetcher.getWikidataDataFetcher(); assertEquals(Datamodel.SITE_WIKIDATA, wbdf.siteIri); assertEquals(ApiConnection.URL_WIKIDATA_API, wbdf.wbGetEntitiesAction.connection.apiBaseUrl); }
public static WikibaseDataFetcher getWikidataDataFetcher() { return new WikibaseDataFetcher( BasicApiConnection.getWikidataApiConnection(), Datamodel.SITE_WIKIDATA); }
WikibaseDataFetcher { public static WikibaseDataFetcher getWikidataDataFetcher() { return new WikibaseDataFetcher( BasicApiConnection.getWikidataApiConnection(), Datamodel.SITE_WIKIDATA); } }
WikibaseDataFetcher { public static WikibaseDataFetcher getWikidataDataFetcher() { return new WikibaseDataFetcher( BasicApiConnection.getWikidataApiConnection(), Datamodel.SITE_WIKIDATA); } WikibaseDataFetcher(ApiConnection connection, String siteUri); }
WikibaseDataFetcher { public static WikibaseDataFetcher getWikidataDataFetcher() { return new WikibaseDataFetcher( BasicApiConnection.getWikidataApiConnection(), Datamodel.SITE_WIKIDATA); } WikibaseDataFetcher(ApiConnection connection, String siteUri); static WikibaseDataFetcher getWikidataDataFetcher(); static WikibaseDataFetcher getWikimediaCommonsDataFetcher(); DocumentDataFilter getFilter(); EntityDocument getEntityDocument(String entityId); Map<String, EntityDocument> getEntityDocuments(String... entityIds); Map<String, EntityDocument> getEntityDocuments(List<String> entityIds); EntityDocument getEntityDocumentByTitle(String siteKey, String title); Map<String, EntityDocument> getEntityDocumentsByTitle(
			String siteKey, String... titles); Map<String, EntityDocument> getEntityDocumentsByTitle(
			String siteKey, List<String> titles); MediaInfoIdValue getMediaInfoIdByFileName(String fileName); Map<String, MediaInfoIdValue> getMediaInfoIdsByFileName(String... fileNames); Map<String, MediaInfoIdValue> getMediaInfoIdsByFileName(List<String> fileNames); List<WbSearchEntitiesResult> searchEntities(String search); List<WbSearchEntitiesResult> searchEntities(String search, String language); List<WbSearchEntitiesResult> searchEntities(String search, Long limit); List<WbSearchEntitiesResult> searchEntities(String search, String language, Long limit); List<WbSearchEntitiesResult> searchEntities(WbGetEntitiesSearchData properties); }
WikibaseDataFetcher { public static WikibaseDataFetcher getWikidataDataFetcher() { return new WikibaseDataFetcher( BasicApiConnection.getWikidataApiConnection(), Datamodel.SITE_WIKIDATA); } WikibaseDataFetcher(ApiConnection connection, String siteUri); static WikibaseDataFetcher getWikidataDataFetcher(); static WikibaseDataFetcher getWikimediaCommonsDataFetcher(); DocumentDataFilter getFilter(); EntityDocument getEntityDocument(String entityId); Map<String, EntityDocument> getEntityDocuments(String... entityIds); Map<String, EntityDocument> getEntityDocuments(List<String> entityIds); EntityDocument getEntityDocumentByTitle(String siteKey, String title); Map<String, EntityDocument> getEntityDocumentsByTitle(
			String siteKey, String... titles); Map<String, EntityDocument> getEntityDocumentsByTitle(
			String siteKey, List<String> titles); MediaInfoIdValue getMediaInfoIdByFileName(String fileName); Map<String, MediaInfoIdValue> getMediaInfoIdsByFileName(String... fileNames); Map<String, MediaInfoIdValue> getMediaInfoIdsByFileName(List<String> fileNames); List<WbSearchEntitiesResult> searchEntities(String search); List<WbSearchEntitiesResult> searchEntities(String search, String language); List<WbSearchEntitiesResult> searchEntities(String search, Long limit); List<WbSearchEntitiesResult> searchEntities(String search, String language, Long limit); List<WbSearchEntitiesResult> searchEntities(WbGetEntitiesSearchData properties);  }