Package | Description |
---|---|
org.wikidata.wdtk.datamodel.helpers |
Package for mostly static helper code to work with data objects.
|
org.wikidata.wdtk.datamodel.implementation |
Basic implementation for objects representing Wikibase data and related factories.
|
org.wikidata.wdtk.datamodel.interfaces |
Interfaces for representing Wikibase data and related factories.
|
org.wikidata.wdtk.wikibaseapi |
Components for accessing the Web API of a Wikibase website, such as wikidata.org.
|
Modifier and Type | Method and Description |
---|---|
EntityDocument |
JsonDeserializer.deserializeEntityDocument(String json)
Deserializes a JSON string into a
EntityDocument . |
Modifier and Type | Method and Description |
---|---|
static EntityUpdateBuilder |
EntityUpdateBuilder.forBaseRevision(EntityDocument revision)
Creates new builder object for constructing update of given base entity
revision.
|
static String |
JsonSerializer.getJsonString(EntityDocument entityDocument)
Serializes the given object in JSON and returns the resulting string.
|
Constructor and Description |
---|
EntityUpdateBuilder(EntityDocument revision)
Initializes new builder object for constructing update of given base entity
revision.
|
Modifier and Type | Class and Description |
---|---|
class |
EntityDocumentImpl
Abstract Jackson implementation of
EntityDocument . |
class |
EntityRedirectDocumentImpl
Implementation of
EntityRedirectDocument |
class |
FormDocumentImpl
Jackson implementation of
FormDocument . |
class |
ItemDocumentImpl
Jackson implementation of
ItemDocument . |
class |
LexemeDocumentImpl
Jackson implementation of
LexemeDocument . |
class |
MediaInfoDocumentImpl
Jackson implementation of
MediaInfoDocument . |
class |
PropertyDocumentImpl
Jackson implementation of
PropertyDocument . |
class |
SenseDocumentImpl
Jackson implementation of
SenseDocument . |
class |
TermedStatementDocumentImpl
Abstract Jackson implementation of
TermedDocument and StatementDocument . |
Modifier and Type | Interface and Description |
---|---|
interface |
EntityRedirectDocument
Interface for entity redirect.
|
interface |
FormDocument
Interface for lexemes forms.
|
interface |
ItemDocument
Interface for datasets that describe items.
|
interface |
LabeledDocument
Interface for EntityDocuments that can be described by labels
in several languages.
|
interface |
LabeledStatementDocument
This interface just joins
LabeledDocument and StatementDocument . |
interface |
LexemeDocument
Interface for datasets that describe lexemes.
|
interface |
MediaInfoDocument
Interface for datasets that describe media entities.
|
interface |
PropertyDocument
Interface for datasets that describe properties.
|
interface |
SenseDocument
Interface for lexemes senses.
|
interface |
StatementDocument
Interface for EntityDocuments that can have statements.
|
interface |
TermedDocument
Interface for EntityDocuments that can be described by terms in several
languages.
|
interface |
TermedStatementDocument
This interface just joins
TermedDocument and StatementDocument . |
Modifier and Type | Method and Description |
---|---|
EntityDocument |
EntityDocument.withRevisionId(long newRevisionId)
Returns a copy of this document with an updated revision id.
|
Modifier and Type | Method and Description |
---|---|
<T extends EntityDocument> |
WikibaseDataEditor.nullEdit(T currentDocument)
Performs a null edit on an entity.
|
Modifier and Type | Method and Description |
---|---|
EntityDocument |
WikibaseDataEditor.createEntityDocument(EntityDocument document,
String summary,
List<String> tags)
Creates new entity document.
|
EntityDocument |
WikibaseDataFetcher.getEntityDocument(String entityId)
Fetches the documents for the entity of the given string IDs.
|
EntityDocument |
WikibaseDataFetcher.getEntityDocumentByTitle(String siteKey,
String title)
Fetches the document for the entity that has a page of the given title on
the given site.
|
protected EntityDocument |
WbEditingAction.getEntityDocumentFromResponse(com.fasterxml.jackson.databind.JsonNode root)
TODO: TO BE REFACTORED
|
EntityDocument |
WbEditingAction.wbEditEntity(String id,
String site,
String title,
String newEntity,
String data,
boolean clear,
boolean bot,
long baserevid,
String summary,
List<String> tags)
Executes the API action "wbeditentity" for the given parameters.
|
Modifier and Type | Method and Description |
---|---|
Map<String,EntityDocument> |
WikibaseDataFetcher.getEntityDocuments(List<String> entityIds)
Fetches the documents for the entities of the given string IDs.
|
Map<String,EntityDocument> |
WikibaseDataFetcher.getEntityDocuments(String... entityIds)
Fetches the documents for the entities of the given string IDs.
|
Map<String,EntityDocument> |
WikibaseDataFetcher.getEntityDocumentsByTitle(String siteKey,
List<String> titles)
Fetches the documents for the entities that have pages of the given
titles on the given site.
|
Map<String,EntityDocument> |
WikibaseDataFetcher.getEntityDocumentsByTitle(String siteKey,
String... titles)
Fetches the documents for the entities that have pages of the given
titles on the given site.
|
Map<String,EntityDocument> |
WbGetEntitiesAction.wbGetEntities(String ids,
String sites,
String titles,
String props,
String languages,
String sitefilter)
Creates a map of identifiers or page titles to documents retrieved via
the API.
|
Map<String,EntityDocument> |
WbGetEntitiesAction.wbGetEntities(WbGetEntitiesActionData properties)
Creates a map of identifiers or page titles to documents retrieved via
the API URL
|
Modifier and Type | Method and Description |
---|---|
EntityDocument |
WikibaseDataEditor.createEntityDocument(EntityDocument document,
String summary,
List<String> tags)
Creates new entity document.
|
Copyright © 2014–2024 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage