| Interface | osid.inquiry.rules.AuditConstrainerEnablerAdminSession | ||
|---|---|---|---|
| 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 | canCreateAuditConstrainerEnablers | ||
| Description |
Tests if this user can create
| ||
| Return | boolean | false if AuditConstrainerEnabler creation is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateAuditConstrainerEnablerWithRecordTypes | ||
| Description |
Tests if this user can create a single
| ||
| Parameters | osid.type.Type[] | auditConstrainerEnablerRecordTypes | array of audit constrainer enabler record types |
| Return | boolean | true if AuditConstrainerEnabler creation using
the specified record Types is supported, false
otherwise | |
| Errors | NULL_ARGUMENT | auditConstrainerEnablerRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAuditConstrainerEnablerFormForCreate | ||
| Description |
Gets the audit constrainer enabler form for creating new audit constrainer enablers. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | auditConstrainerEnablerRecordTypes | array of audit constrainer enabler record types |
| Return | osid.inquiry.rules.AuditConstrainerEnablerForm | the audit constrainer enabler form | |
| Errors | NULL_ARGUMENT | auditConstrainerEnablerRecordTypes 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 | createAuditConstrainerEnabler | ||
| Description |
Creates a new | ||
| Parameters | osid.inquiry.rules.AuditConstrainerEnablerForm | auditConstrainerEnablerForm | the form for this AuditConstrainerEnabler |
| Return | osid.inquiry.rules.AuditConstrainerEnabler | the new AuditConstrainerEnabler | |
| Errors | ILLEGAL_STATE | auditConstrainerEnablerForm already used in a create
transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | auditConstrainerEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | auditConstrainerEnablerForm did not originate from
getAuditConstrainerEnablerFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateAuditConstrainerEnablers | ||
| Description |
Tests if this user can update
| ||
| Return | boolean | false if AuditConstrainerEnabler modification is
not authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAuditConstrainerEnablerFormForUpdate | ||
| Description |
Gets the audit constrainer enabler form for updating an existing audit constrainer enabler. A new audit constrainer enabler form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | auditConstrainerEnablerId | the Id of the AuditConstrainerEnabler |
| Return | osid.inquiry.rules.AuditConstrainerEnablerForm | the audit constrainer enabler form | |
| Errors | NOT_FOUND | auditConstrainerEnablerId is not found | |
| NULL_ARGUMENT | auditConstrainerEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateAuditConstrainerEnabler | ||
| Description |
Updates an existing audit constrainer enabler. | ||
| Parameters | osid.inquiry.rules.AuditConstrainerEnablerForm | auditConstrainerEnablerForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | auditConstrainerEnablerForm already used in an update
transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | auditConstrainerEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | auditConstrainerEnablerForm did not originate from
getAuditConstrainerEnablerFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteAuditConstrainerEnablers | ||
| Description |
Tests if this user can delete
| ||
| Return | boolean | false if AuditConstrainerEnabler deletion is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteAuditConstrainerEnabler | ||
| Description |
Deletes an | ||
| Parameters | osid.id.Id | auditConstrainerEnablerId | the Id of the AuditConstrainerEnabler to remove |
| Errors | NOT_FOUND | auditConstrainerEnablerId not found | |
| NULL_ARGUMENT | auditConstrainerEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageAuditConstrainerEnablerAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if AuditConstrainerEnabler aliasing is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasAuditConstrainerEnabler | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | auditConstrainerEnablerId | the Id of an AuditConstrainerEnabler |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | auditConstrainerEnablerId not found | ||
| NULL_ARGUMENT | auditConstrainerEnablerId or aliasId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |