Interface IBmRightsIndexManager

All Known Implementing Classes:
BmRightsIndexManager

public interface IBmRightsIndexManager
The rights index manager to manage the IBmRightsIndexProvider lifecycle.
See Also:
  • Field Details

  • Method Details

    • addRightsIndexProvider

      IBmRightsIndexProvider addRightsIndexProvider(IDtProject project, boolean cleanRestart)
      Adds a new rights index provider for the given project.
      Parameters:
      project - the project to associate provider with, can not be null
      cleanRestart - Denotes the necessity of the clean restart. All persisted state should be wiped out prior the start.
      Returns:
      a newly created provider instance, can not be null
    • getRightsIndexProvider

      IBmRightsIndexProvider getRightsIndexProvider(org.eclipse.core.resources.IProject project)
      Gets a specific rights index provider bound to the provided project.
      Parameters:
      project - the project to get provider for, can not be null
      Returns:
      the rights index provider, may be null
    • getRightsIndexProvider

      IBmRightsIndexProvider getRightsIndexProvider(IDtProject project)
      Gets a specific rights index provider bound to the provided project.
      Parameters:
      project - the project to get provider for, can not be null
      Returns:
      the rights index provider, may be null
    • removeRightsIndexProvider

      void removeRightsIndexProvider(IDtProject project, boolean cleanIndexData)
      Removes an existing provider from the manager control.
      Parameters:
      project - the project to remove provider for, can not be null
      cleanIndexData - true if need to clean the index data, false otherwise