|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kaos.policy.guard.GuardRepositoryManagerImpl
public class GuardRepositoryManagerImpl
This interface defines methods to manage a repository.
Constructor Summary | |
---|---|
GuardRepositoryManagerImpl(java.lang.String type)
|
Method Summary | |
---|---|
void |
changeComponentEnabledStatus(java.lang.String associatedOntType,
boolean state)
changes the 'enabled' status of the given component |
java.util.Vector |
getAllKAoSExtensionComponents()
Get all components contained in this repository. |
boolean |
getComponentEnabledStatus(java.lang.String associatedOntType)
get the 'enabled' status of the given component |
java.util.Vector |
getKAoSExtensionComponents(java.lang.String associatedOntType)
Get the KAoSExtensionComponents object for the given type. |
java.lang.String |
getRepositoryManagerType()
Get the repository type of this manager. |
java.util.Hashtable |
getRepositoryTableInformation()
This method returns the concepts names and their corresponding component names in a Hashtable. |
void |
removeAllKAoSExtensionComponents()
Remove all components contained in this repository. |
KAoSExtensionComponent |
removeKAoSExtensionComponent(java.lang.String associatedOntType)
Remove from this repository the KAoSExtensionComponent specified by the given associatedOntType. |
void |
setDirProxy(KAoSAgentDirectoryServiceProxy dcomm)
|
void |
setKAoSExtensionComponent(java.lang.String associatedOntType,
KAoSExtensionComponent extComp)
Set KAoSExtensionComponent for the given ontology type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GuardRepositoryManagerImpl(java.lang.String type)
Method Detail |
---|
public void setDirProxy(KAoSAgentDirectoryServiceProxy dcomm)
public java.lang.String getRepositoryManagerType()
getRepositoryManagerType
in interface GuardRepositoryManager
public java.util.Vector getKAoSExtensionComponents(java.lang.String associatedOntType)
getKAoSExtensionComponents
in interface GuardRepositoryManager
associatedOntType
- A String indicating the
ontology type associated with that
component.
public KAoSExtensionComponent removeKAoSExtensionComponent(java.lang.String associatedOntType)
removeKAoSExtensionComponent
in interface GuardRepositoryManager
associatedOntType
- A String indicating the
ontology type associated with that
component.
public void setKAoSExtensionComponent(java.lang.String associatedOntType, KAoSExtensionComponent extComp) throws ComponentAlreadyPresentException
setKAoSExtensionComponent
in interface GuardRepositoryManager
associatedOntType
- A String indicating the
ontology type associated with that
component.extComp
- The KAoSExtensionComponent to be set for
the given type.
ComponentAlreadyPresentException
public void changeComponentEnabledStatus(java.lang.String associatedOntType, boolean state)
changeComponentEnabledStatus
in interface GuardRepositoryManager
associatedOntType
- A String indicating the
ontology type associated with that
component.state
- A boolean parameter to which the status would
changepublic boolean getComponentEnabledStatus(java.lang.String associatedOntType)
getComponentEnabledStatus
in interface GuardRepositoryManager
associatedOntType
- A String indicating the
ontology type associated with that
component.public java.util.Vector getAllKAoSExtensionComponents()
getAllKAoSExtensionComponents
in interface GuardRepositoryManager
public void removeAllKAoSExtensionComponents()
removeAllKAoSExtensionComponents
in interface GuardRepositoryManager
public java.util.Hashtable getRepositoryTableInformation()
getRepositoryTableInformation
in interface GuardRepositoryManager
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |