OSID Logo
OSID Specifications
osid package
Version 3.1.0
Interfaceosid.OsidSourceableForm
Implementsosid.OsidForm
Implemented Byosid.OsidCatalogForm
osid.OsidGovernatorForm
osid.installation.InstallationPackageForm
osid.repository.AssetForm
osid.repository.CompositionForm
osid.recipe.RecipeForm
osid.blogging.EntryForm
Description

This form is used to create and update sourceables.

MethodgetProviderMetadata
Description

Gets the metadata for a provider.

Returnosid.Metadata metadata for the provider
Compliancemandatory This method must be implemented.
MethodsetProvider
Description

Sets a provider.

Parametersosid.id.IdproviderId the new provider
ErrorsINVALID_ARGUMENT providerId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT providerId is null
Compliancemandatory This method must be implemented.
MethodclearProvider
Description

Removes the provider.

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

Gets the metadata for the asset branding.

Returnosid.Metadata metadata for the asset branding.
Compliancemandatory This method must be implemented.
MethodsetBranding
Description

Sets the branding.

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

Removes the branding.

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

Gets the metadata for the license.

Returnosid.Metadata metadata for the license
Compliancemandatory This method must be implemented.
MethodsetLicense
Description

Sets the license.

Parametersstringlicense the new license
ErrorsINVALID_ARGUMENT license is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT license is null
Compliancemandatory This method must be implemented.
MethodclearLicense
Description

Removes the license.

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