|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ManagedSite
Extends ReferencedSite by create/update/delete functionalities
| Field Summary |
|---|
| Fields inherited from interface org.apache.stanbol.entityhub.servicesapi.site.Site |
|---|
PROHIBITED_SITE_IDS |
| Method Summary | |
|---|---|
void |
delete(String id)
Deletes the Entity with the parsed id. |
void |
deleteAll()
Deletes all Entities and their Mappings from the Entityhub. |
void |
store(Iterable<Representation> representation)
Stores (create or updates) the parsed representations. |
void |
store(Representation representation)
Stores (create or updates) the parsed representation. |
| Methods inherited from interface org.apache.stanbol.entityhub.servicesapi.site.Site |
|---|
find, findEntities, findReferences, getConfiguration, getContent, getEntity, getFieldMapper, getId, getQueryFactory, supportsLocalMode, supportsSearch |
| Method Detail |
|---|
void store(Representation representation)
throws ManagedSiteException
representation - the representation to be stored/updated
ManagedSiteException - On any error while performing the operation
IllegalArgumentException - if null is parsed as
Representation.
void store(Iterable<Representation> representation)
throws ManagedSiteException
representation - the representation to be stored/updated
ManagedSiteException - On any error while performing the operation
IllegalArgumentException - if null is parsed
void delete(String id)
throws ManagedSiteException
#setState(String, ManagedEntityState) with
ManagedEntityState.removed as second parameter.
id - The id of the Entity to delete
EntityhubException - On any error while performing the operation
IllegalArgumentException - if null or an empty String
is parsed as id
ManagedSiteException
void deleteAll()
throws ManagedSiteException
EntityhubException - On any error while performing the operation
ManagedSiteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||