Interface | osid.installation.InstallationContent | ||
---|---|---|---|
Implements | osid.OsidObject | ||
osid.Subjugateable | |||
Description |
An installation content contains information about the installation data. | ||
Method | getPackageId | ||
Description |
Gets the | ||
Return | osid.id.Id | the package Id | |
Compliance | mandatory | This method must be implemented. | |
Method | getPackage | ||
Description |
Gets the | ||
Return | osid.installation.Package | the package | |
Compliance | mandatory | This method must be implemented. | |
Method | hasDataLength | ||
Description |
Tests if a data length is available. | ||
Return | boolean | true if a length is available for this content, false
otherwise. | |
Compliance | mandatory | This method must be implemented. | |
Method | getDataLength | ||
Description |
Gets the length of the data represented by this content in bytes. | ||
Return | cardinal | the length of the data stream | |
Errors | ILLEGAL_STATE | hasDataLength() is false | |
Compliance | mandatory | This method must be implemented. | |
Method | getData | ||
Description |
Gets the asset content data. | ||
Return | osid.transport.DataInputStream | the length of the content data | |
Errors | OPERATION_FAILED | unable to complete request | |
Compliance | mandatory | This method must be implemented. | |
Method | getInstallationContentRecord | ||
Description |
Gets the installation content record corresponding to
the given | ||
Parameters | osid.type.Type | installationContentRecordType | an installation content record type |
Return | osid.installation.records.InstallationContentRecord | the installation content record | |
Errors | NULL_ARGUMENT | installationContentRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(installationContentRecordType) is false
| ||
Compliance | mandatory | This method must be implemented. |