Package com._1c.g5.v8.dt.dcs
Class DcsDataSetInfoLocalQueryCache
- java.lang.Object
-
- com._1c.g5.v8.dt.dcs.DcsDataSetInfoLocalQueryCache
-
public class DcsDataSetInfoLocalQueryCache extends Object
Cache forDcsDataSetInfoV8LocalQuery
when Dcs editor was opened
-
-
Constructor Summary
Constructors Constructor Description DcsDataSetInfoLocalQueryCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDataSetInfo(DataCompositionSchemaDataSetQuery dataSet, DcsDataSetInfoV8LocalQuery dataSetInfo)
Adds newDcsDataSetInfoV8LocalQuery
for concreteDataCompositionSchemaDataSetQuery
.void
clearAll()
Clears all cache valuesDcsDataSetInfoV8LocalQuery
getDataSetInfo(DataCompositionSchemaDataSetQuery dataSet)
Gets caching value ofDcsDataSetInfoV8LocalQuery
void
removeDataSetInfo(DataCompositionSchemaDataSetQuery dataSet)
Remove cache value
-
-
-
Method Detail
-
addDataSetInfo
public void addDataSetInfo(DataCompositionSchemaDataSetQuery dataSet, DcsDataSetInfoV8LocalQuery dataSetInfo)
Adds newDcsDataSetInfoV8LocalQuery
for concreteDataCompositionSchemaDataSetQuery
. Important thatDataCompositionSchemaDataSetQuery
was in Bm model otherwise theDcsDataSetInfoV8LocalQuery
will not be added to cache- Parameters:
dataSet
- key for the caching value, cannot benull
and should be in Bm modeldataSetInfo
- caching value, cannot benull
-
getDataSetInfo
public DcsDataSetInfoV8LocalQuery getDataSetInfo(DataCompositionSchemaDataSetQuery dataSet)
Gets caching value ofDcsDataSetInfoV8LocalQuery
- Parameters:
dataSet
- key for getting caching value, cannot benull
- Returns:
DcsDataSetInfoV8LocalQuery
ornull
if there is no cache value
-
removeDataSetInfo
public void removeDataSetInfo(DataCompositionSchemaDataSetQuery dataSet)
Remove cache value- Parameters:
dataSet
- dataSet key for removing cache value, cannot benull
-
clearAll
public void clearAll()
Clears all cache values
-
-