| Interface | osid.control.rules.TriggerEnablerAdminSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session creates and removes trigger enablers. The data
for create and update is provided via the | ||
| Method | getSystemId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the System Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getSystem | ||
| Description |
Gets the | ||
| Return | osid.control.System | the system | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateTriggerEnabler | ||
| Description |
Tests if this user can create trigger enablers. A
return of true does not guarantee successful
authorization. A return of false indicates that it is
known creating a | ||
| Return | boolean | false if TriggerEnabler creation is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateTriggerEnablerWithRecordTypes | ||
| Description |
Tests if this user can create a single | ||
| Parameters | osid.type.Type[] | triggerEnablerRecordTypes | array of trigger enabler record types |
| Return | boolean | true if TriggerEnabler creation using the
specified record Types is supported, false
otherwise | |
| Errors | NULL_ARGUMENT | triggerEnablerRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getTriggerEnablerFormForCreate | ||
| Description |
Gets the trigger enabler form for creating new trigger enablers. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | triggerEnablerRecordTypes | array of trigger enabler record types |
| Return | osid.control.rules.TriggerEnablerForm | the trigger enabler form | |
| Errors | NULL_ARGUMENT | triggerEnablerRecordTypes 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 | createTriggerEnabler | ||
| Description |
Creates a new | ||
| Parameters | osid.control.rules.TriggerEnablerForm | triggerEnablerForm | the form for this TriggerEnabler |
| Return | osid.control.rules.TriggerEnabler | the new TriggerEnabler | |
| Errors | ILLEGAL_STATE | triggerEnablerForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | triggerEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | triggerEnablerForm did not originate from
getTriggerEnablerFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateTriggerEnablers | ||
| Description |
Tests if this user can update trigger enablers. A
return of true does not guarantee successful
authorization. A return of false indicates that it is
known updating a | ||
| Return | boolean | false if TriggerEnabler modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getTriggerEnablerFormForUpdate | ||
| Description |
Gets the trigger enabler form for updating an existing trigger enabler. A new trigger enabler form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | triggerEnablerId | the Id of the TriggerEnabler |
| Return | osid.control.rules.TriggerEnablerForm | the trigger enabler form | |
| Errors | NOT_FOUND | triggerEnablerId is not found | |
| NULL_ARGUMENT | triggerEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateTriggerEnabler | ||
| Description |
Updates an existing trigger enabler. | ||
| Parameters | osid.control.rules.TriggerEnablerForm | triggerEnablerForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | triggerEnablerForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | triggerEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | triggerEnablerForm did not originate from
getTriggerEnablerFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteTriggerEnablers | ||
| Description |
Tests if this user can delete trigger enablers. A
return of true does not guarantee successful
authorization. A return of false indicates that it is
known deleting a | ||
| Return | boolean | false if TriggerEnabler deletion is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteTriggerEnabler | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | triggerEnablerId | the Id of the TriggerEnabler to remove |
| Errors | NOT_FOUND | triggerEnablerId not found | |
| NULL_ARGUMENT | triggerEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageTriggerEnablerAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if TriggerEnabler aliasing is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasTriggerEnabler | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | triggerEnablerId | the Id of a TriggerEnabler |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | triggerEnablerId not found | ||
| NULL_ARGUMENT | triggerEnablerId or aliasId is null
| ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |