infosapient.control
Class ControllerFacade

java.lang.Object
  |
  +--infosapient.control.ControllerFacade

public class ControllerFacade
extends java.lang.Object

This type implements a facade over the FzyEngineController et al It is responsible for operations in conjunction with a KnowledgeBase as a whole.

Version:
$Revision: 1.1.1.1 $
License to use this program is provided under the COMMON PUBLIC LICENSE 0.5 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

Modification log:

See Also:
InfoSapientController, FzyKnowledgebase

Field Summary
private  InfoSapientServletController theController
           
 
Constructor Summary
ControllerFacade(FzyKnowledgebase kb)
          A constructor that sets the reference to a knowledgebase.
ControllerFacade(java.io.PrintWriter pout)
          ControllerFacade constructor comment.
 
Method Summary
 FzyKnowledgebase createKB(java.lang.String name)
          Has the FzyEngineController create a KB and return it Creation date: (12/13/1999 10:54:14 AM)
 void deleteObserver(Observer o)
          Insert the method's description here.
 void execute(java.util.Properties props)
          Insert the method's description here.
protected  InfoSapientServletController getController()
          Creation date: (2/10/00 1:47:29 PM)
 InfoSapientController getController(java.io.PrintWriter pout)
          Return the FzyEngineController Creation date: (12/13/1999 10:57:03 AM)
 FzyKnowledgebase getKB()
          Returns a reference to the knowledgebase.
 FzyKnowledgebase openKB(java.lang.String name)
          Has the FzyEngineController open a KB and return it Creation date: (12/14/1999 10:54:14 AM)
 void saveKB(java.lang.String name)
          Has the FzyEngineController saves a KB Creation date: (12/14/1999 10:54:14 AM)
 void setKB(FzyKnowledgebase newKB)
          Sets the controller's knowledgebase Creation date: (12/13/1999 10:46:02 AM)
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

theController

private InfoSapientServletController theController
Constructor Detail

ControllerFacade

public ControllerFacade(FzyKnowledgebase kb)
A constructor that sets the reference to a knowledgebase. Creation date: (1/7/00 10:02:23 AM)
Parameters:
kb - infosapient.system.FzyKnowledgebase

ControllerFacade

public ControllerFacade(java.io.PrintWriter pout)
ControllerFacade constructor comment.
Method Detail

createKB

public FzyKnowledgebase createKB(java.lang.String name)
Has the FzyEngineController create a KB and return it Creation date: (12/13/1999 10:54:14 AM)
Parameters:
name - java.lang.String
Returns:
infosapient.system.FzyKnowledgebase

deleteObserver

public void deleteObserver(Observer o)
Insert the method's description here. Creation date: (2/4/00 1:39:51 PM)
Parameters:
o - infosapient.system.Observer

execute

public void execute(java.util.Properties props)
Insert the method's description here. Creation date: (2/2/00 3:24:17 PM)
Parameters:
props - java.util.Properties

getController

protected InfoSapientServletController getController()
Creation date: (2/10/00 1:47:29 PM)
Returns:
infosapient.control.InfoSapientServletController

getController

public InfoSapientController getController(java.io.PrintWriter pout)
                                    throws java.lang.IllegalArgumentException
Return the FzyEngineController Creation date: (12/13/1999 10:57:03 AM)
Parameters:
PrintWriter - the printwriter for the controller to use.
Returns:
infosapient.control.InfoSapientServletController

getKB

public FzyKnowledgebase getKB()
Returns a reference to the knowledgebase. Creation date: (12/13/1999 10:46:02 AM)
Returns:
infosapient.system.FzyKnowledgebase

openKB

public FzyKnowledgebase openKB(java.lang.String name)
                        throws java.lang.Exception
Has the FzyEngineController open a KB and return it Creation date: (12/14/1999 10:54:14 AM)
Parameters:
name - java.lang.String
Returns:
infosapient.system.FzyKnowledgebase

saveKB

public void saveKB(java.lang.String name)
Has the FzyEngineController saves a KB Creation date: (12/14/1999 10:54:14 AM)
Parameters:
name - java.lang.String

setKB

public void setKB(FzyKnowledgebase newKB)
Sets the controller's knowledgebase Creation date: (12/13/1999 10:46:02 AM)
Parameters:
newTheKB - infosapient.system.FzyKnowledgebase

License to use this program is provided under the TERMS OF THE COMMON PUBLIC LICENSE 0.5. ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

Copyright (c) 2001, Workplace Performance Tools, All Rights Reserved