Package com._1c.g5.v8.dt.dcs.util
Class DcsTypeCacheManager
- java.lang.Object
-
- com._1c.g5.v8.dt.dcs.util.DcsTypeCacheManager
-
@LifecycleService(name="DCS_TYPE_CACHE_MANAGER") public class DcsTypeCacheManager extends Object
DCS-specific type cache manager
-
-
Constructor Summary
Constructors Constructor Description DcsTypeCacheManager(IBmModelManager bmModelManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<UUID,TypeItem>
getDefinedTypesToUuid(IDtProject dtProject)
Gets the defined types mapped to their UUID'svoid
onStorageClosing(ProjectContext context)
Performs cleanup during the storage closing LC stagevoid
onStorageInitialization(ProjectContext context)
Performs data initialization during the LC storage initialization phase
-
-
-
Constructor Detail
-
DcsTypeCacheManager
@Inject public DcsTypeCacheManager(IBmModelManager bmModelManager)
-
-
Method Detail
-
getDefinedTypesToUuid
public Map<UUID,TypeItem> getDefinedTypesToUuid(IDtProject dtProject)
Gets the defined types mapped to their UUID's- Parameters:
dtProject
- TheIDtProject
handle. May benull
- Returns:
- The mapped defined types. May be
null
-
onStorageClosing
@LifecycleParticipant(phase=STORAGE_CLOSING, dependsOn="BM_MODEL_MANAGER") public void onStorageClosing(ProjectContext context)
Performs cleanup during the storage closing LC stage- Parameters:
context
- The project context. May not benull
-
onStorageInitialization
@LifecycleParticipant(phase=STORAGE_INITIALIZATION, dependsOn="BM_MODEL_MANAGER") public void onStorageInitialization(ProjectContext context)
Performs data initialization during the LC storage initialization phase- Parameters:
context
- The project context. May not benull
-
-