Package com._1c.g5.v8.dt.ql.scoping
Interface IQlCachedScopeProvider
- 
- All Known Implementing Classes:
- QlCachedScopeProvider
 
 public interface IQlCachedScopeProviderSpecial provider for caching values ofIScopegetting fromQlScopeProvider.
 This class provides only values ofIScopedepending from ql query text
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddDbViewScope(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.IScopegetScope(String querySchemaText, String operatorText)voidsetDbViewScope(String querySchemaText, String operatorText, org.eclipse.xtext.scoping.IScope scope)Sets new value ofIScope
 
- 
- 
- 
Method Detail- 
clearDbViewScopesvoid clearDbViewScopes(IDtProject project) ClearDbViewElementscope for project- Parameters:
- project-- IProjectfor clearing cached scope, can't be- null
 
 - 
clearScopesvoid clearScopes(String querySchemaText) Deletes all cached values ofIScopeby text ofQuerySchema- Parameters:
- querySchemaText- text of- QuerySchemafor deleting cached- IScope, can't be- null
 
 - 
getScopeorg.eclipse.xtext.scoping.IScope getScope(String querySchemaText, String operatorText) - 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
 
 - 
addDbViewScopevoid addDbViewScope(IDtProject project, org.eclipse.xtext.scoping.IScope dbViewScope) - Parameters:
- project- actual project, can't be- null
- dbViewScope-- IScopecorresponding to the- DbViewElement, can't be- null
 
 - 
getDbViewScopeorg.eclipse.xtext.scoping.IScope getDbViewScope(IDtProject project) - Parameters:
- project- actual- IProject, can't be- null
- Returns:
- IScopecorresponding to the- DbViewElementor- nullif scope wasn't cached for this project
 
 
- 
 
-