public interface AssessmentPartSearchOrder extends OsidObjectSearchOrder, OsidContainableSearchOrder, OsidOperableSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
AssessmentPartSearchOrderRecord |
getAssessmentPartSearchOrderRecord(Type assessmentPartRecordType)
Gets the assessment part search order record corresponding to the
given assessment part record
Type. |
AssessmentSearchOrder |
getAssessmentSearchOrder()
Gets the assessment order.
|
void |
orderByAllocatedTime(SearchOrderStyle style)
Specifies a preference for ordering the result set by the allocated
time.
|
void |
orderByAssessment(SearchOrderStyle style)
Specifies a preference for ordering the result set by the assessment.
|
void |
orderBySection(SearchOrderStyle style)
Specifies a preference for ordering the result set by the section.
|
void |
orderByWeight(SearchOrderStyle style)
Specifies a preference for ordering the result set by the weight.
|
boolean |
supportsAssessmentSearchOrder()
Tests if an assessment search order is available.
|
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
orderBySequestered
orderByActive, orderByDisabled, orderByEnabled, orderByOperational
void orderByAssessment(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsAssessmentSearchOrder()
true
if an assessment search order is
available, false
otherwisemandatory
- This method must be implemented. AssessmentSearchOrder getAssessmentSearchOrder()
UnimplementedException
-
supportsAssessmentSearchOrder()
is false
optional
- This method must be implemented if
supportsAssessmentSearchOrder()
is true.
void orderBySection(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByWeight(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByAllocatedTime(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. AssessmentPartSearchOrderRecord getAssessmentPartSearchOrderRecord(Type assessmentPartRecordType) throws OperationFailedException
Type.
Multiple retrievals
return the same underlying object.assessmentPartRecordType
- an assessment part record typeNullArgumentException
- assessmentPartRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(assessmentPartRecordType)
is
false
mandatory
- This method must be implemented.