Class UserRepository

    • Constructor Detail

      • UserRepository

        public UserRepository​(Profile profile)
        Constructor.
        Parameters:
        profile - The profile of the user whose data we are indexing.
    • Method Detail

      • handleTagAddition

        protected void handleTagAddition​(TaggingEvent e)
        Description copied from class: SearchRepository
        Respond in some way to the addition of a tag to a web searchable object.
        Specified by:
        handleTagAddition in class SearchRepository
        Parameters:
        e - The notification of the change event.
      • handleTagRemoval

        protected void handleTagRemoval​(TaggingEvent e)
        Description copied from class: SearchRepository
        Respond in some way to the removal of a tag from a web searchable object.
        Specified by:
        handleTagRemoval in class SearchRepository
        Parameters:
        e - The notification of the change event.
      • populateSearchItems

        protected void populateSearchItems()
        Description copied from class: SearchRepository
        Collect the search items we are interested in initially. The profile associated with this repository is a good place to start looking, but each implementation may decide it is interested in a different subset of the available objects.
        Specified by:
        populateSearchItems in class SearchRepository
      • handleMassTagging

        protected void handleMassTagging()
        Description copied from class: SearchRepository
        Respond to the fact that multiple tags have been added and that we do not know what they are.
        Specified by:
        handleMassTagging in class SearchRepository
      • updateUserRepositoryWithSharedBags

        public void updateUserRepositoryWithSharedBags()
        Update the user repository with the shared bags