public interface ProficiencySearchOrder extends OsidRelationshipSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
GradeSearchOrder |
getLevelSearchOrder()
Gets a grade search order.
|
ObjectiveSearchOrder |
getObjectiveSearchOrder()
Gets an objective search order.
|
ProficiencySearchOrderRecord |
getProficiencySearchOrderRecord(Type proficiencyRecordType)
Gets the proficiency search order record corresponding to the given
proficiency record
Type. |
ResourceSearchOrder |
getResourceSearchOrder()
Gets a resource search order.
|
void |
orderByCompletion(SearchOrderStyle style)
Specifies a preference for ordering the result set by the completion.
|
void |
orderByLevel(SearchOrderStyle style)
Specifies a preference for ordering the result set by the level.
|
void |
orderByObjective(SearchOrderStyle style)
Specifies a preference for ordering the result set by the objective.
|
void |
orderByResource(SearchOrderStyle style)
Specifies a preference for ordering the result set by the resource.
|
boolean |
supportsLevelSearchOrder()
Tests if a grade search order is available.
|
boolean |
supportsObjectiveSearchOrder()
Tests if an objective search order is available.
|
boolean |
supportsResourceSearchOrder()
Tests if a resource search order is available.
|
getEndReasonSearchOrder, orderByEndReason, supportsEndReasonSearchOrder
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
orderByEffective, orderByEndDate, orderByStartDate
void orderByResource(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsResourceSearchOrder()
true
if a resource search order is available,
false
otherwisemandatory
- This method must be implemented. ResourceSearchOrder getResourceSearchOrder()
UnimplementedException
-
supportsResourceSearchOrder()
is false
optional
- This method must be implemented if
supportsResourceSearchOrder()
is true.
void orderByObjective(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsObjectiveSearchOrder()
true
if an objective search order is available,
false
otherwisemandatory
- This method must be implemented. ObjectiveSearchOrder getObjectiveSearchOrder()
UnimplementedException
-
supportsObjectiveSearchOrder()
is false
optional
- This method must be implemented if
supportsObjectiveSearchOrder()
is true.
void orderByCompletion(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByLevel(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsLevelSearchOrder()
true
if a grade search order is available,
false
otherwisemandatory
- This method must be implemented. GradeSearchOrder getLevelSearchOrder()
UnimplementedException
-
supportsLevelSearchOrder()
is false
optional
- This method must be implemented if
supportsLevelSearchOrder()
is true.
ProficiencySearchOrderRecord getProficiencySearchOrderRecord(Type proficiencyRecordType) throws OperationFailedException
Type.
Multiple retrievals return the
same underlying object.proficiencyRecordType
- a proficiency record typeNullArgumentException
- proficiencyRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(proficiencyRecordType)
is false
mandatory
- This method must be implemented.