OSID Logo
OSID Specifications
repository package
Version 3.0.0
Release Candidate Preview
Interfaceosid.repository.AssetSearchOrder
Implementsosid.OsidObjectSearchOrder
osid.OsidAggregateableSearchOrder
osid.OsidSourceableSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByTitle
Description

Specifies a preference for ordering the result set by asset title.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByPublicDomain
Description

Specifies a preference for grouping the result set by published domain.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByCopyright
Description

Specifies a preference for grouping the result set by copyright.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByCopyrightRegistration
Description

Specifies a preference for grouping the result set by copyright registration.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByDistributeVerbatim
Description

Specifies a preference for grouping the result set by the ability to distribute copies.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByDistributeAlterations
Description

Specifies a preference for grouping the result set by the ability to distribute alterations.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByDistributeCompositions
Description

Specifies a preference for grouping the result set by the ability to distribute compositions.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderBySource
Description

Specifies a preference for ordering the result set by asset source.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsSourceSearchOrder
Description

Tests if a source order interface is available.

Returnboolean true if a source search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetSourceSearchOrder
Description

Gets the source order.

Returnosid.resource.ResourceSearchOrderthe resource search order for the source
ErrorsUNIMPLEMENTED supportsSourceSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsSourceSearchOrder() is true.
MethodorderByCreatedDate
Description

Specifies a preference for ordering the result set by created date.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByPublished
Description

Specifies a preference for grouping the result set by published status.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByPublishedDate
Description

Specifies a preference for ordering the result set by published date.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByPrincipalCreditString
Description

Specifies a preference for ordering the result set by the principal credit string.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByTemporalCoverage
Description

Specifies a preference for ordering the result set by temporal coverage.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodgetAssetSearchOrderRecord
Description

Gets the asset search order record corresponding to the given asset record Type. Multiple retrievals return the same underlying object.

Parametersosid.type.TypeassetRecordTypean asset record type
Returnosid.repository.records.AssetSearchOrderRecordthe asset search order record
ErrorsNULL_ARGUMENT assetRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(assetRecordType) is false
CompliancemandatoryThis method must be implemented.