| Interface | osid.ordering.OrderForm | ||
|---|---|---|---|
| Implements | osid.OsidObjectForm | ||
osid.OsidAggregateableForm | |||
| Description |
This is the form for creating and updating | ||
| Method | getCustomerMetadata | ||
| Description |
Gets the metadata for a customer. | ||
| Return | osid.Metadata | metadata for the customer | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setCustomer | ||
| Description |
Sets the customer. | ||
| Parameters | osid.id.Id | resourceId | the new address |
| Errors | INVALID_ARGUMENT | resourceId is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| NULL_ARGUMENT | resourceId is null | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearCustomer | ||
| Description |
Clears the customer. | ||
| Errors | NO_ACCESS | Metadata.isRequired() or Metadata.isReadOnly()
is true | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getClosedMetadata | ||
| Description |
Gets the metadata for the closed status. | ||
| Return | osid.Metadata | metadata for the customer | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setClosed | ||
| Description |
Sets the closed status. | ||
| Parameters | boolean | closed | the new closed status |
| Errors | INVALID_ARGUMENT | closed is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getOrderFormRecord | ||
| Description |
Gets the | ||
| Parameters | osid.type.Type | orderRecordType | the order record type |
| Return | osid.ordering.records.OrderFormRecord | the order form record | |
| Errors | NULL_ARGUMENT | orderRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(orderRecordType) is false | ||
| Compliance | mandatory | This method must be implemented. | |