|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.isi.powerloom.gui.serverinterface.RemoteServerImpl
Interface responsible for communicating with a remote server.
Constructor Summary | |
RemoteServerImpl()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RemoteServerImpl()
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) throws AppException
getInstancesForConcept
in interface ServerInterface
AppException
public PLInstanceContainer getDirectInstancesForConcept(PLString modName, PLString conceptName) throws AppException
getDirectInstancesForConcept
in interface ServerInterface
AppException
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 PLString getDocumentationForRelation(PLString modName, PLString relationName) throws AppException
getDocumentationForRelation
in interface ServerInterface
AppException
public PLString getDocumentationForInstance(PLString modName, PLString instanceName) throws AppException
getDocumentationForInstance
in interface ServerInterface
AppException
public PLSurrogateCollection getSuperConceptsForConcept(PLString modName, PLString conceptName) throws AppException
getSuperConceptsForConcept
in interface ServerInterface
AppException
public PLSurrogateCollection getSuperRelationsForRelation(PLString modName, PLString relationName) throws AppException
getSuperRelationsForRelation
in interface ServerInterface
AppException
public PLSurrogateCollection getIncludesForModule(PLString modName) throws AppException
ServerInterface
getIncludesForModule
in interface ServerInterface
modName
- edu.isi.powerloom.gui.xmlobject.PLString
AppException
- The exception description.public PLSurrogateCollection getUsesForModule(PLString modName) throws AppException
ServerInterface
getUsesForModule
in interface ServerInterface
modName
- edu.isi.powerloom.gui.xmlobject.PLString
AppException
- The exception description.public PLSurrogateCollection getShadowedSurrogatesForModule(PLString modName) throws AppException
ServerInterface
getShadowedSurrogatesForModule
in interface ServerInterface
modName
- edu.isi.powerloom.gui.xmlobject.PLString
AppException
- The exception description.public PLVariableList getVariablesForRelation(PLString modName, PLString relationName) throws AppException
getVariablesForRelation
in interface ServerInterface
AppException
public PLPropositionContainer getPropositionsForInstance(PLString modName, PLString instanceName) throws AppException
getPropositionsForInstance
in interface ServerInterface
AppException
public PLSurrogateCollection getTypesForInstance(PLString modName, PLString instanceName) throws AppException
getTypesForInstance
in interface ServerInterface
AppException
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 PLModuleFileList getLoadableKBs() throws AppException
ServerInterface
getLoadableKBs
in interface ServerInterface
AppException
- The exception description.public PLString loadKB(PLString kbName) throws AppException
ServerInterface
loadKB
in interface ServerInterface
kbName
- 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
ServerInterface
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 void clearKB(PLModule module) throws AppException
ServerInterface
clearKB
in interface ServerInterface
module
- edu.isi.powerloom.gui.xmlobject.PLModule
AppException
- The exception description.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 relationName) 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 |