Interface FacetValueModel

    • Method Detail

      • set

        FacetValueModel set​(Object value)
        Convenience method to put a *simple* value in a single-valued facet.
      • setRef

        FacetValueModel setRef​(long refTopicId)
        Puts a by-ID topic reference in a single-valued facet. An existing reference is overwritten.
      • setRef

        FacetValueModel setRef​(String refTopicUri)
        Puts a by-URI topic reference in a single-valued facet. An existing reference is overwritten.
      • setDeletionRef

        FacetValueModel setDeletionRef​(long refTopicId)
        Puts a by-ID topic deletion reference in a single-valued facet. An existing value is overwritten.
      • setDeletionRef

        FacetValueModel setDeletionRef​(String refTopicUri)
        Puts a by-URI topic deletion reference in a single-valued facet. An existing value is overwritten.
      • addRef

        FacetValueModel addRef​(long refTopicId)
        Adds a by-ID topic reference to a multiple-valued facet.
      • addRef

        FacetValueModel addRef​(String refTopicUri)
        Adds a by-URI topic reference to a multiple-valued facet.
      • addDeletionRef

        FacetValueModel addDeletionRef​(long assocId)
        Adds a topic deletion reference to a multiple-valued facet. Note: the topic to be deleted is referred to by association ID. The topic might occur several times in the same multi-value, so topic ID/URI would not be unique.