Package com._1c.g5.v8.dt.bm.index.rights
Interface IBmRightsIndexManager
-
public interface IBmRightsIndexManager
The rights index manager to manage theIBmRightsIndexProvider
lifecycle.- See Also:
IBmRightsIndexProvider
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IBmRightsIndexProvider
addRightsIndexProvider(IDtProject project, boolean cleanRestart)
Adds a new rights index provider for the given project.IBmRightsIndexProvider
getRightsIndexProvider(IDtProject project)
Gets a specific rights index provider bound to the provided project.IBmRightsIndexProvider
getRightsIndexProvider(org.eclipse.core.resources.IProject project)
Gets a specific rights index provider bound to the provided project.void
removeRightsIndexProvider(IDtProject project, boolean cleanIndexData)
Removes an existing provider from the manager control.
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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 benull
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 benull
- 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 benull
- 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 benull
cleanIndexData
-true
if need to clean the index data,false
otherwise
-
-