kaos.policy.guard
Interface GuardRepositoryManagerForwarder

All Known Subinterfaces:
GuardMgmtRequestsForwarder

public interface GuardRepositoryManagerForwarder

This interface defines methods to manage a repository of a given GuardRepositoryManager.


Method Summary
 void changeComponentEnabledStatus(java.lang.String repType, java.lang.String associatedOntType, java.lang.Boolean state, java.lang.String guardRepMgrID)
          changes the 'enabled' status of the given component
 java.util.Vector getAllKAoSExtensionComponents(java.lang.String repType, java.lang.String guardRepMgrID)
          Ask the specified GuardRepositoryManager to get all components contained in this repository.
 java.lang.Boolean getComponentEnabledStatus(java.lang.String repType, java.lang.String associatedOntType, java.lang.String guardRepMgrID)
          get the 'enabled' status of the given component
 java.util.Vector getKAoSExtensionComponents(java.lang.String repType, java.lang.String associatedOntType, java.lang.String guardRepMgrID)
          Ask the specified GuardRepositoryManager a request to get the KAoSExtensionComponents object for the given type.
 java.util.Hashtable getRepositoryTableInformation(java.lang.String repType, java.lang.String guardRepMgrID)
          This method returns the concepts names and their corresponding component names in a Hashtable.
 void removeAllKAoSExtensionComponents(java.lang.String repType, java.lang.String guardRepMgrID)
          Ask the specified GuardRepositoryManager to remove all components contained in this repository.
 KAoSExtensionComponent removeKAoSExtensionComponent(java.lang.String repType, java.lang.String extCompName, java.lang.String guardRepMgrID)
          Ask the specified GuardRepositoryManager to remove from this repository the KAoSExtensionComponent specified by the given reference.
 void setKAoSExtensionComponent(java.lang.String repType, java.lang.String associatedOntType, KAoSExtensionComponent extComp, java.lang.String guardRepMgrID)
          Ask the specified GuardRepositoryManager to set KAoSExtensionComponent for the given ontology type.
 

Method Detail

getKAoSExtensionComponents

java.util.Vector getKAoSExtensionComponents(java.lang.String repType,
                                            java.lang.String associatedOntType,
                                            java.lang.String guardRepMgrID)
Ask the specified GuardRepositoryManager a request to get the KAoSExtensionComponents object for the given type.

Parameters:
repType - A String identifying the specific RepositoryManager within a collection of managers.
associatedOntType - A String indicating the ontology type associated with that component.
guardRepMgrID - A String identifying the Guard storing the collection of Repository Managers.
Returns:
A Vector containing KAoSExtensionComponents.

removeKAoSExtensionComponent

KAoSExtensionComponent removeKAoSExtensionComponent(java.lang.String repType,
                                                    java.lang.String extCompName,
                                                    java.lang.String guardRepMgrID)
Ask the specified GuardRepositoryManager to remove from this repository the KAoSExtensionComponent specified by the given reference.

Parameters:
repType - A String identifying the specific RepositoryManager within a collection of managers.
extCompName - the name of KAoSExtensionComponent to be removed.
guardRepMgrID - A String identifying the Guard storing the collection of Repository Managers.
Returns:
The removed component.

setKAoSExtensionComponent

void setKAoSExtensionComponent(java.lang.String repType,
                               java.lang.String associatedOntType,
                               KAoSExtensionComponent extComp,
                               java.lang.String guardRepMgrID)
Ask the specified GuardRepositoryManager to set KAoSExtensionComponent for the given ontology type.

Parameters:
repType - A String identifying the specific RepositoryManager within a collection of managers.
associatedOntType - A String indicating the ontology type associated with that component.
extComp - The KAoSExtensionComponent to be set for the given type.
guardRepMgrID - A String identifying the Guard storing the collection of Repository Managers.

changeComponentEnabledStatus

void changeComponentEnabledStatus(java.lang.String repType,
                                  java.lang.String associatedOntType,
                                  java.lang.Boolean state,
                                  java.lang.String guardRepMgrID)
changes the 'enabled' status of the given component

Parameters:
repType - A String identifying the specific RepositoryManager within a collection of managers.
associatedOntType - A String indicating the ontology type associated with that component.
state - A boolean parameter to which the status would change
guardRepMgrID - A String identifying the Guard storing the collection of Repository Managers.

getComponentEnabledStatus

java.lang.Boolean getComponentEnabledStatus(java.lang.String repType,
                                            java.lang.String associatedOntType,
                                            java.lang.String guardRepMgrID)
get the 'enabled' status of the given component

Parameters:
repType - A String identifying the specific RepositoryManager within a collection of managers.
associatedOntType - A String indicating the ontology type associated with that component.
guardRepMgrID - A String identifying the Guard storing the collection of Repository Managers.
Returns:
Boolean 'true' if enabled, 'false' if not.

getAllKAoSExtensionComponents

java.util.Vector getAllKAoSExtensionComponents(java.lang.String repType,
                                               java.lang.String guardRepMgrID)
Ask the specified GuardRepositoryManager to get all components contained in this repository.

Parameters:
repType - A String identifying the specific RepositoryManager within a collection of managers.
guardRepMgrID - A String identifying the Guard storing the collection of Repository Managers.
Returns:
A Vector containing all components.

removeAllKAoSExtensionComponents

void removeAllKAoSExtensionComponents(java.lang.String repType,
                                      java.lang.String guardRepMgrID)
Ask the specified GuardRepositoryManager to remove all components contained in this repository.

Parameters:
repType - A String identifying the specific RepositoryManager within a collection of managers.
guardRepMgrID - A String identifying the Guard storing the collection of Repository Managers.

getRepositoryTableInformation

java.util.Hashtable getRepositoryTableInformation(java.lang.String repType,
                                                  java.lang.String guardRepMgrID)
This method returns the concepts names and their corresponding component names in a Hashtable. The keys in this table are Strings specifying concept names and values are Strings specifying corresponding component names

Parameters:
repType - A String identifying the specific RepositoryManager within a collection of managers.
guardRepMgrID - A String identifying the Guard storing the collection of Repository Managers.
Returns:
Hashtable as specified in this method heading.