public interface EffortSearchOrder extends OsidRelationshipSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
CommissionSearchOrder |
getCommissionSearchOrder()
Gets the commission search order.
|
EffortSearchOrderRecord |
getEffortSearchOrderRecord(Type effortRecordType)
Gets the effort search order record corresponding to the given effort
record
Type. |
ResourceSearchOrder |
getResourceSearchOrder()
Gets the resource search order.
|
void |
orderByCommission(SearchOrderStyle style)
Orders the results by the commission.
|
void |
orderByResource(SearchOrderStyle style)
Orders the results by resource.
|
void |
orderByTimeSpent(SearchOrderStyle style)
Orders the results by the time spent.
|
boolean |
supportsCommissionSearchOrder()
Tests if a commission 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()
IllegalStateException
-
supportsResourceSearchOrder()
is false
mandatory
- This method must be implemented. void orderByCommission(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsCommissionSearchOrder()
true
if a commission search order is available,
false
otherwisemandatory
- This method must be implemented. CommissionSearchOrder getCommissionSearchOrder()
IllegalStateException
-
supportsCommissionSearchOrder()
is false
mandatory
- This method must be implemented. void orderByTimeSpent(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. EffortSearchOrderRecord getEffortSearchOrderRecord(Type effortRecordType) throws OperationFailedException
Type.
Multiple retrievals return the same
underlying object.effortRecordType
- an effort record typeNullArgumentException
- effortRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(effortRecordType)
is false
mandatory
- This method must be implemented.