public interface SummarySearchOrder extends OsidCompendiumSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
AccountSearchOrder |
getAccountSearchOrder()
Gets the account search order.
|
FiscalPeriodSearchOrder |
getFiscalPeriodSearchOrder()
Gets the fiscal period search order.
|
SummarySearchOrderRecord |
getSummarySearchOrderRecord(Type summaryRecordType)
Gets the fiscal period search order record corresponding to the given
fiscal period record
Type. |
void |
orderByAccount(SearchOrderStyle style)
Specifies a preference for ordering the result set by the account.
|
void |
orderByBalance(SearchOrderStyle style)
Specifies a preference for ordering the result set by the balance.
|
void |
orderByBudget(SearchOrderStyle style)
Specifies a preference for ordering the result set by the budget
|
void |
orderByCredits(SearchOrderStyle style)
Specifies a preference for ordering the result set by the credits.
|
void |
orderByDebits(SearchOrderStyle style)
Specifies a preference for ordering the result set by the debits.
|
void |
orderByDelta(SearchOrderStyle style)
Specifies a preference for ordering the result set by the delta.
|
void |
orderByFiscalPeriod(SearchOrderStyle style)
Specifies a preference for ordering the result set by the fiscal
period.
|
void |
orderByForecast(SearchOrderStyle style)
Specifies a preference for ordering the result set by the forecast.
|
boolean |
supportsAccountSearchOrder()
Tests if an
AccountSearchOrder is available. |
boolean |
supportsFiscalPeriodSearchOrder()
Tests if a
FiscalPeriodSearchOrder is available. |
orderByEndDate, orderByExtrapolated, orderByInterpolated, orderByStartDate
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
void orderByAccount(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsAccountSearchOrder()
AccountSearchOrder
is available. true
if an account search order is available,
false
otherwiseNullArgumentException
- style
is
null
mandatory
- This method must be implemented. AccountSearchOrder getAccountSearchOrder()
UnimplementedException
-
supportsAccountSearchOrder()
is false
optional
- This method must be implemented if
supportsAccountSearchOrder()
is true.
void orderByFiscalPeriod(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsFiscalPeriodSearchOrder()
FiscalPeriodSearchOrder
is available. true
if a fiscal period search order is
available, false
otherwiseNullArgumentException
- style
is
null
mandatory
- This method must be implemented. FiscalPeriodSearchOrder getFiscalPeriodSearchOrder()
UnimplementedException
-
supportsFiscalPeriodSearchOrder()
is false
optional
- This method must be implemented if
supportsFiscalPeriodSearchOrder()
is true.
void orderByCredits(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByDebits(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByBalance(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByBudget(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByDelta(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByForecast(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. SummarySearchOrderRecord getSummarySearchOrderRecord(Type summaryRecordType) throws OperationFailedException
Type.
Multiple retrievals return
the same underlying object.summaryRecordType
- a summary record typeNullArgumentException
- summaryRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(summaryRecordType)
is false
mandatory
- This method must be implemented.