Package com._1c.g5.v8.dt.bm.index.rights
Interface IBmRightsIndexManager
-
public interface IBmRightsIndexManagerThe rights index manager to manage theIBmRightsIndexProviderlifecycle.- See Also:
IBmRightsIndexProvider
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IBmRightsIndexProvideraddRightsIndexProvider(IDtProject project, boolean cleanRestart)Adds a new rights index provider for the given project.IBmRightsIndexProvidergetRightsIndexProvider(IDtProject project)Gets a specific rights index provider bound to the provided project.IBmRightsIndexProvidergetRightsIndexProvider(org.eclipse.core.resources.IProject project)Gets a specific rights index provider bound to the provided project.voidremoveRightsIndexProvider(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 benullcleanRestart- 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 benullcleanIndexData-trueif need to clean the index data,falseotherwise
-
-