public interface RelationshipSearchOrder extends OsidRelationshipSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
RelationshipSearchOrderRecord |
getRelationshipSearchOrderRecord(Type relationshipRecordType)
Gets the relationship search order record corresponding to the given
relationship record
Type. |
void |
orderByDestination(SearchOrderStyle style)
Specifies a preference for ordering the result set by the destination
peer.
|
void |
orderBySource(SearchOrderStyle style)
Specifies a preference for ordering the result set by the source peer.
|
getEndReasonSearchOrder, orderByEndReason, supportsEndReasonSearchOrder
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
orderByEffective, orderByEndDate, orderByStartDate
void orderBySource(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByDestination(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. RelationshipSearchOrderRecord getRelationshipSearchOrderRecord(Type relationshipRecordType) throws OperationFailedException, PermissionDeniedException
Type.
Multiple retrievals return
the same underlying object.relationshipRecordType
- a relationship record typeNullArgumentException
- relationshipRecordType
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
hasRecordType(relationshipRecordType)
is false
mandatory
- This method must be implemented.