OSID Logo
OSID Specifications
repository package
Version 3.1.0
Interfaceosid.repository.AssetContentForm
Implementsosid.OsidObjectForm
osid.OsidSubjugateableForm
Implemented Byosid.repository.batch.AssetContentBatchForm
Used Byosid.repository.AssetAdminSession
osid.repository.AssetContentAdminSession
Description

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

MethodgetAccessibilityTypeMetadata
Description

Gets the metadata for an accessibility type.

Returnosid.Metadata metadata for the accessibility types
Compliancemandatory This method must be implemented.
MethodgetDataMetadata
Description

Gets the metadata for the content data.

Returnosid.Metadata metadata for the content data
Compliancemandatory This method must be implemented.
MethodsetData
Description

Sets the content data.

Parametersosid.transport.DataInputStreamdata the content data
ErrorsINVALID_ARGUMENT data is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT data is null
Compliancemandatory This method must be implemented.
MethodclearData
Description

Removes the content data.

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

Gets the metadata for the url.

Returnosid.Metadata metadata for the url
Compliancemandatory This method must be implemented.
MethodsetURL
Description

Sets the url.

Parametersstringurl the new copyright
ErrorsINVALID_ARGUMENT url is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT url is null
Compliancemandatory This method must be implemented.
MethodclearURL
Description

Removes the url.

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

Gets the AssetContentFormRecord corresponding to the given asset content record Type.

Parametersosid.type.TypeassetContentRecordType an asset content record type
Returnosid.repository.records.AssetContentFormRecord the asset content form record
ErrorsNULL_ARGUMENT assetContentRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(assetContentRecordType) is false
Compliancemandatory This method must be implemented.