| Interface | osid.provisioning.rules.BrokerProcessorAdminSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session creates and removes broker processors. The
data for create and update is provided via the | ||
| Method | getDistributorId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Distributor Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDistributor | ||
| Description |
Gets the | ||
| Return | osid.provisioning.Distributor | the distributor | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateBrokerProcessor | ||
| Description |
Tests if this user can create broker processors. A
return of true does not guarantee successful
authorization. A return of false indicates that it is
known creating a | ||
| Return | boolean | false if BrokerProcessor creation is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateBrokerProcessorWithRecordTypes | ||
| Description |
Tests if this user can create a single | ||
| Parameters | osid.type.Type[] | brokerProcessorRecordTypes | array of broker processor record types |
| Return | boolean | true if BrokerProcessor creation using the
specified record Types is supported, false
otherwise | |
| Errors | NULL_ARGUMENT | brokerProcessorRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBrokerProcessorFormForCreate | ||
| Description |
Gets the broker processor form for creating new broker processors. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | brokerProcessorRecordTypes | array of broker processor record types |
| Return | osid.provisioning.rules.BrokerProcessorForm | the broker processor form | |
| Errors | NULL_ARGUMENT | brokerProcessorRecordTypes 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 | createBrokerProcessor | ||
| Description |
Creates a new | ||
| Parameters | osid.provisioning.rules.BrokerProcessorForm | brokerProcessorForm | the form for this BrokerProcessor |
| Return | osid.provisioning.rules.BrokerProcessor | the new BrokerProcessor | |
| Errors | ILLEGAL_STATE | brokerProcessorForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | brokerProcessorForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | brokerProcessorForm did not originate from
getBrokerProcessorFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateBrokerProcessors | ||
| Description |
Tests if this user can update broker processors. A
return of true does not guarantee successful
authorization. A return of false indicates that it is
known updating a | ||
| Return | boolean | false if BrokerProcessor modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBrokerProcessorFormForUpdate | ||
| Description |
Gets the broker processor form for updating an existing broker processor. A new broker processor form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | brokerProcessorId | the Id of the BrokerProcessor |
| Return | osid.provisioning.rules.BrokerProcessorForm | the broker processor form | |
| Errors | NOT_FOUND | brokerProcessorId is not found | |
| NULL_ARGUMENT | brokerProcessorId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateBrokerProcessor | ||
| Description |
Updates an existing broker processor. | ||
| Parameters | osid.provisioning.rules.BrokerProcessorForm | brokerProcessorForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | brokerProcessorForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | brokerProcessorForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | brokerProcessorForm did not originate from
getBrokerProcessorFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteBrokerProcessors | ||
| Description |
Tests if this user can delete broker processors. A
return of true does not guarantee successful
authorization. A return of false indicates that it is
known deleting a | ||
| Return | boolean | false if BrokerProcessor deletion is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteBrokerProcessor | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | brokerProcessorId | the Id of the BrokerProcessor to remove |
| Errors | NOT_FOUND | brokerProcessorId not found | |
| NULL_ARGUMENT | brokerProcessorId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageBrokerProcessorAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if BrokerProcessor aliasing is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasBrokerProcessor | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | brokerProcessorId | the Id of a BrokerProcessor |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | brokerProcessorId not found | ||
| NULL_ARGUMENT | brokerProcessorId or aliasId is null
| ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |