| Interface | osid.OsidSourceableForm | ||
|---|---|---|---|
| Implements | osid.OsidForm | ||
| Description |
This form is used to create and update sourceables. | ||
| Method | getProviderMetadata | ||
| Description |
Gets the metadata for a provider. | ||
| Return | osid.Metadata | metadata for the provider | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setProvider | ||
| Description |
Sets a provider. | ||
| Parameters | osid.id.Id | providerId | the new provider |
| Errors | INVALID_ARGUMENT | providerId is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| NULL_ARGUMENT | providerId is null | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearProvider | ||
| Description |
Removes the provider. | ||
| Errors | NO_ACCESS | Metadata.isRequired() is true or
Metadata.isReadOnly() is true | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBrandingMetadata | ||
| Description |
Gets the metadata for the asset branding. | ||
| Return | osid.Metadata | metadata for the asset branding. | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setBranding | ||
| Description |
Sets the branding. | ||
| Parameters | osid.id.Id[] | assetIds | the new assets |
| Errors | INVALID_ARGUMENT | assetIds is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| NULL_ARGUMENT | assetIds is null | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearBranding | ||
| Description |
Removes the branding. | ||
| Errors | NO_ACCESS | Metadata.isRequired() is true or
Metadata.isReadOnly() is true | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getLicenseMetadata | ||
| Description |
Gets the metadata for the license. | ||
| Return | osid.Metadata | metadata for the license | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setLicense | ||
| Description |
Sets the license. | ||
| Parameters | string | license | the new license |
| Errors | INVALID_ARGUMENT | license is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| NULL_ARGUMENT | license is null | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearLicense | ||
| Description |
Removes the license. | ||
| Errors | NO_ACCESS | Metadata.isRequired() is true or
Metadata.isReadOnly() is true | |
| Compliance | mandatory | This method must be implemented. | |