Interface AssetSearchOrder
- All Superinterfaces:
Extensible, OsidAggregateableSearchOrder, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidSearchOrder, OsidSourceableSearchOrder, Suppliable
public interface AssetSearchOrder
extends OsidObjectSearchOrder, OsidAggregateableSearchOrder, OsidSourceableSearchOrder
An interface for specifying the ordering of search results.
-
Method Summary
Modifier and TypeMethodDescriptiongetAssetSearchOrderRecord(Type assetRecordType) Gets the asset search order record corresponding to the given asset recordType.Gets the source order.voidorderByCopyright(SearchOrderStyle style) Specifies a preference for grouping the result set by copyright.voidSpecifies a preference for grouping the result set by copyright registration.voidSpecifies a preference for ordering the result set by created date.voidSpecifies a preference for grouping the result set by the ability to distribute alterations.voidSpecifies a preference for grouping the result set by the ability to distribute compositions.voidSpecifies a preference for grouping the result set by the ability to distribute copies.voidSpecifies a preference for ordering the result set by the principal credits.voidSpecifies a preference for grouping the result set by published domain.voidorderByPublished(SearchOrderStyle style) Specifies a preference for grouping the result set by published status.voidSpecifies a preference for ordering the result set by published date.voidorderBySource(SearchOrderStyle style) Specifies a preference for ordering the result set by asset source.voidSpecifies a preference for ordering the result set by temporal coverage.voidorderByTitle(SearchOrderStyle style) Specifies a preference for ordering the result set by asset title.booleanTests if a source order interface is available.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidIdentifiableSearchOrder
orderByIdModifier and TypeMethodDescriptionvoidorderById(SearchOrderStyle style) Specifies a preference for ordering the result set by theId.Methods inherited from interface OsidObjectSearchOrder
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticModifier and TypeMethodDescriptionvoidOrders by the timestamp of the first journal entry.voidorderByCumulativeRating(Id bookId, SearchOrderStyle style) Orders by the cumulative rating in a givenBook.voidSpecifies a preference for ordering the result set by the description.voidSpecifies a preference for ordering the result set by the display name.voidorderByGenusType(SearchOrderStyle style) Specifies a preference for ordering the result set by the genus type.voidOrders by the timestamp of the last journal entry.voidorderByState(Id processId, SearchOrderStyle style) Orders by the state in a givenProcess.voidorderByStatistic(Id meterId, SearchOrderStyle style) Orders by a statistic for a givenMeter.Methods inherited from interface OsidSourceableSearchOrder
getProviderSearchOrder, orderByProvider, supportsProviderSearchOrderModifier and TypeMethodDescriptionGets the search order interface for a provider.voidorderByProvider(SearchOrderStyle style) Specifies a preference for ordering the results by provider.booleanTests if aProviderSearchOrderinterface is available.
-
Method Details
-
orderByTitle
Specifies a preference for ordering the result set by asset title.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByPublicDomain
Specifies a preference for grouping the result set by published domain.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByCopyright
Specifies a preference for grouping the result set by copyright.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByCopyrightRegistration
Specifies a preference for grouping the result set by copyright registration.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByDistributeVerbatim
Specifies a preference for grouping the result set by the ability to distribute copies.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByDistributeAlterations
Specifies a preference for grouping the result set by the ability to distribute alterations.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByDistributeCompositions
Specifies a preference for grouping the result set by the ability to distribute compositions.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderBySource
Specifies a preference for ordering the result set by asset source.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsSourceSearchOrder
boolean supportsSourceSearchOrder()Tests if a source order interface is available.- Returns:
trueif a source search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getSourceSearchOrder
ResourceSearchOrder getSourceSearchOrder()Gets the source order.- Returns:
- the resource search order for the source
- Throws:
UnimplementedException-supportsSourceSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSourceSearchOrder()} is {@code true} .
-
orderByCreatedDate
Specifies a preference for ordering the result set by created date.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByPublished
Specifies a preference for grouping the result set by published status.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByPublishedDate
Specifies a preference for ordering the result set by published date.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByPrincipalCreditString
Specifies a preference for ordering the result set by the principal credits.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByTemporalCoverage
Specifies a preference for ordering the result set by temporal coverage.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
getAssetSearchOrderRecord
AssetSearchOrderRecord getAssetSearchOrderRecord(Type assetRecordType) throws OperationFailedException Gets the asset search order record corresponding to the given asset recordType. Multiple retrievals return the same underlying object.- Parameters:
assetRecordType- an asset record type- Returns:
- the asset search order record
- Throws:
NullArgumentException-assetRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(assetRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-