Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.EntityDocument
Package
Description
Package for mostly static helper code to work with data objects.
Basic implementation for objects representing Wikibase data and related factories.
Interfaces for representing Wikibase data and related factories.
Components for accessing the Web API of a Wikibase website, such as wikidata.org.
-
Uses of EntityDocument in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionJsonDeserializer.deserializeEntityDocument
(String json) Deserializes a JSON string into aEntityDocument
.Modifier and TypeMethodDescriptionstatic 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.ModifierConstructorDescriptionprotected
EntityUpdateBuilder
(EntityDocument revision) Initializes new builder object for constructing update of given base entity revision. -
Uses of EntityDocument in org.wikidata.wdtk.datamodel.implementation
Modifier and TypeClassDescriptionclass
Abstract Jackson implementation ofEntityDocument
.class
Implementation ofEntityRedirectDocument
class
Jackson implementation ofFormDocument
.class
Jackson implementation ofItemDocument
.class
Jackson implementation ofLexemeDocument
.class
Jackson implementation ofMediaInfoDocument
.class
Jackson implementation ofPropertyDocument
.class
Jackson implementation ofSenseDocument
.class
Abstract Jackson implementation ofTermedDocument
andStatementDocument
. -
Uses of EntityDocument in org.wikidata.wdtk.datamodel.interfaces
Modifier and TypeInterfaceDescriptioninterface
Interface for entity redirect.interface
Interface for lexemes forms.interface
Interface for datasets that describe items.interface
Interface for EntityDocuments that can be described by labels in several languages.interface
This interface just joinsLabeledDocument
andStatementDocument
.interface
Interface for datasets that describe lexemes.interface
Interface for datasets that describe media entities.interface
Interface for datasets that describe properties.interface
Interface for lexemes senses.interface
Interface for EntityDocuments that can have statements.interface
Interface for EntityDocuments that can be described by terms in several languages.interface
This interface just joinsTermedDocument
andStatementDocument
.Modifier and TypeMethodDescriptionEntityDocument.withRevisionId
(long newRevisionId) Returns a copy of this document with an updated revision id. -
Uses of EntityDocument in org.wikidata.wdtk.wikibaseapi
Modifier and TypeMethodDescription<T extends EntityDocument>
TWikibaseDataEditor.nullEdit
(T currentDocument) Performs a null edit on an entity.Modifier and TypeMethodDescriptionWikibaseDataEditor.createEntityDocument
(EntityDocument document, String summary, List<String> tags) Creates new entity document.WikibaseDataFetcher.getEntityDocument
(String entityId) Fetches the documents for the entity of the given string IDs.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 REFACTOREDWbEditingAction.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 TypeMethodDescriptionWikibaseDataFetcher.getEntityDocuments
(String... entityIds) Fetches the documents for the entities of the given string IDs.WikibaseDataFetcher.getEntityDocuments
(List<String> entityIds) Fetches the documents for the entities of the given string IDs.WikibaseDataFetcher.getEntityDocumentsByTitle
(String siteKey, String... titles) Fetches the documents for the entities that have pages of the given titles on the given site.WikibaseDataFetcher.getEntityDocumentsByTitle
(String siteKey, List<String> titles) Fetches the documents for the entities that have pages of the given titles on the given site.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.WbGetEntitiesAction.wbGetEntities
(WbGetEntitiesActionData properties) Creates a map of identifiers or page titles to documents retrieved via the API URLModifier and TypeMethodDescriptionWikibaseDataEditor.createEntityDocument
(EntityDocument document, String summary, List<String> tags) Creates new entity document.