public interface CommissionSearchOrder extends OsidRelationshipSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
CommissionSearchOrderRecord |
getCommissionSearchOrderRecord(Type commissionRecordType)
Gets the commission search order record corresponding to the given
commission record
Type. |
CompetencySearchOrder |
getCompetencySearchOrder()
Gets the competency search order.
|
ResourceSearchOrder |
getResourceSearchOrder()
Gets the resource search order.
|
WorkSearchOrder |
getWorkSearchOrder()
Gets the work search order.
|
void |
orderByCompetency(SearchOrderStyle style)
Orders the results by competency.
|
void |
orderByPercentage(SearchOrderStyle style)
Orders the results by percentage availability.
|
void |
orderByResource(SearchOrderStyle style)
Orders the results by resource.
|
void |
orderByWork(SearchOrderStyle style)
Orders the results by work.
|
boolean |
supportsCompetencySearchOrder()
Tests if a competency search order is available.
|
boolean |
supportsResourceSearchOrder()
Tests if a resource search order is available.
|
boolean |
supportsWorkSearchOrder()
Tests if a work 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 orderByWork(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsWorkSearchOrder()
true
if a work search order is available,
false
otherwisemandatory
- This method must be implemented. WorkSearchOrder getWorkSearchOrder()
IllegalStateException
-
supportsWorkSearchOrder()
is false
mandatory
- This method must be implemented. void orderByCompetency(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsCompetencySearchOrder()
true
if a competency search order is available,
false
otherwisemandatory
- This method must be implemented. CompetencySearchOrder getCompetencySearchOrder()
IllegalStateException
-
supportsCompetencySearchOrder()
is false
mandatory
- This method must be implemented. void orderByPercentage(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. CommissionSearchOrderRecord getCommissionSearchOrderRecord(Type commissionRecordType) throws OperationFailedException
Type.
Multiple retrievals return the
same underlying object.commissionRecordType
- a commission record typeNullArgumentException
- commissionRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(commissionRecordType)
is false
mandatory
- This method must be implemented.