kaos.core.csi.request
Interface OWLRequestReceiver

All Known Subinterfaces:
RequestReceiver

public interface OWLRequestReceiver

Defines the operations to process a request expressed by an OWL String.


Method Summary
 java.lang.Object processOWLRequest(java.lang.String owlActionDescription)
          This method accepts a request described by an OWL String to perform an action.
 void processOWLRequest(java.lang.String owlActionDescription, ActionStatusCallback statusCallback)
          This method accepts a request described by an OWL String to perform an action.
 

Method Detail

processOWLRequest

void processOWLRequest(java.lang.String owlActionDescription,
                       ActionStatusCallback statusCallback)
                       throws ActionFailureException
This method accepts a request described by an OWL String to perform an action. Feedback from the action execution is sent to the requestor via the given ActionStatusCallback.

Parameters:
owlActionDescription - is an OWL String that describes the action. It includes the action name and all action properties and their values.
statusCallback - ActionStatusCallback to be called to pass back to the action requestor information about progression of the action execution and the final result.
Throws:
ActionFailureException - containing the reason for failure. See ontology to determine specific reasons available for a given action

processOWLRequest

java.lang.Object processOWLRequest(java.lang.String owlActionDescription)
                                   throws ActionFailureException
This method accepts a request described by an OWL String to perform an action. The result is returned synchronously.

Parameters:
owlActionDescription - is an OWL String that describes the action. It includes the action name and all action properties and their values.
Returns:
Object containing the final result of the action.
Throws:
ActionFailureException - containing the reason for failure. See ontology to determine specific reasons available for a given action