public interface ReplySearchOrder extends OsidObjectSearchOrder, OsidContainableSearchOrder, OsidSubjugateableSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
ResourceSearchOrder |
getPosterSearchOrder()
Gets the resource search order interface.
|
AgentSearchOrder |
getPostingAgentSearchOrder()
Gets the posting agent search order interface.
|
ReplySearchOrderRecord |
getReplySearchOrderRecord(Type replyRecordType)
Gets the reply search order record corresponding to the given reply
record
Type. |
void |
orderByPoster(SearchOrderStyle style)
Specifies a preference for ordering the result set by the poster.
|
void |
orderByPostingAgent(SearchOrderStyle style)
Specifies a preference for ordering the result set by the posting
agent.
|
void |
orderBySubjectLine(SearchOrderStyle style)
Specifies a preference for ordering the result set by the subject.
|
void |
orderByText(SearchOrderStyle style)
Specifies a preference for ordering the result set by the text.
|
void |
orderByTimestamp(SearchOrderStyle style)
Specifies a preference for ordering the result set by the timestamp.
|
boolean |
supportsPosterSearchOrder()
Tests if a poster resource search order interface is available.
|
boolean |
supportsPostingAgentSearchOrder()
Tests if a posting agent search order interface is available.
|
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
orderBySequestered
void orderByTimestamp(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByPoster(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsPosterSearchOrder()
true
if a resource search order interface is
available, false
otherwisemandatory
- This method must be implemented. ResourceSearchOrder getPosterSearchOrder()
UnimplementedException
-
supportsPosterSearchOrder()
is false
optional
- This method must be implemented if
supportsPosterSearchOrder()
is true.
void orderByPostingAgent(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsPostingAgentSearchOrder()
true
if a agent search order interface is
available, false
otherwisemandatory
- This method must be implemented. AgentSearchOrder getPostingAgentSearchOrder()
UnimplementedException
-
supportsPostingAgentSearchOrder()
is false
optional
- This method must be implemented if
supportsPostingAgentSearchOrder()
is true.
void orderBySubjectLine(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByText(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. ReplySearchOrderRecord getReplySearchOrderRecord(Type replyRecordType) throws OperationFailedException
Type.
Multiple retrievals return the same
underlying object.replyRecordType
- a reply record typeNullArgumentException
- replyRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(replyRecordType)
is false
mandatory
- This method must be implemented.