|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SiteManager
| Method Summary | |
|---|---|
QueryResultList<Representation> |
find(FieldQuery query)
Searches for Entities based on the parsed query and returns representations including the selected fields and filtered values |
QueryResultList<Entity> |
findEntities(FieldQuery query)
Returns the Entities that confirm to the parsed Query |
QueryResultList<String> |
findIds(FieldQuery query)
Searches for Entities based on the parsed query and returns the ids. |
InputStream |
getContent(String entity,
String contentType)
Getter for the content of the entity |
Entity |
getEntity(String reference)
Getter for the Entity referenced by the parsed ID. |
Site |
getSite(String id)
Getter for the referenced site based on the id |
Collection<String> |
getSiteIds()
Getter for the Id's of all active referenced sites |
Collection<Site> |
getSitesByEntityPrefix(String entityUri)
Getter for Sites that manages entities with the given ID. |
boolean |
isReferred(String id)
Returns if a site with the parsed id is referenced |
| Method Detail |
|---|
boolean isReferred(String id)
baseUri - the base URI
true if a site with the parsed ID is present.
Otherwise false.Site getSite(String id)
baseUri - the base URI of the referred Site
Site or null if no site is
present for the parsed base ID.Collection<Site> getSitesByEntityPrefix(String entityUri)
entityUri - the ID of the entity
Entity getEntity(String reference)
id - the id of the entity
null if not foundQueryResultList<Entity> findEntities(FieldQuery query)
query - the query
QueryResultList<Representation> find(FieldQuery query)
query - The query
QueryResultList<String> findIds(FieldQuery query)
query - The query
InputStream getContent(String entity,
String contentType)
entity - the id of the entitycontentType - the content type
InputStream or null if no
entity with this ID is known by the Entityhub or no representation for
the requested entity is available for the parsed content typeCollection<String> getSiteIds()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||