OSID Logo
OSID Specifications
installation package
Version 3.0.0
Release Candidate Preview
Interfaceosid.installation.InstallationContentForm
Implementsosid.OsidObjectForm
osid.OsidSubjugateableForm
Description

This is the form for creating and updating InstallationContents. Like all OsidForm objects, 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_ARGUMENT data is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT data is null
CompliancemandatoryThis method must be implemented.
MethodclearData
Description

Removes the content data.

ErrorsNO_ACCESS Metadata.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_ARGUMENT installationContentRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(installationContentRecordType) is false
CompliancemandatoryThis method must be implemented.