|
|||||||||||
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 ServerInterface
AppException
public PLConceptContainer getConceptsForModule(PLString modName) throws AppException
getConceptsForModule
in interface ServerInterface
AppException
public PLInstanceContainer getInstancesForModule(PLString modName) throws AppException
getInstancesForModule
in interface ServerInterface
AppException
public PLRelationContainer getRelationsForModule(PLString modName) throws AppException
getRelationsForModule
in interface ServerInterface
AppException
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 ServerInterface
AppException
public PLString getSourceForConcept(PLString modName, PLString conceptName) throws AppException
getSourceForConcept
in interface ServerInterface
AppException
public PLSurrogateCollection getSuperConceptsForConcept(PLString modName, PLString conceptName) throws AppException
getSuperConceptsForConcept
in interface ServerInterface
AppException
public PLPropositionContainer getPropositionsForInstance(PLString modName, PLString instanceName)
getPropositionsForInstance
in interface ServerInterface
public PLRelationContainer getRelationsForConcept(PLString modName, PLString conceptName) throws AppException
getRelationsForConcept
in interface ServerInterface
AppException
public PLRelationContainer getInheritedRelationsForConcept(PLString modName, PLString conceptName) throws AppException
getInheritedRelationsForConcept
in interface ServerInterface
AppException
public PLPropositionContainer getPropositionsForConcept(PLString modName, PLString conceptName) throws AppException
getPropositionsForConcept
in interface ServerInterface
AppException
public PLPropositionContainer getPropositionsForRelation(PLString modName, PLString relationName) throws AppException
getPropositionsForRelation
in interface ServerInterface
AppException
public PLPropositionContainer getRulesForConcept(PLString modName, PLString conceptName) throws AppException
getRulesForConcept
in interface ServerInterface
AppException
public PLPropositionContainer getRulesForRelation(PLString modName, PLString relationName) throws AppException
getRulesForRelation
in interface ServerInterface
AppException
public PLPropositionContainer getPropositionsForInstanceAndRelation(PLString modName, PLString instanceName, PLString relationName) throws AppException
getPropositionsForInstanceAndRelation
in interface ServerInterface
AppException
public PLString evaluateLogicCommand(PLString modName, PLString command) throws AppException
evaluateLogicCommand
in interface ServerInterface
AppException
public PLString getDocumentationForRelation(PLString mod, PLString rel) throws AppException
getDocumentationForRelation
in interface ServerInterface
mod
- 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 ServerInterface
modName
- 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 ServerInterface
AppException
public void clearKB(PLModule mod) throws AppException
clearKB
in interface ServerInterface
mod
- edu.isi.powerloom.gui.xmlobject.PLModule
AppException
- The exception description.public PLString getDocumentationForInstance(PLString mod, PLString rel) throws AppException
getDocumentationForInstance
in interface ServerInterface
mod
- 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 ServerInterface
modName
- edu.isi.powerloom.gui.xmlobject.PLString
AppException
- The exception description.public PLModuleFileList getLoadableKBs() throws AppException
getLoadableKBs
in interface ServerInterface
AppException
- The exception description.public PLSurrogateCollection getShadowedSurrogatesForModule(PLString modName) throws AppException
getShadowedSurrogatesForModule
in interface ServerInterface
modName
- edu.isi.powerloom.gui.xmlobject.PLString
AppException
- The exception description.public PLSurrogateCollection getTypesForInstance(PLString modName, PLString instanceName) throws AppException
getTypesForInstance
in interface ServerInterface
modName
- 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 ServerInterface
kbName
- edu.isi.powerloom.gui.xmlobject.PLString
AppException
- The exception description.public PLSurrogateCollection getUsesForModule(PLString modName) throws AppException
getUsesForModule
in interface ServerInterface
modName
- edu.isi.powerloom.gui.xmlobject.PLString
AppException
- The exception description.public PLString loadKB2(PLString fileName) throws AppException
loadKB2
in interface ServerInterface
AppException
public PLString saveKB(PLString modName, PLString kbName, PLString description) throws AppException
saveKB
in interface ServerInterface
modName
- 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 ServerInterface
AppException
public PLQueryResult query(PLQuery query, PLString continueFlag) throws AppException
query
in interface ServerInterface
AppException
public PLSearchResult search(PLSearchParameter searchParameter) throws AppException
search
in interface ServerInterface
AppException
public PLDirectoryContents getDefaultDirectoryListing(PLString extensionFilter) throws AppException
getDefaultDirectoryListing
in interface ServerInterface
AppException
public PLDirectoryContents getDirectoryListing(PLString currentDir, PLString extensionFilter) throws AppException
getDirectoryListing
in interface ServerInterface
AppException
public PLQueryResult getExtensionForRelation(PLString modName, PLString relation) throws AppException
getExtensionForRelation
in interface ServerInterface
AppException
public PLRelationContainer getRelation(PLString modName, PLString relation) throws AppException
getRelation
in interface ServerInterface
AppException
public PLConceptContainer getConcept(PLString modName, PLString concept) throws AppException
getConcept
in interface ServerInterface
AppException
public PLInstanceContainer getInstance(PLString modName, PLString instance) throws AppException
getInstance
in interface ServerInterface
AppException
public PLRelationContainer getRelationCompletions(PLString modName, PLString prefix) throws AppException
getRelationCompletions
in interface ServerInterface
AppException
public PLConceptContainer getConceptCompletions(PLString modName, PLString prefix) throws AppException
getConceptCompletions
in interface ServerInterface
AppException
public PLInstanceContainer getInstanceCompletions(PLString modName, PLString prefix) throws AppException
getInstanceCompletions
in interface ServerInterface
AppException
public PLString destroyObject(PLString modName, PLString objectName) throws AppException
destroyObject
in interface ServerInterface
AppException
public PLString getExplanationForQuery(PLQuery query, PLString resultNum) throws AppException
getExplanationForQuery
in interface ServerInterface
AppException
public PLServerInfo getServerInfo() throws AppException
getServerInfo
in interface ServerInterface
AppException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |