|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.isi.powerloom.gui.serverinterface.LocalServerImpl
Local implementation of client/server interface. Currently this does nothing, but eventually it could communicate directly with an in-process version of powerloom.
| Constructor Summary | |
LocalServerImpl()
|
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LocalServerImpl()
| Method Detail |
public PLModuleContainer getModules()
throws AppException
getModules in interface ServerInterfaceAppException
public PLConceptContainer getConceptsForModule(PLString modName)
throws AppException
getConceptsForModule in interface ServerInterfaceAppException
public PLInstanceContainer getInstancesForModule(PLString modName)
throws AppException
getInstancesForModule in interface ServerInterfaceAppException
public PLRelationContainer getRelationsForModule(PLString modName)
throws AppException
getRelationsForModule in interface ServerInterfaceAppException
public PLInstanceContainer getInstancesForConcept(PLString modName,
PLString conceptName)
getInstancesForConcept in interface ServerInterface
public PLInstanceContainer getDirectInstancesForConcept(PLString modName,
PLString conceptName)
getDirectInstancesForConcept in interface ServerInterface
public PLString getDocumentationForConcept(PLString modName,
PLString conceptName)
throws AppException
getDocumentationForConcept in interface ServerInterfaceAppException
public PLString getSourceForConcept(PLString modName,
PLString conceptName)
throws AppException
getSourceForConcept in interface ServerInterfaceAppException
public PLSurrogateCollection getSuperConceptsForConcept(PLString modName,
PLString conceptName)
throws AppException
getSuperConceptsForConcept in interface ServerInterfaceAppException
public PLPropositionContainer getPropositionsForInstance(PLString modName,
PLString instanceName)
getPropositionsForInstance in interface ServerInterface
public PLRelationContainer getRelationsForConcept(PLString modName,
PLString conceptName)
throws AppException
getRelationsForConcept in interface ServerInterfaceAppException
public PLRelationContainer getInheritedRelationsForConcept(PLString modName,
PLString conceptName)
throws AppException
getInheritedRelationsForConcept in interface ServerInterfaceAppException
public PLPropositionContainer getPropositionsForConcept(PLString modName,
PLString conceptName)
throws AppException
getPropositionsForConcept in interface ServerInterfaceAppException
public PLPropositionContainer getPropositionsForRelation(PLString modName,
PLString relationName)
throws AppException
getPropositionsForRelation in interface ServerInterfaceAppException
public PLPropositionContainer getRulesForConcept(PLString modName,
PLString conceptName)
throws AppException
getRulesForConcept in interface ServerInterfaceAppException
public PLPropositionContainer getRulesForRelation(PLString modName,
PLString relationName)
throws AppException
getRulesForRelation in interface ServerInterfaceAppException
public PLPropositionContainer getPropositionsForInstanceAndRelation(PLString modName,
PLString instanceName,
PLString relationName)
throws AppException
getPropositionsForInstanceAndRelation in interface ServerInterfaceAppException
public PLString evaluateLogicCommand(PLString modName,
PLString command)
throws AppException
evaluateLogicCommand in interface ServerInterfaceAppException
public PLString getDocumentationForRelation(PLString mod,
PLString rel)
throws AppException
getDocumentationForRelation in interface ServerInterfacemod - edu.isi.powerloom.gui.xmlobject.PLModulerel - edu.isi.powerloom.gui.xmlobject.PLRelation
AppException - The exception description.
public PLSurrogateCollection getSuperRelationsForRelation(PLString modName,
PLString conceptName)
throws AppException
getSuperRelationsForRelation in interface ServerInterfacemodName - edu.isi.powerloom.gui.xmlobject.PLStringconceptName - edu.isi.powerloom.gui.xmlobject.PLString
AppException - The exception description.
public PLVariableList getVariablesForRelation(PLString modName,
PLString conceptName)
throws AppException
getVariablesForRelation in interface ServerInterfaceAppException
public void clearKB(PLModule mod)
throws AppException
clearKB in interface ServerInterfacemod - edu.isi.powerloom.gui.xmlobject.PLModule
AppException - The exception description.
public PLString getDocumentationForInstance(PLString mod,
PLString rel)
throws AppException
getDocumentationForInstance in interface ServerInterfacemod - edu.isi.powerloom.gui.xmlobject.PLModulerel - edu.isi.powerloom.gui.xmlobject.PLRelation
AppException - The exception description.
public PLSurrogateCollection getIncludesForModule(PLString modName)
throws AppException
getIncludesForModule in interface ServerInterfacemodName - edu.isi.powerloom.gui.xmlobject.PLString
AppException - The exception description.
public PLModuleFileList getLoadableKBs()
throws AppException
getLoadableKBs in interface ServerInterfaceAppException - The exception description.
public PLSurrogateCollection getShadowedSurrogatesForModule(PLString modName)
throws AppException
getShadowedSurrogatesForModule in interface ServerInterfacemodName - edu.isi.powerloom.gui.xmlobject.PLString
AppException - The exception description.
public PLSurrogateCollection getTypesForInstance(PLString modName,
PLString instanceName)
throws AppException
getTypesForInstance in interface ServerInterfacemodName - edu.isi.powerloom.gui.xmlobject.PLStringinstanceName - edu.isi.powerloom.gui.xmlobject.PLString
AppException - The exception description.
public PLString loadKB(PLString kbName)
throws AppException
loadKB in interface ServerInterfacekbName - edu.isi.powerloom.gui.xmlobject.PLString
AppException - The exception description.
public PLSurrogateCollection getUsesForModule(PLString modName)
throws AppException
getUsesForModule in interface ServerInterfacemodName - edu.isi.powerloom.gui.xmlobject.PLString
AppException - The exception description.
public PLString loadKB2(PLString fileName)
throws AppException
loadKB2 in interface ServerInterfaceAppException
public PLString saveKB(PLString modName,
PLString kbName,
PLString description)
throws AppException
saveKB in interface ServerInterfacemodName - edu.isi.powerloom.gui.xmlobject.PLStringkbName - edu.isi.powerloom.gui.xmlobject.PLStringdescription - edu.isi.powerloom.gui.xmlobject.PLString
AppException - The exception description.
public PLString saveKB2(PLString modName,
PLString fileName)
throws AppException
saveKB2 in interface ServerInterfaceAppException
public PLQueryResult query(PLQuery query,
PLString continueFlag)
throws AppException
query in interface ServerInterfaceAppException
public PLSearchResult search(PLSearchParameter searchParameter)
throws AppException
search in interface ServerInterfaceAppException
public PLDirectoryContents getDefaultDirectoryListing(PLString extensionFilter)
throws AppException
getDefaultDirectoryListing in interface ServerInterfaceAppException
public PLDirectoryContents getDirectoryListing(PLString currentDir,
PLString extensionFilter)
throws AppException
getDirectoryListing in interface ServerInterfaceAppException
public PLQueryResult getExtensionForRelation(PLString modName,
PLString relation)
throws AppException
getExtensionForRelation in interface ServerInterfaceAppException
public PLRelationContainer getRelation(PLString modName,
PLString relation)
throws AppException
getRelation in interface ServerInterfaceAppException
public PLConceptContainer getConcept(PLString modName,
PLString concept)
throws AppException
getConcept in interface ServerInterfaceAppException
public PLInstanceContainer getInstance(PLString modName,
PLString instance)
throws AppException
getInstance in interface ServerInterfaceAppException
public PLRelationContainer getRelationCompletions(PLString modName,
PLString prefix)
throws AppException
getRelationCompletions in interface ServerInterfaceAppException
public PLConceptContainer getConceptCompletions(PLString modName,
PLString prefix)
throws AppException
getConceptCompletions in interface ServerInterfaceAppException
public PLInstanceContainer getInstanceCompletions(PLString modName,
PLString prefix)
throws AppException
getInstanceCompletions in interface ServerInterfaceAppException
public PLString destroyObject(PLString modName,
PLString objectName)
throws AppException
destroyObject in interface ServerInterfaceAppException
public PLString getExplanationForQuery(PLQuery query,
PLString resultNum)
throws AppException
getExplanationForQuery in interface ServerInterfaceAppException
public PLServerInfo getServerInfo()
throws AppException
getServerInfo in interface ServerInterfaceAppException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||