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 Summary
Modifier and TypeMethodDescriptionvoid
addDbViewScope
(IDtProject project, org.eclipse.xtext.scoping.IScope dbViewScope) void
clearDbViewScopes
(IDtProject project) ClearDbViewElement
scope for projectvoid
clearScopes
(String querySchemaText) Deletes all cached values ofIScope
by text ofQuerySchema
org.eclipse.xtext.scoping.IScope
getDbViewScope
(IDtProject project) org.eclipse.xtext.scoping.IScope
void
setDbViewScope
(String querySchemaText, String operatorText, org.eclipse.xtext.scoping.IScope scope) Sets new value ofIScope
-
Method Details
-
clearDbViewScopes
ClearDbViewElement
scope for project- Parameters:
project
-IProject
for clearing cached scope, can't benull
-
clearScopes
Deletes all cached values ofIScope
by text ofQuerySchema
- Parameters:
querySchemaText
- text ofQuerySchema
for deleting cachedIScope
, can't benull
-
getScope
- Parameters:
querySchemaText
- corresponding to theQuerySchema
- the first key for caching scope, can't benull
operatorText
- corresponding to theQuerySchemaOperator
- the second key for caching scope, can't benull
- Returns:
IScope
of the caching elements corresponding to the scope, can benull
in case when there is no anything cached values
-
setDbViewScope
void setDbViewScope(String querySchemaText, String operatorText, org.eclipse.xtext.scoping.IScope scope) Sets new value ofIScope
- Parameters:
querySchemaText
- corresponding to theQuerySchema
- the first key for caching scope, can't benull
operatorText
- corresponding to theQuerySchemaOperator
- the second key for caching scope, can't benull
scope
-IScope
of the caching elements corresponding to the scope, can't benull
-
addDbViewScope
- Parameters:
project
- actual project, can't benull
dbViewScope
-IScope
corresponding to theDbViewElement
, can't benull
-
getDbViewScope
- Parameters:
project
- actualIProject
, can't benull
- Returns:
IScope
corresponding to theDbViewElement
ornull
if scope wasn't cached for this project
-