public interface ModuleMetadataRepository
ModuleMetadata so that it survives database restarts.| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAllModuleIds()
Get IDs of all modules, for which metadata has been persisted by this repository.
|
<M extends ModuleMetadata> |
getModuleMetadata(RuntimeModule module)
Get the metadata of a module that has previously been presisted.
|
<M extends ModuleMetadata> |
getModuleMetadata(String moduleId)
Get the metadata of a module that has previously been presisted.
|
<M extends ModuleMetadata> |
persistModuleMetadata(RuntimeModule module,
M metadata)
Persist metadata of a module.
|
<M extends ModuleMetadata> |
persistModuleMetadata(String moduleId,
M metadata)
Persist metadata of a module.
|
void |
removeModuleMetadata(String moduleId)
Remove persisted metadata for a module.
|
<M extends ModuleMetadata> M getModuleMetadata(RuntimeModule module)
M - type of the metadata.module - to get metadata for.<M extends ModuleMetadata> M getModuleMetadata(String moduleId)
M - type of the metadata.moduleId - to get metadata for.<M extends ModuleMetadata> void persistModuleMetadata(RuntimeModule module, M metadata)
M - type of the metadata.module - for which to persist metadata.metadata - to persist.<M extends ModuleMetadata> void persistModuleMetadata(String moduleId, M metadata)
M - type of the metadata.moduleId - for which to persist metadata.metadata - to persist.Set<String> getAllModuleIds()
void removeModuleMetadata(String moduleId)
moduleId - ID of the module for which to remove previously persisted metadata. Nothing happens if no such
metadata exists.Copyright © 2013-2016–2018 Graph Aware Limited. All rights reserved.