|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkaos.kpat.policyTemplates.PolicyTemplate
kaos.cougaar.clik.kpat.policyTemplates.BlackboardAccessPolicyTemplate
public class BlackboardAccessPolicyTemplate
| Field Summary |
|---|
| Fields inherited from class kaos.kpat.policyTemplates.PolicyTemplate |
|---|
_instanceId |
| Constructor Summary | |
|---|---|
BlackboardAccessPolicyTemplate()
|
|
| Method Summary | |
|---|---|
void |
createPolicy(SubjectMsg optionalSubject)
Update the display component to create a new policy. |
void |
editPolicy(PolicyTemplateResult existingPolicy)
Update the display component to edit an existing policy |
java.lang.String |
getDescription()
Get the description of the PolicyTemplateEditor. |
java.awt.Component |
getDisplayComponent()
Return the component to be displayed to the user |
java.lang.String |
getName()
Get the name of the PolicyTemplateEditor. |
PolicyTemplateResult |
getResult()
Return the resultant policy(s) and optional policy set |
void |
initialize(TunnelClient tunnelClient,
java.util.Hashtable subjectTreeModels,
PolicyTemplateFactory factory)
Initialize the template In most instances, the GUI components should be built at this time |
| Methods inherited from class kaos.kpat.policyTemplates.PolicyTemplate |
|---|
addTemplateComponentReference, compareTo, getInstanceId, getTemplateCreator, getTemplateState, removeTemplateComponentReference, setTemplateComponentReferences, setTemplateState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlackboardAccessPolicyTemplate()
| Method Detail |
|---|
public void initialize(TunnelClient tunnelClient,
java.util.Hashtable subjectTreeModels,
PolicyTemplateFactory factory)
PolicyTemplate
initialize in class PolicyTemplatepublic java.lang.String getName()
PolicyTemplate
getName in class PolicyTemplatepublic java.lang.String getDescription()
PolicyTemplate
getDescription in class PolicyTemplate
public PolicyTemplateResult getResult()
throws KAoSPolicyBuilder.PolicyBuildingNotCompleted
PolicyTemplate
getResult in class PolicyTemplateKAoSPolicyBuilder.PolicyBuildingNotCompleted
public void createPolicy(SubjectMsg optionalSubject)
throws java.lang.Exception
PolicyTemplate
createPolicy in class PolicyTemplateoptionalSubject - The subject if the editor
was invoked for it
java.lang.Exception
public void editPolicy(PolicyTemplateResult existingPolicy)
throws java.lang.Exception
PolicyTemplate
editPolicy in class PolicyTemplateexistingPolicy - Contains information about the existing
policy(s) (and optionally policy set)
java.lang.Exceptionpublic java.awt.Component getDisplayComponent()
PolicyTemplate
getDisplayComponent in class PolicyTemplate
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||