|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.isi.powerloom.gui.serverinterface.KnowledgeManager
Singleton Class which keeps track of knowledge imported from the server, including caching info.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static KnowledgeManager getInstance() throws AppException
AppException
public PLSurrogate findOrCreateSurrogate(java.lang.Class type, java.lang.String id)
public void initializeModules() throws AppException
AppException
public PLModule getRootModule()
public PLSurrogateContainer getModules()
public PLSurrogateContainer getModules(PLModule module)
public PLSurrogateContainer getConceptsForModule(PLModule module) throws AppException
AppException
public PLSurrogateContainer getInstancesForModule(PLModule module) throws AppException
AppException
public PLSurrogateContainer getRelationsForModule(PLModule module) throws AppException
AppException
public PLSurrogateContainer getInstancesForConcept(PLModule module, PLConcept concept) throws AppException
AppException
public PLSurrogateContainer getDirectInstancesForConcept(PLModule module, PLConcept concept) throws AppException
AppException
public java.lang.String getDocumentationForConcept(PLModule module, PLConcept concept) throws AppException
AppException
public java.lang.String getSourceForConcept(PLModule module, PLConcept concept) throws AppException
AppException
public PLSurrogateContainer getSuperConceptsForConcept(PLModule module, PLConcept concept) throws AppException
AppException
public PLSurrogateContainer getPropositionsForInstance(PLModule module, PLInstance instance) throws AppException
AppException
public PLSurrogateContainer getRelationsForConcept(PLModule module, PLConcept concept) throws AppException
AppException
public PLSurrogateContainer getInheritedRelationsForConcept(PLModule module, PLConcept concept) throws AppException
AppException
public PLSurrogateContainer getPropositionsForConcept(PLModule module, PLConcept concept) throws AppException
AppException
public PLSurrogateContainer getPropositionsForRelation(PLModule module, PLRelation relation) throws AppException
AppException
public PLSurrogateContainer getRulesForConcept(PLModule module, PLConcept concept) throws AppException
AppException
public PLSurrogateContainer getRulesForRelation(PLModule module, PLRelation relation) throws AppException
AppException
public PLSurrogateContainer getPropositionsForInstanceAndRelation(PLModule mod, PLInstance instance, PLRelation relation) throws AppException
AppException
public java.lang.String evaluateLogicCommand(PLModule mod, java.lang.String command) throws AppException
AppException
public PLQueryResult executeQuery(PLQuery query, boolean continueFlag) throws AppException
AppException
public PLQueryResult getExtensionForRelation(PLModule mod, java.lang.String relationName) throws AppException
AppException
public PLSearchResult executeSearch(java.lang.String modName, java.lang.String searchString, boolean isSearchConcept, boolean isSearchRelation, boolean isSearchInstance, boolean isCaseSensitive) throws AppException
AppException
public PLSurrogateContainer getConceptCompletions(java.lang.String modName, java.lang.String prefix) throws AppException
AppException
public PLSurrogateContainer getRelationCompletions(java.lang.String modName, java.lang.String prefix) throws AppException
AppException
public PLSurrogateContainer getInstanceCompletions(java.lang.String modName, java.lang.String prefix) throws AppException
AppException
public PLSurrogateContainer getConceptAndRelationCompletions(java.lang.String modName, java.lang.String prefix) throws AppException
AppException
public PLSurrogateContainer getConceptAndRelationAndInstanceCompletions(java.lang.String modName, java.lang.String prefix) throws AppException
AppException
public PLString destroyObject(PLModule module, java.lang.String objectName) throws AppException
AppException
public java.lang.String getExplanationForQuery(PLQuery query, int resultNum) throws AppException
AppException
public PLServerInfo getServerInfo() throws AppException
AppException
public void invalidateConceptCaches()
public void invalidateInstanceCaches()
public void invalidateRelationCaches()
public void invalidatePropositionCaches()
public void invalidateRuleCaches()
public void invalidateAllCaches()
public java.lang.String[] matchAllSurrogates(java.lang.String partialString)
public java.lang.String getDocumentationForRelation(PLModule module, PLRelation relation) throws AppException
AppException
public PLSurrogateContainer getSuperRelationsForRelation(PLModule module, PLConcept concept) throws AppException
AppException
public PLSurrogateContainer getSuperRelationsForRelation(PLModule module, PLRelation relation) throws AppException
AppException
public PLVariableList getVariablesForRelation(PLModule module, PLRelation relation) throws AppException
AppException
public PLSurrogateContainer getIncludesForModule(PLModule module) throws AppException
AppException
public PLSurrogateContainer getShadowedSurrogatesForModule(PLModule module) throws AppException
AppException
public PLSurrogateContainer getUsesForModule(PLModule module) throws AppException
AppException
public java.lang.String getDocumentationForInstance(PLModule module, PLInstance instance) throws AppException
AppException
public java.util.Collection getLoadableKBs() throws AppException
AppException
public void loadKB(java.lang.String kbName) throws AppException
AppException
public java.lang.String loadKB2(java.lang.String fileName) throws AppException
AppException
public void clearKB(PLModule mod) throws AppException
mod
- edu.isi.powerloom.gui.xmlobject.PLModule
AppException
- The exception description.public PLSurrogateContainer getTypesForInstance(PLModule module, PLInstance instance) throws AppException
AppException
public void saveKB(java.lang.String modName, java.lang.String kbName, java.lang.String description) throws AppException
AppException
public void saveKB2(java.lang.String modName, java.lang.String fileName) throws AppException
AppException
public PLDirectoryContents getDefaultDirectoryListing(java.lang.String extensionFilter) throws AppException
AppException
public PLDirectoryContents getDirectoryListing(java.lang.String dirName, java.lang.String extensionFilter) throws AppException
AppException
public PLRelation getRelationObject(PLModule module, java.lang.String relationName) throws AppException
AppException
public PLConcept getConceptObject(PLModule module, java.lang.String conceptName) throws AppException
AppException
public PLInstance getInstanceObject(PLModule module, java.lang.String instanceName) throws AppException
AppException
public PLObject getCurrentObject(java.lang.Class objectType, PLObject object) throws AppException
AppException
public PLObject getPLObject(PLModule module, java.lang.String objectName) throws AppException
AppException
public PLModule getModuleFromName(java.lang.String name) throws AppException
AppException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |