public interface ResponseSearchOrder extends OsidRelationshipSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
InquirySearchOrder |
getInquirySearchOrder()
Gets the inquiry search order.
|
ResourceSearchOrder |
getResponderSearchOrder()
Gets the responder resource search order.
|
AgentSearchOrder |
getRespondingAgentSearchOrder()
Gets the responding agent search order.
|
ResponseSearchOrderRecord |
getResponseSearchOrderRecord(Type responseRecordType)
Gets the response search order record corresponding to the given
response record
Type. |
void |
orderByAffirmative(SearchOrderStyle style)
Orders the results by affirmative responses.
|
void |
orderByInquiry(SearchOrderStyle style)
Orders the results by inquiry.
|
void |
orderByResponder(SearchOrderStyle style)
Orders the results by responder resource.
|
void |
orderByRespondingAgent(SearchOrderStyle style)
Orders the results by responding agent.
|
boolean |
supportsInquirySearchOrder()
Tests if an inquiry search order is available.
|
boolean |
supportsResponderSearchOrder()
Tests if a responder resource search order is available.
|
boolean |
supportsRespondingAgentSearchOrder()
Tests if a responding agent search order is available.
|
getEndReasonSearchOrder, orderByEndReason, supportsEndReasonSearchOrder
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
orderByEffective, orderByEndDate, orderByStartDate
void orderByInquiry(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsInquirySearchOrder()
true
if an inquiry search order is available,
false
otherwisemandatory
- This method must be implemented. InquirySearchOrder getInquirySearchOrder()
IllegalStateException
-
supportsInquirySearchOrder()
is false
mandatory
- This method must be implemented. void orderByResponder(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsResponderSearchOrder()
true
if a resource search order is available,
false
otherwisemandatory
- This method must be implemented. ResourceSearchOrder getResponderSearchOrder()
IllegalStateException
-
supportsResponderSearchOrder()
is false
mandatory
- This method must be implemented. void orderByRespondingAgent(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsRespondingAgentSearchOrder()
true
if an agent search order is available,
false
otherwisemandatory
- This method must be implemented. AgentSearchOrder getRespondingAgentSearchOrder()
IllegalStateException
-
supportsRespondingAgentSearchOrder()
is false
mandatory
- This method must be implemented. void orderByAffirmative(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. ResponseSearchOrderRecord getResponseSearchOrderRecord(Type responseRecordType) throws OperationFailedException
Type.
Multiple retrievals return the
same underlying object.responseRecordType
- a response record typeNullArgumentException
- responseRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(responseRecordType)
is false
mandatory
- This method must be implemented.