Package com._1c.g5.v8.dt.ql.scoping
Interface IQlCachedScopeProvider
- All Known Implementing Classes:
- QlCachedScopeProvider
public interface IQlCachedScopeProvider
Special provider for caching values of 
This class provides only values of
IScope getting from QlScopeProvider. This class provides only values of
IScope depending from ql query text- 
Method SummaryModifier and TypeMethodDescriptionvoidaddDbViewScope(IDtProject project, org.eclipse.xtext.scoping.IScope dbViewScope) voidclearDbViewScopes(IDtProject project) ClearDbViewElementscope for projectvoidclearScopes(String querySchemaText) Deletes all cached values ofIScopeby text ofQuerySchemaorg.eclipse.xtext.scoping.IScopegetDbViewScope(IDtProject project) org.eclipse.xtext.scoping.IScopevoidsetDbViewScope(String querySchemaText, String operatorText, org.eclipse.xtext.scoping.IScope scope) Sets new value ofIScope
- 
Method Details- 
clearDbViewScopesClearDbViewElementscope for project- Parameters:
- project-- IProjectfor clearing cached scope, can't be- null
 
- 
clearScopesDeletes all cached values ofIScopeby text ofQuerySchema- Parameters:
- querySchemaText- text of- QuerySchemafor deleting cached- IScope, can't be- null
 
- 
getScope- Parameters:
- querySchemaText- corresponding to the- QuerySchema- the first key for caching scope, can't be- null
- operatorText- corresponding to the- QuerySchemaOperator- the second key for caching scope, can't be- null
- Returns:
- IScopeof the caching elements corresponding to the scope, can be- nullin case when there is no anything cached values
 
- 
setDbViewScopevoid setDbViewScope(String querySchemaText, String operatorText, org.eclipse.xtext.scoping.IScope scope) Sets new value ofIScope- Parameters:
- querySchemaText- corresponding to the- QuerySchema- the first key for caching scope, can't be- null
- operatorText- corresponding to the- QuerySchemaOperator- the second key for caching scope, can't be- null
- scope-- IScopeof the caching elements corresponding to the scope, can't be- null
 
- 
addDbViewScope- Parameters:
- project- actual project, can't be- null
- dbViewScope-- IScopecorresponding to the- DbViewElement, can't be- null
 
- 
getDbViewScope- Parameters:
- project- actual- IProject, can't be- null
- Returns:
- IScopecorresponding to the- DbViewElementor- nullif scope wasn't cached for this project
 
 
-