public class FacetsPlugin extends systems.dmx.core.osgi.PluginActivator implements FacetsService
| Constructor and Description |
|---|
FacetsPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFacetTypeToTopic(long topicId,
String facetTypeUri) |
systems.dmx.core.RelatedTopic |
getFacet(systems.dmx.core.DMXObject object,
String facetTypeUri)
Retrieves a facet value.
|
systems.dmx.core.RelatedTopic |
getFacet(long topicId,
String facetTypeUri) |
List<systems.dmx.core.RelatedTopic> |
getFacets(systems.dmx.core.DMXObject object,
String facetTypeUri)
Retrieves the values of a multi-facet.
|
List<systems.dmx.core.RelatedTopic> |
getFacets(long topicId,
String facetTypeUri) |
systems.dmx.core.Topic |
getFacettedTopic(long topicId,
List<String> facetTypeUris) |
boolean |
hasFacet(long topicId,
String facetTypeUri,
long facetTopicId) |
void |
updateFacet(systems.dmx.core.DMXObject object,
String facetTypeUri,
systems.dmx.core.model.facets.FacetValueModel value)
Updates a facet.
|
void |
updateFacet(long topicId,
String facetTypeUri,
systems.dmx.core.model.facets.FacetValueModel value) |
public systems.dmx.core.RelatedTopic getFacet(long topicId,
String facetTypeUri)
getFacet in interface FacetsServicepublic systems.dmx.core.RelatedTopic getFacet(systems.dmx.core.DMXObject object,
String facetTypeUri)
FacetsServicegetFacet in interface FacetsServiceobject - The facetted object: a topic, association, a type ...facetTypeUri - URI of the facet type.null if no such topic extists.public List<systems.dmx.core.RelatedTopic> getFacets(long topicId, String facetTypeUri)
getFacets in interface FacetsServicepublic List<systems.dmx.core.RelatedTopic> getFacets(systems.dmx.core.DMXObject object, String facetTypeUri)
FacetsServicegetFacets in interface FacetsServiceobject - The facetted object: a topic, association, a type ...facetTypeUri - URI of the facet type.public systems.dmx.core.Topic getFacettedTopic(long topicId,
List<String> facetTypeUris)
getFacettedTopic in interface FacetsServicepublic void addFacetTypeToTopic(long topicId,
String facetTypeUri)
addFacetTypeToTopic in interface FacetsServicepublic void updateFacet(long topicId,
String facetTypeUri,
systems.dmx.core.model.facets.FacetValueModel value)
updateFacet in interface FacetsServicepublic void updateFacet(systems.dmx.core.DMXObject object,
String facetTypeUri,
systems.dmx.core.model.facets.FacetValueModel value)
FacetsServiceupdateFacet in interface FacetsServiceobject - The facetted object: a topic, association, a type ...facetTypeUri - URI of the facet type.value - The new facet value.public boolean hasFacet(long topicId,
String facetTypeUri,
long facetTopicId)
hasFacet in interface FacetsServiceCopyright © 2023. All rights reserved.