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 forDcsDataSetInfoV8LocalQuerywhen Dcs editor was opened
-
-
Constructor Summary
Constructors Constructor Description DcsDataSetInfoLocalQueryCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDataSetInfo(DataCompositionSchemaDataSetQuery dataSet, DcsDataSetInfoV8LocalQuery dataSetInfo)Adds newDcsDataSetInfoV8LocalQueryfor concreteDataCompositionSchemaDataSetQuery.voidclearAll()Clears all cache valuesDcsDataSetInfoV8LocalQuerygetDataSetInfo(DataCompositionSchemaDataSetQuery dataSet)Gets caching value ofDcsDataSetInfoV8LocalQueryvoidremoveDataSetInfo(DataCompositionSchemaDataSetQuery dataSet)Remove cache value
-
-
-
Method Detail
-
addDataSetInfo
public void addDataSetInfo(DataCompositionSchemaDataSetQuery dataSet, DcsDataSetInfoV8LocalQuery dataSetInfo)
Adds newDcsDataSetInfoV8LocalQueryfor concreteDataCompositionSchemaDataSetQuery. Important thatDataCompositionSchemaDataSetQuerywas in Bm model otherwise theDcsDataSetInfoV8LocalQuerywill not be added to cache- Parameters:
dataSet- key for the caching value, cannot benulland 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:
DcsDataSetInfoV8LocalQueryornullif 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
-
-