public abstract class BaseCodeStore extends Object implements ICodeStore
CODE_EXTENSIONS, instance, moduleDbIds| Modifier | Constructor and Description |
|---|---|
protected |
BaseCodeStore(ICodeStore next) |
| Modifier and Type | Method and Description |
|---|---|
void |
collectStorableAttributes(Map<String,AttributeDeclaration> columns) |
Collection<String> |
fetchDeclarationNames() |
Collection<CategoryDeclaration> |
fetchDerivedCategoryDeclarations(Identifier id) |
Iterable<IDeclaration> |
fetchLatestDeclarations(String name) |
Resource |
fetchLatestResource(String path) |
IDeclaration |
fetchLatestSymbol(String name) |
protected abstract Module |
fetchModule(String name,
PromptoVersion version) |
Iterable<IDeclaration> |
fetchSpecificDeclarations(String name,
PromptoVersion version) |
Resource |
fetchSpecificResource(String path,
PromptoVersion version) |
IDeclaration |
fetchSpecificSymbol(String name,
PromptoVersion version) |
ISection |
findSection(ISection section) |
ICodeStore |
getNext() |
void |
setMainModule(String name,
PromptoVersion version) |
void |
setNext(ICodeStore next) |
void |
upgradeIfRequired() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddModuleDbId, dialectFromResourceName, dropModule, fetchAllModules, fetchApplication, fetchAttributeInfo, fetchBatch, fetchLibrary, fetchModule, fetchModuleDbId, fetchScript, fetchService, fetchThesaurus, getInstance, getModuleDbIds, getModuleDialect, getModuleName, getModuleType, getModuleVersion, parse, parse, parserForDialect, setInstance, storeDeclarations, storeDependency, storeModule, storeResourceprotected BaseCodeStore(ICodeStore next)
public ICodeStore getNext()
public void setNext(ICodeStore next)
public ISection findSection(ISection section)
findSection in interface ICodeStorepublic Collection<String> fetchDeclarationNames()
fetchDeclarationNames in interface ICodeStorepublic Iterable<IDeclaration> fetchLatestDeclarations(String name) throws PromptoError
fetchLatestDeclarations in interface ICodeStorePromptoErrorpublic Collection<CategoryDeclaration> fetchDerivedCategoryDeclarations(Identifier id)
fetchDerivedCategoryDeclarations in interface ICodeStorepublic Iterable<IDeclaration> fetchSpecificDeclarations(String name, PromptoVersion version) throws PromptoError
fetchSpecificDeclarations in interface ICodeStorePromptoErrorpublic Resource fetchLatestResource(String path) throws PromptoError
fetchLatestResource in interface ICodeStorePromptoErrorpublic Resource fetchSpecificResource(String path, PromptoVersion version)
fetchSpecificResource in interface ICodeStorepublic IDeclaration fetchLatestSymbol(String name) throws PromptoError
fetchLatestSymbol in interface ICodeStorePromptoErrorpublic IDeclaration fetchSpecificSymbol(String name, PromptoVersion version) throws PromptoError
fetchSpecificSymbol in interface ICodeStorePromptoErrorpublic void collectStorableAttributes(Map<String,AttributeDeclaration> columns) throws PromptoError
collectStorableAttributes in interface ICodeStorePromptoErrorpublic void setMainModule(String name, PromptoVersion version)
setMainModule in interface ICodeStoreprotected abstract Module fetchModule(String name, PromptoVersion version)
public void upgradeIfRequired()
upgradeIfRequired in interface ICodeStoreCopyright © 2020 Prompto. All rights reserved.