|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FacetsService
Method Summary | |
---|---|
void |
addFacetTypeToTopic(long topicId,
String facetTypeUri)
|
Topic |
getFacet(DeepaMehtaObject object,
String facetTypeUri)
Retrieves a facet. |
Topic |
getFacet(long topicId,
String facetTypeUri)
|
List<RelatedTopic> |
getFacets(DeepaMehtaObject object,
String facetTypeUri)
Retrieves a multi-facet. |
boolean |
hasFacet(long topicId,
String facetTypeUri,
long facetTopicId)
|
void |
updateFacet(DeepaMehtaObject object,
String facetTypeUri,
TopicModel facetValue,
ClientState clientState,
Directives directives)
Updates a facet. |
void |
updateFacets(DeepaMehtaObject object,
String facetTypeUri,
List<? extends TopicModel> facetValues,
ClientState clientState,
Directives directives)
Updates a multi-facet. |
Method Detail |
---|
Topic getFacet(long topicId, String facetTypeUri)
Topic getFacet(DeepaMehtaObject object, String facetTypeUri)
object
- The facetted object: a topic, association, a type ...facetTypeUri
- URI of the facet type.
List<RelatedTopic> getFacets(DeepaMehtaObject object, String facetTypeUri)
object
- The facetted object: a topic, association, a type ...facetTypeUri
- URI of the facet type.
void addFacetTypeToTopic(long topicId, String facetTypeUri)
void updateFacet(DeepaMehtaObject object, String facetTypeUri, TopicModel facetValue, ClientState clientState, Directives directives)
object
- The facetted object: a topic, association, a type ...facetTypeUri
- URI of the facet type.facetValue
- The new facet value.directives
- Must be not null at least for aggregated facets ### FIXME: directives are ignoredvoid updateFacets(DeepaMehtaObject object, String facetTypeUri, List<? extends TopicModel> facetValues, ClientState clientState, Directives directives)
object
- The facetted object: a topic, association, a type ...facetTypeUri
- URI of the facet type.facetValues
- The new facet values.directives
- Must be not null at least for aggregated facets ### FIXME: directives are ignoredboolean hasFacet(long topicId, String facetTypeUri, long facetTopicId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |