OSID Logo
OSID Specifications
installation package
Version 3.1.0
Interfaceosid.installation.InstallationPackageForm
Implementsosid.OsidObjectForm
osid.OsidSourceableForm
Implemented Byosid.installation.batch.InstallationPackageBatchForm
Used Byosid.installation.InstallationPackageAdminSession
Description

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

MethodgetVersionMetadata
Description

Gets the metadata for a version.

Returnosid.Metadata metadata for the version
Compliancemandatory This method must be implemented.
MethodsetVersion
Description

Sets the version.

Parametersosid.installation.Versionversion the new version
ErrorsINVALID_ARGUMENT version is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT version is null
Compliancemandatory This method must be implemented.
MethodclearVersion
Description

Clears the version.

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

Gets the metadata for a copyright.

Returnosid.Metadata metadata for the copyright
Compliancemandatory This method must be implemented.
MethodsetCopyright
Description

Sets the copyright.

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

Clears the version.

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

Gets the metadata for the requires license acknowledgement flag.

Returnosid.Metadata metadata for the acknowledgement flag
Compliancemandatory This method must be implemented.
MethodsetRequiresLicenseAcknowledgement
Description

Sets the requires license acknowledgement flag.

ParametersbooleanrequiresLicenseAcknowledgement the new ackknowledgement flag
ErrorsINVALID_ARGUMENT requiresLicenseAcknowledgement is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearRequiresLicenseAcknowledgement
Description

Clears the acknowledgement flag.

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

Gets the metadata for a creator resource.

Returnosid.Metadata metadata for the creator resource
Compliancemandatory This method must be implemented.
MethodsetCreator
Description

Sets the creator resource.

Parametersosid.id.IdresourceId the new creator resource
ErrorsINVALID_ARGUMENT resourceId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT resourceId is null
Compliancemandatory This method must be implemented.
MethodclearCreator
Description

Clears the creator.

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

Gets the metadata for the release date.

Returnosid.Metadata metadata for the release date
Compliancemandatory This method must be implemented.
MethodsetReleaseDate
Description

Sets the publisher release date.

Parametersosid.calendaring.DateTimereleaseDate the new release date
ErrorsINVALID_ARGUMENT releaseDate is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT releaseDate is null
Compliancemandatory This method must be implemented.
MethodclearReleaseDate
Description

Clears the release date.

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

Gets the metadata for the package dependencies.

Returnosid.Metadata metadata for the package dependencies
Compliancemandatory This method must be implemented.
MethodsetDependencies
Description

Sets the dependencies.

Parametersosid.id.Id[]installationPackageIds the new package dependencies
ErrorsINVALID_ARGUMENT installationPackageIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT installationPackageIds is null
Compliancemandatory This method must be implemented.
MethodclearDependencies
Description

Clears the package dependencies.

ErrorsNO_ACCESS Metadata.isRequired() 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 url
ErrorsINVALID_ARGUMENT url is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT url is null
Compliancemandatory This method must be implemented.
MethodclearURL
Description

Clears the url.

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

Gets the InstallationPackageFormRecord corresponding to the given package record Type.

Parametersosid.type.TypeinstallationPackageRecordType the package record type
Returnosid.installation.records.InstallationPackageFormRecord the package form record
ErrorsNULL_ARGUMENT installationPackageRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(packageRecordType) is false
Compliancemandatory This method must be implemented.