| Interface | osid.repository.AssetContentForm | ||
|---|---|---|---|
| Implements | osid.OsidObjectForm | ||
osid.OsidSubjugateableForm | |||
| Description |
This is the form for creating and updating content for
| ||
| Method | getAccessibilityTypeMetadata | ||
| Description |
Gets the metadata for an accessibility type. | ||
| Return | osid.Metadata | metadata for the accessibility types | |
| Compliance | mandatory | This method must be implemented. | |
| Method | addAccessibilityType | ||
| Description |
Adds an accessibility type. Multiple types can be added. | ||
| Parameters | osid.type.Type | accessibilityType | a new accessibility type |
| Errors | INVALID_ARGUMENT | accessibilityType is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| NULL_ARGUMENT | accessibilityTYpe is null | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | removeAccessibilityType | ||
| Description |
Removes an accessibility type. | ||
| Parameters | osid.type.Type | accessibilityType | accessibility type to remove |
| Errors | NO_ACCESS | Metadata.isReadOnly() is true | |
| NOT_FOUND | acessibility type not found | ||
| NULL_ARGUMENT | accessibilityType is null | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearAccessibilityTypes | ||
| Description |
Removes all accessibility types. | ||
| Errors | NO_ACCESS | Metadata.isReadOnly() is true | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDataMetadata | ||
| Description |
Gets the metadata for the content data. | ||
| Return | osid.Metadata | metadata for the content data | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setData | ||
| Description |
Sets the content data. | ||
| Parameters | osid.transport.DataInputStream | data | the content data |
| Errors | INVALID_ARGUMENT | data is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| NULL_ARGUMENT | data is null | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearData | ||
| Description |
Removes the content data. | ||
| Errors | NO_ACCESS | Metadata.isRequired() is true or
Metadata.isReadOnly() is true | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getURLMetadata | ||
| Description |
Gets the metadata for the url. | ||
| Return | osid.Metadata | metadata for the url | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setURL | ||
| Description |
Sets the url. | ||
| Parameters | string | url | the new copyright |
| Errors | INVALID_ARGUMENT | url is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| NULL_ARGUMENT | url is null | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearURL | ||
| Description |
Removes the url. | ||
| Errors | NO_ACCESS | Metadata.isRequired() is true or
Metadata.isReadOnly() is true | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssetContentFormRecord | ||
| Description |
Gets the | ||
| Parameters | osid.type.Type | assetContentRecordType | an asset content record type |
| Return | osid.repository.records.AssetContentFormRecord | the asset content form record | |
| Errors | NULL_ARGUMENT | assetContentRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(assetContentRecordType) is false
| ||
| Compliance | mandatory | This method must be implemented. | |