public interface FacetsService
Modifier and Type | Method and Description |
---|---|
void |
addFacetTypeToTopic(long topicId,
String facetTypeUri) |
RelatedTopic |
getFacet(DeepaMehtaObject object,
String facetTypeUri)
Retrieves a facet value.
|
RelatedTopic |
getFacet(long topicId,
String facetTypeUri) |
List<RelatedTopic> |
getFacets(DeepaMehtaObject object,
String facetTypeUri)
Retrieves the values of a multi-facet.
|
List<RelatedTopic> |
getFacets(long topicId,
String facetTypeUri) |
Topic |
getFacettedTopic(long topicId,
List<String> facetTypeUris) |
boolean |
hasFacet(long topicId,
String facetTypeUri,
long facetTopicId) |
void |
updateFacet(DeepaMehtaObject object,
String facetTypeUri,
FacetValueModel value)
Updates a facet.
|
void |
updateFacet(long topicId,
String facetTypeUri,
FacetValueModel value) |
RelatedTopic getFacet(long topicId, String facetTypeUri)
RelatedTopic getFacet(DeepaMehtaObject object, String facetTypeUri)
object
- The facetted object: a topic, association, a type ...facetTypeUri
- URI of the facet type.null
if no such topic extists.List<RelatedTopic> getFacets(long topicId, String facetTypeUri)
List<RelatedTopic> getFacets(DeepaMehtaObject object, String facetTypeUri)
object
- The facetted object: a topic, association, a type ...facetTypeUri
- URI of the facet type.Topic getFacettedTopic(long topicId, List<String> facetTypeUris)
void addFacetTypeToTopic(long topicId, String facetTypeUri)
void updateFacet(long topicId, String facetTypeUri, FacetValueModel value)
void updateFacet(DeepaMehtaObject object, String facetTypeUri, FacetValueModel value)
object
- The facetted object: a topic, association, a type ...facetTypeUri
- URI of the facet type.facetValue
- The new facet value.Copyright © 2016. All Rights Reserved.