public interface BudgetEntrySearchOrder extends OsidRelationshipSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
AccountSearchOrder |
getAccountSearchOrder()
Gets the account order.
|
BudgetEntrySearchOrderRecord |
getBudgetEntrySearchOrderRecord(Type budgetEntryRecordType)
Gets the budget entry search order record corresponding to the given
budget entry record
Type. |
BudgetSearchOrder |
getBudgetSearchOrder()
Gets the budget order.
|
void |
orderByAccount(SearchOrderStyle style)
Specifies a preference for ordering the result set by account.
|
void |
orderByAmount(SearchOrderStyle style)
Specifies a preference for ordering the result set by the amount.
|
void |
orderByBudget(SearchOrderStyle style)
Specifies a preference for ordering the result set by budget.
|
void |
orderByDebit(SearchOrderStyle style)
Specifies a preference for ordering the result set by the debit flag.
|
boolean |
supportsAccountSearchOrder()
Tests if an account search order is available.
|
boolean |
supportsBudgetSearchOrder()
Tests if a budget search order is available.
|
getEndReasonSearchOrder, orderByEndReason, supportsEndReasonSearchOrder
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
orderByEffective, orderByEndDate, orderByStartDate
void orderByBudget(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsBudgetSearchOrder()
true
if a budget search order is available,
false
otherwisemandatory
- This method must be implemented. BudgetSearchOrder getBudgetSearchOrder()
UnimplementedException
-
supportsBudgetSearchOrder()
is false
optional
- This method must be implemented if
supportsBudgetSearchOrder()
is true.
void orderByAccount(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsAccountSearchOrder()
true
if an search account order is available,
false
otherwisemandatory
- This method must be implemented. AccountSearchOrder getAccountSearchOrder()
UnimplementedException
-
supportsAccountSearchOrder()
is false
optional
- This method must be implemented if
supportsAccountSearchOrder()
is true.
void orderByAmount(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByDebit(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. BudgetEntrySearchOrderRecord getBudgetEntrySearchOrderRecord(Type budgetEntryRecordType) throws OperationFailedException
Type.
Multiple retrievals return
the same underlying object.budgetEntryRecordType
- a budget entry record typeNullArgumentException
- budgetEntryRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(budgetEntryRecordType)
is false
mandatory
- This method must be implemented.