| Interface | osid.inquiry.AcknowledgementSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session defines methods for evaluating and responding to inquiries for users.  | ||
| Method | getInquestId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Inquest Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getInquest | ||
| Description | 
                     Gets the   | ||
| Return | osid.inquiry.Inquest | the inquest | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canGetMyInquiries | ||
| Description | 
                     Tests if this user can perform   | ||
| Return | boolean |  false  if lookup methods are not authorized,  true 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getMyInquiries | ||
| Description | 
                     Gets the inquiries needing a response for the resource related to this agent.  | ||
| Parameters | osid.id.Id | auditId | the  Id  of an  Audit   | 
| Return | osid.inquiry.InquiryList | the returned  InquiryList   | |
| Errors | NULL_ARGUMENT |  auditId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRespond | ||
| Description | 
                     Tests if this user can create responses. A return of 
                    true does not guarantee successful authorization. A return 
                    of false indicates that it is known creating a   | ||
| Return | boolean |  false  if  Response  creation is not authorized, 
 true  otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateResponseWithRecordTypes | ||
| Description | 
                     Tests if this user can create a single   | ||
| Parameters | osid.type.Type[] | responseRecordTypes | array of response record types | 
| Return | boolean |  true  if  Response  creation using the specified 
record  Types  is supported,  false  otherwise  | |
| Errors | NULL_ARGUMENT |  responseRecordTypes  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | getResponseForm | ||
| Description | 
                     Gets the response form for creating new responses from this agent. A new form should be requested for each create transaction.  | ||
| Parameters | osid.id.Id | inquiryId | the  Id  for the inquiry  | 
osid.type.Type[] | responseRecordTypes | array of response record types | |
| Return | osid.inquiry.ResponseForm | the response form | |
| Errors | NOT_FOUND |  inquiryId  is not found  |                 |
| NULL_ARGUMENT |  inquiryId  or  responseRecordTypes  is  
null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | unable to get form for requested record types | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | respond | ||
| Description | 
                     Creates a new   | ||
| Parameters | osid.inquiry.ResponseForm | responseForm | the form for this  Response   | 
| Return | osid.inquiry.Response | the new  Response   | |
| Errors | ILLEGAL_STATE |  responseForm  already used in a create transaction  |                 |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT |  responseForm  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  responseForm  did not originate from  
getResponseFormForCreate()   |                 ||
| Compliance | mandatory | This method must be implemented. | |