public interface ProvisionSearchOrder extends OsidRelationshipSearchOrder
An interface for specifying the ordering of search results.
| Modifier and Type | Method and Description |
|---|---|
BrokerSearchOrder |
getBrokerSearchOrder()
Gets the broker search order.
|
ProvisionableSearchOrder |
getProvisionableSearchOrder()
Gets the provisionable search order.
|
ProvisionReturnSearchOrder |
getProvisionReturnSearchOrder()
Gets the provision return search order.
|
ProvisionSearchOrderRecord |
getProvisionSearchOrderRecord(Type provisionRecordType)
Gets the provision search order record corresponding to the given
provision record
Type. |
ResourceSearchOrder |
getRecipientSearchOrder()
Gets the resource search order.
|
RequestSearchOrder |
getRequestSearchOrder()
Gets the request search order.
|
void |
orderByBroker(SearchOrderStyle style)
Orders the results by the broker.
|
void |
orderByCost(SearchOrderStyle style)
Orders the results by the cost.
|
void |
orderByDueDate(SearchOrderStyle style)
Orders the results by the due date.
|
void |
orderByLeased(SearchOrderStyle style)
Orders the results by the leased flag.
|
void |
orderByMustReturn(SearchOrderStyle style)
Orders the results by the must return flag.
|
void |
orderByProvisionable(SearchOrderStyle style)
Orders the results by the provisionable.
|
void |
orderByProvisionDate(SearchOrderStyle style)
Orders the results by the provision date.
|
void |
orderByProvisionReturn(SearchOrderStyle style)
Orders the results by returned.
|
void |
orderByRate(SearchOrderStyle style)
Orders the results by the rate amount and period.
|
void |
orderByRecipient(SearchOrderStyle style)
Orders the results by the recipient.
|
void |
orderByRequest(SearchOrderStyle style)
Orders the results by the request.
|
boolean |
supportsBrokerSearchOrder()
Tests if a broker search order is available.
|
boolean |
supportsProvisionableSearchOrder()
Tests if a provisionable search order is available.
|
boolean |
supportsProvisionReturnSearchOrder()
Tests if a provision return search order is available.
|
boolean |
supportsRecipientSearchOrder()
Tests if a resource search order is available.
|
boolean |
supportsRequestSearchOrder()
Tests if a request search order is available.
|
getEndReasonSearchOrder, orderByEndReason, supportsEndReasonSearchOrderorderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticorderByIdgetRecordTypes, hasRecordTypeorderByEffective, orderByEndDate, orderByStartDatevoid orderByBroker(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsBrokerSearchOrder()
true if a broker search order is available,
false otherwisemandatory - This method must be implemented. BrokerSearchOrder getBrokerSearchOrder()
IllegalStateException -
supportsBrokerSearchOrder() is false mandatory - This method must be implemented. void orderByProvisionable(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsProvisionableSearchOrder()
true if a provisionable search order is
available, false otherwisemandatory - This method must be implemented. ProvisionableSearchOrder getProvisionableSearchOrder()
IllegalStateException -
supportsProvisionableSearchOrder() is false
mandatory - This method must be implemented. void orderByRecipient(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsRecipientSearchOrder()
true if a resource search order is available,
false otherwisemandatory - This method must be implemented. ResourceSearchOrder getRecipientSearchOrder()
IllegalStateException -
supportsRecipientSearchOrder() is false mandatory - This method must be implemented. void orderByRequest(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsRequestSearchOrder()
true if a request search order is available,
false otherwisemandatory - This method must be implemented. RequestSearchOrder getRequestSearchOrder()
IllegalStateException -
supportsRequestSearchOrder() is false mandatory - This method must be implemented. void orderByProvisionDate(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. void orderByLeased(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. void orderByMustReturn(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. void orderByDueDate(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. void orderByCost(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. void orderByRate(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. void orderByProvisionReturn(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsProvisionReturnSearchOrder()
true if a provision return search order is
available, false otherwisemandatory - This method must be implemented. ProvisionReturnSearchOrder getProvisionReturnSearchOrder()
IllegalStateException -
supportsProvisionReturnSearchOrder() is false
mandatory - This method must be implemented. ProvisionSearchOrderRecord getProvisionSearchOrderRecord(Type provisionRecordType) throws OperationFailedException
Type. Multiple retrievals return the
same underlying object.provisionRecordType - a provision record typeNullArgumentException - provisionRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(provisionRecordType) is false
mandatory - This method must be implemented.