| Package | Description |
|---|---|
| org.apache.stanbol.entityhub.servicesapi | |
| org.apache.stanbol.entityhub.servicesapi.site | |
| org.apache.stanbol.entityhub.servicesapi.yard |
| Modifier and Type | Method and Description |
|---|---|
Entity |
Entityhub.delete(String id)
Deletes the Entity with the parsed id.
|
void |
Entityhub.deleteAll()
Deletes all Entities and their Mappings from the Entityhub.
|
QueryResultList<Representation> |
Entityhub.find(FieldQuery query)
Searches for symbols based on the parsed
FieldQuery and returns
representations as defined by the selected fields of the query. |
QueryResultList<Entity> |
Entityhub.findEntities(FieldQuery query)
Searches for Signs based on the parsed
FieldQuery and returns
the selected Signs including the whole representation. |
QueryResultList<String> |
Entityhub.findEntityReferences(FieldQuery query)
Searches for symbols based on the parsed
FieldQuery and returns
the references (ids). |
Entity |
Entityhub.getEntity(String entityId)
Getter for an Entity managed by the Entityhub.
|
Entity |
Entityhub.getMappingById(String id)
Getter for a MappedEntity based on the ID of the mapping itself.
|
Entity |
Entityhub.getMappingBySource(String source)
Getter for all mappings by the ID of the source.
|
Collection<Entity> |
Entityhub.getMappingsByTarget(String entityId)
Getter for all the mappings by the id of the target.
|
Entity |
Entityhub.importEntity(String reference)
Imports an Entity from a referenced site to the Entityhub.
|
boolean |
Entityhub.isRepresentation(String id)
Checks if an Entity with the parsed id is managed by the Entityhub.
|
Entity |
Entityhub.lookupLocalEntity(String reference)
Getter for the locally managed Entity based on a reference to a
Entity. |
Entity |
Entityhub.lookupLocalEntity(String reference,
boolean create)
Getter for the locally managed Entity based on a reference to a
Entity. |
Entity |
Entityhub.setState(String id,
ManagedEntityState state)
Setter for the state of an Entity.
|
Entity |
Entityhub.store(Representation representation)
Stores (create or updates) the parsed representation within the Entityhub.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ManagedSiteException |
class |
SiteException
Replaces the ReferencedSiteException in Entityhub versions later than
0.10.0-incubationg.
|
| Modifier and Type | Class and Description |
|---|---|
class |
YardException
Used to indicate an error while performing an operation on a yard
|
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.