OSID Logo
OSID Specifications
osid package
Version 3.0.0
Release Candidate Preview
Interfaceosid.OsidSourceableForm
Implementsosid.OsidForm
Description

This form is used to create and update sourceables.

MethodgetProviderMetadata
Description

Gets the metadata for a provider.

Returnosid.Metadatametadata for the provider
CompliancemandatoryThis method must be implemented.
MethodsetProvider
Description

Sets a provider.

Parametersosid.id.IdproviderIdthe new provider
ErrorsINVALID_ARGUMENT providerId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT providerId is null
CompliancemandatoryThis method must be implemented.
MethodclearProvider
Description

Removes the provider.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetBrandingMetadata
Description

Gets the metadata for the asset branding.

Returnosid.Metadatametadata for the asset branding.
CompliancemandatoryThis method must be implemented.
MethodsetBranding
Description

Sets the branding.

Parametersosid.id.Id[]assetIdsthe new assets
ErrorsINVALID_ARGUMENT assetIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT assetIds is null
CompliancemandatoryThis method must be implemented.
MethodclearBranding
Description

Removes the branding.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetLicenseMetadata
Description

Gets the metadata for the license.

Returnosid.Metadatametadata for the license
CompliancemandatoryThis method must be implemented.
MethodsetLicense
Description

Sets the license.

Parametersstringlicensethe new license
ErrorsINVALID_ARGUMENT license is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT license is null
CompliancemandatoryThis method must be implemented.
MethodclearLicense
Description

Removes the license.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.