OSID Logo
OSID Specifications
installation package
Version 3.0.0
Interfaceosid.installation.InstallationContentForm
Implementsosid.OsidObjectForm
osid.OsidSubjugateableForm
Used Byosid.installation.PackageAdminSession
Description

This is the form for creating and updating InstallationContents . Like all OsidForms , various data elements may be set here for use in the create and update methods in the InstallationContentsAdminSession . For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetDataMetadata
Description

Gets the metadata for the content data.

Returnosid.Metadatametadata for the content data
CompliancemandatoryThis method must be implemented.
MethodsetData
Description

Sets the content data.

Parametersosid.transport.DataInputStreamdatathe content data
ErrorsINVALID_ARGUMENTdata is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTdata is null
CompliancemandatoryThis method must be implemented.
MethodclearData
Description

Removes the content data.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetInstallationContentFormRecord
Description

Gets the InstallationContentFormRecord corresponding to the given installation content record Type .

Parametersosid.type.TypeinstallationContentRecordTypethe installation content record type
Returnosid.installation.records.InstallationContentFormRecordthe installation content form record
ErrorsNULL_ARGUMENTinstallationContentRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(installationContentRecordType) is false
CompliancemandatoryThis method must be implemented.