Interface | osid.repository.Asset | ||
---|---|---|---|
Implements | osid.OsidObject | ||
osid.Aggregateable | |||
osid.Sourceable | |||
Description |
An An example is a photograph of the Bay Bridge. The content
may deliver a JPEG in multiple resolutions where the Since an Asset may have multiple The A publisher is applicable if the content of this The core Asset defines methods to perform general searches
and construct bibliographic entries without knowledge of a
particular | ||
Method | getTitle | ||
Description |
Gets the proper title of this asset. This may be the same as the display name or the display name may be used for a less formal label. | ||
Return | osid.locale.DisplayText | the title of this asset | |
Compliance | mandatory | This method must be implemented. | |
Method | isCopyrightStatusKnown | ||
Description |
Tests if the copyright status is known. | ||
Return | boolean | true if the copyright status of this asset is known,
false otherwise. If false, isPublicDomain(),
canDistributeVerbatim(), canDistributeAlterations() and
canDistributeCompositions() may also be false. | |
Compliance | mandatory | This method must be implemented. | |
Method | isPublicDomain | ||
Description |
Tests if this asset is in the public domain. An asset is in the public domain if copyright is not applicable, the copyright has expired, or the copyright owner has expressly relinquished the copyright. | ||
Return | boolean | true if this asset is in the public domain, false
otherwise. If true, canDistributeVerbatim(),
canDistributeAlterations() and canDistributeCompositions() must also
be true. | |
Errors | ILLEGAL_STATE | isCopyrightStatusKnown() is false | |
Compliance | mandatory | This method must be implemented. | |
Method | getCopyright | ||
Description |
Gets the copyright statement and of this asset which identifies the current copyright holder. For an asset in the public domain, this method may return the original copyright statement although it may be no longer valid. | ||
Return | osid.locale.DisplayText | the copyright statement or an empty string if none available. An empty string does not imply the asset is not protected by copyright. | |
Errors | ILLEGAL_STATE | isCopyrightStatusKnown() is false | |
Compliance | mandatory | This method must be implemented. | |
Method | getCopyrightRegistration | ||
Description |
Gets the copyright registration information for this asset. | ||
Return | string | the copyright registration. An empty string means the registration status isn't known. | |
Errors | ILLEGAL_STATE | isCopyrightStatusKnown() is false | |
Compliance | mandatory | This method must be implemented. | |
Method | canDistributeVerbatim | ||
Description |
Tests if there are any license restrictions on this asset that restrict the distribution, re-publication or public display of this asset, commercial or otherwise, without modification, alteration, or inclusion in other works. This method is intended to offer consumers a means of filtering out search results that restrict distribution for any purpose. The scope of this method does not include licensing that describes warranty disclaimers or attribution requirements. This method is intended for informational purposes only and does not replace or override the terms specified in a license agreement which may specify exceptions or additional restrictions. | ||
Return | boolean | true if the asset can be distributed verbatim, false
otherwise. | |
Errors | ILLEGAL_STATE | isCopyrightStatusKnown() is false | |
Compliance | mandatory | This method must be implemented. | |
Method | canDistributeAlterations | ||
Description |
Tests if there are any license restrictions on this asset that restrict the distribution, re-publication or public display of any alterations or modifications to this asset, commercial or otherwise, for any purpose. This method is intended to offer consumers a means of filtering out search results that restrict the distribution or public display of any modification or alteration of the content or its metadata of any kind, including editing, translation, resampling, resizing and cropping. The scope of this method does not include licensing that describes warranty disclaimers or attribution requirements. This method is intended for informational purposes only and does not replace or override the terms specified in a license agreement which may specify exceptions or additional restrictions. | ||
Return | boolean | true if the asset can be modified, false
otherwise. If true, canDistributeVerbatim() must
also be true. | |
Errors | ILLEGAL_STATE | isCopyrightStatusKnown() is false | |
Compliance | mandatory | This method must be implemented. | |
Method | canDistributeCompositions | ||
Description |
Tests if there are any license restrictions on this asset that restrict the distribution, re-publication or public display of this asset as an inclusion within other content or composition, commercial or otherwise, for any purpose, including restrictions upon the distribution or license of the resulting composition. This method is intended to offer consumers a means of filtering out search results that restrict the use of this asset within compositions. The scope of this method does not include licensing that describes warranty disclaimers or attribution requirements. This method is intended for informational purposes only and does not replace or override the terms specified in a license agreement which may specify exceptions or additional restrictions. | ||
Return | boolean | true if the asset can be part of a larger composition
false otherwise. If true,
canDistributeVerbatim() must also be true. | |
Errors | ILLEGAL_STATE | isCopyrightStatusKnown() is false | |
Compliance | mandatory | This method must be implemented. | |
Method | getSourceId | ||
Description |
Gets the An | ||
Return | osid.id.Id | the source Id | |
Compliance | mandatory | This method must be implemented. | |
Method | getSource | ||
Description |
Gets the | ||
Return | osid.resource.Resource | the source | |
Compliance | mandatory | This method must be implemented. | |
Method | getProviderLinkIds | ||
Description |
Gets the resource | ||
Return | osid.id.IdList | the provider Ids | |
Compliance | mandatory | This method must be implemented. | |
Method | getProviderLinks | ||
Description |
Gets the | ||
Return | osid.resource.ResourceList | the provider chain | |
Errors | OPERATION_FAILED | unable to complete request | |
Compliance | mandatory | This method must be implemented. | |
Method | getCreatedDate | ||
Description |
Gets the created date of this asset, which is generally not related to when the object representing the asset was created. The date returned may indicate that not much is known. | ||
Return | osid.calendaring.DateTime | the created date | |
Compliance | mandatory | This method must be implemented. | |
Method | isPublished | ||
Description |
Tests if this asset has been published. Not all assets viewable in this repository may have been published. The source of a published asset indicates the publisher. | ||
Return | boolean | true if this asset has been published, false if unpublished
or its published status is not known | |
Compliance | mandatory | This method must be implemented. | |
Method | getPublishedDate | ||
Description |
Gets the published date of this asset. Unpublished assets have no published date. A published asset has a date available, however the date returned may indicate that not much is known. | ||
Return | osid.calendaring.DateTime | the published date | |
Errors | ILLEGAL_STATE | isPublished() is false | |
Compliance | mandatory | This method must be implemented. | |
Method | getPrincipalCreditString | ||
Description |
Gets the credits of the principal people involved in the production of this asset as a display string. | ||
Return | osid.locale.DisplayText | the principal credits | |
Compliance | mandatory | This method must be implemented. | |
Method | getAssetContentIds | ||
Description |
Gets the content | ||
Return | osid.id.IdList | the asset content Ids | |
Compliance | mandatory | This method must be implemented. | |
Method | getAssetContents | ||
Description |
Gets the content of this asset. | ||
Return | osid.repository.AssetContentList | the asset contents | |
Errors | OPERATION_FAILED | unable to complete request | |
Compliance | mandatory | This method must be implemented. | |
Method | isComposition | ||
Description |
Tetss if this asset is a representation of a composition of assets. | ||
Return | boolean | true if this asset is a composition, false otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getCompositionId | ||
Description |
Gets the | ||
Return | osid.id.Id | the composiiton Id | |
Errors | ILLEGAL_STATE | isComposition() is false | |
Compliance | mandatory | This method must be implemented. | |
Method | getComposition | ||
Description |
Gets the Composition corresponding to this asset. | ||
Return | osid.repository.Composition | the composiiton | |
Errors | ILLEGAL_STATE | isComposition() is false | |
OPERATION_FAILED | unable to complete request | ||
Compliance | mandatory | This method must be implemented. | |
Method | getAssetRecord | ||
Description |
Gets the asset record corresponding to the given | ||
Parameters | osid.type.Type | assetRecordType | an asset record type |
Return | osid.repository.records.AssetRecord | the asset record | |
Errors | NULL_ARGUMENT | assetRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(assetRecordType) is false | ||
Compliance | mandatory | This method must be implemented. |