Class AdditionalURIsForClassGroupChanges

  • All Implemented Interfaces:
    IndexingUriFinder, ContextModelsUser

    public class AdditionalURIsForClassGroupChanges
    extends Object
    implements IndexingUriFinder, ContextModelsUser
    If a class changes classgroups, then all members of that class will have to be update in the search since the serach include the clasgroup membership of all individuals. Ex. when a statement like: sub='http://vivoweb.org/ontology/core#Summer' pred='http://vitro.mannlib.cornell.edu/ns/vitro/0.7#inClassGroup' obj='http://vivoweb.org/ontology#vitroClassGrouppeople' changes, all members of the class core:Summer need to be update so they get the new classgroup values.
    • Constructor Detail

      • AdditionalURIsForClassGroupChanges

        public AdditionalURIsForClassGroupChanges()
    • Method Detail

      • findAdditionalURIsToIndex

        public List<String> findAdditionalURIsToIndex​(org.apache.jena.rdf.model.Statement stmt)
        Description copied from interface: IndexingUriFinder
        For the domain that is the responsibility of the given implementation, calculate the URIs that need to be updated in the search index. The URIs in the list will be updated by the IndexBuilder, which will handle URIs of new individuals, URIs of individuals that have changes, and URIs of individuals that have been removed from the model.
        Specified by:
        findAdditionalURIsToIndex in interface IndexingUriFinder
        Returns:
        List of URIs. Never return null.
      • endIndexing

        public void endIndexing()
        Description copied from interface: IndexingUriFinder
        Indicates that the collection of statements being processed is complete.
        Specified by:
        endIndexing in interface IndexingUriFinder