| Interface | osid.inquiry.rules.AuditProcessorAdminSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.inquiry.rules.InquiryRulesManager | ||
osid.inquiry.rules.InquiryRulesProxyManager | |||
| Description |
This session creates, updates, and deletes
Create and update operations differ in their usage. To
create an For updates, The delete operations delete This session includes an | ||
| 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 | canCreateAuditProcessors | ||
| Description |
Tests if this user can create
| ||
| Return | boolean | false if AuditProcessor creation is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateAuditProcessorWithRecordTypes | ||
| Description |
Tests if this user can create a single
| ||
| Parameters | osid.type.Type[] | auditProcessorRecordTypes | array of audit processor record types |
| Return | boolean | true if AuditProcessor creation using the
specified record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT | auditProcessorRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAuditProcessorFormForCreate | ||
| Description |
Gets the audit processor form for creating new audit processors. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | auditProcessorRecordTypes | array of audit processor record types |
| Return | osid.inquiry.rules.AuditProcessorForm | the audit processor form | |
| Errors | NULL_ARGUMENT | auditProcessorRecordTypes 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 | createAuditProcessor | ||
| Description |
Creates a new | ||
| Parameters | osid.inquiry.rules.AuditProcessorForm | auditProcessorForm | the form for this AuditProcessor |
| Return | osid.inquiry.rules.AuditProcessor | the new AuditProcessor | |
| Errors | ILLEGAL_STATE | auditProcessorForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | auditProcessorForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | auditProcessorForm did not originate from
getAuditProcessorFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateAuditProcessors | ||
| Description |
Tests if this user can update
| ||
| Return | boolean | false if AuditProcessor modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAuditProcessorFormForUpdate | ||
| Description |
Gets the audit processor form for updating an existing audit processor. A new audit processor form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | auditProcessorId | the Id of the AuditProcessor |
| Return | osid.inquiry.rules.AuditProcessorForm | the audit processor form | |
| Errors | NOT_FOUND | auditProcessorId is not found | |
| NULL_ARGUMENT | auditProcessorId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateAuditProcessor | ||
| Description |
Updates an existing audit processor. | ||
| Parameters | osid.inquiry.rules.AuditProcessorForm | auditProcessorForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | auditProcessorForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | auditProcessorForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | auditProcessorForm did not originate from
getAuditProcessorFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteAuditProcessors | ||
| Description |
Tests if this user can delete
| ||
| Return | boolean | false if AuditProcessor deletion is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteAuditProcessor | ||
| Description |
Deletes an | ||
| Parameters | osid.id.Id | auditProcessorId | the Id of the AuditProcessor to remove |
| Errors | NOT_FOUND | auditProcessorId not found | |
| NULL_ARGUMENT | auditProcessorId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageAuditProcessorAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if AuditProcessor aliasing is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasAuditProcessor | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | auditProcessorId | the Id of an AuditProcessor |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | auditProcessorId not found | ||
| NULL_ARGUMENT | auditProcessorId or aliasId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |