| Interface | osid.inquiry.rules.AuditConstrainerAdminSession | ||
|---|---|---|---|
| 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 | canCreateAuditConstrainers | ||
| Description |
Tests if this user can create
| ||
| Return | boolean | false if AuditConstrainer creation is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateAuditConstrainerWithRecordTypes | ||
| Description |
Tests if this user can create a single
| ||
| Parameters | osid.type.Type[] | auditConstrainerRecordTypes | array of audit constrainer record types |
| Return | boolean | true if AuditConstrainer creation using the
specified record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT | auditConstrainerRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAuditConstrainerFormForCreate | ||
| Description |
Gets the audit constrainer form for creating new audit constrainers. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | auditConstrainerRecordTypes | array of audit constrainer record types |
| Return | osid.inquiry.rules.AuditConstrainerForm | the audit constrainer form | |
| Errors | NULL_ARGUMENT | auditConstrainerRecordTypes 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 | createAuditConstrainer | ||
| Description |
Creates a new | ||
| Parameters | osid.inquiry.rules.AuditConstrainerForm | auditConstrainerForm | the form for this AuditConstrainer |
| Return | osid.inquiry.rules.AuditConstrainer | the new AuditConstrainer | |
| Errors | ILLEGAL_STATE | auditConstrainerForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | auditConstrainerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | auditConstrainerForm did not originate from
getAuditConstrainerFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateAuditConstrainers | ||
| Description |
Tests if this user can update
| ||
| Return | boolean | false if AuditConstrainer modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAuditConstrainerFormForUpdate | ||
| Description |
Gets the audit constrainer form for updating an existing audit constrainer. A new audit constrainer form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | auditConstrainerId | the Id of the AuditConstrainer |
| Return | osid.inquiry.rules.AuditConstrainerForm | the audit form | |
| Errors | NOT_FOUND | auditConstrainerId is not found | |
| NULL_ARGUMENT | auditConstrainerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateAuditConstrainer | ||
| Description |
Updates an existing audit constrainer. | ||
| Parameters | osid.inquiry.rules.AuditConstrainerForm | auditConstrainerForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | auditConstrainerForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | auditConstrainerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | auditConstrainerForm did not originate from
getAuditConstrainerFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteAuditConstrainers | ||
| Description |
Tests if this user can delete
| ||
| Return | boolean | false if AuditConstrainer deletion is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteAuditConstrainer | ||
| Description |
Deletes an | ||
| Parameters | osid.id.Id | auditConstrainerId | the Id of the AuditConstrainer to remove |
| Errors | NOT_FOUND | auditConstrainerId not found | |
| NULL_ARGUMENT | auditConstrainerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageAuditConstrainerAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if AuditConstrainer aliasing is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasAuditConstrainer | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | auditConstrainerId | the Id of an AuditConstrainer |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | auditConstrainerId not found | ||
| NULL_ARGUMENT | auditConstrainerId or aliasId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |