kaos.owls.ontology
Class WorkflowChecker

java.lang.Object
  extended by kaos.owls.ontology.WorkflowChecker

public class WorkflowChecker
extends java.lang.Object


Constructor Summary
WorkflowChecker(KAoSDirectoryService dirService)
          Create
 
Method Summary
protected  java.lang.String analyzeWorkflow(OwlsOntClassLoader ocl)
          Convert each process in the workflow into a kaos action class, then check permissions and obligations for the actions and amend the workflow with applicable policies.
 java.lang.String analyzeWorkflow(java.lang.String workflowString)
          Convert each process in the workflow into a kaos action class, then check permissions and obligations for the actions and amend the workflow with applicable policies.
 java.lang.String analyzeWorkflow(java.net.URL workflowURI)
          Convert each process in the workflow into a kaos action class, then check permissions and obligations for the actions and amend the workflow with applicable policies.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowChecker

public WorkflowChecker(KAoSDirectoryService dirService)
Create

Parameters:
dirService - - ref. to an existing directory service
Method Detail

analyzeWorkflow

public java.lang.String analyzeWorkflow(java.lang.String workflowString)
Convert each process in the workflow into a kaos action class, then check permissions and obligations for the actions and amend the workflow with applicable policies.

Parameters:
workflowString - - OWL-S string containing a service desc. and process model
Returns:
- original OWL-S workflow, possibly amended with policy info

analyzeWorkflow

public java.lang.String analyzeWorkflow(java.net.URL workflowURI)
Convert each process in the workflow into a kaos action class, then check permissions and obligations for the actions and amend the workflow with applicable policies.

Parameters:
workflowURL - - URL to an OWL-S doc containing a service desc. and process model
Returns:
- original OWL-S workflow, possibly amended with policy info

analyzeWorkflow

protected java.lang.String analyzeWorkflow(OwlsOntClassLoader ocl)
Convert each process in the workflow into a kaos action class, then check permissions and obligations for the actions and amend the workflow with applicable policies.

Parameters:
ocl - - owls class loader already initialized with a workflow doc
Returns:
- original OWL-S workflow, possibly amended with policy info