Interface SummarySearchOrder
- All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidCompendiumSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidSearchOrder, OsidSubjugateableSearchOrder, Suppliable
An interface for specifying the ordering of search results.
-
Method Summary
Modifier and TypeMethodDescriptionGets the account search order.Gets the fiscal period search order.getSummarySearchOrderRecord(Type summaryRecordType) Gets the fiscal period search order record corresponding to the given fiscal period recordType.voidorderByAccount(SearchOrderStyle style) Specifies a preference for ordering the result set by the account.voidorderByBalance(SearchOrderStyle style) Specifies a preference for ordering the result set by the balance.voidorderByBudget(SearchOrderStyle style) Specifies a preference for ordering the result set by the budgetvoidorderByCredits(SearchOrderStyle style) Specifies a preference for ordering the result set by the credits.voidorderByDebits(SearchOrderStyle style) Specifies a preference for ordering the result set by the debits.voidorderByDelta(SearchOrderStyle style) Specifies a preference for ordering the result set by the delta.voidSpecifies a preference for ordering the result set by the fiscal period.voidorderByForecast(SearchOrderStyle style) Specifies a preference for ordering the result set by the forecast.booleanTests if anAccountSearchOrderis available.booleanTests if aFiscalPeriodSearchOrderis available.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidCompendiumSearchOrder
orderByEndDate, orderByExtrapolated, orderByInterpolated, orderByStartDateModifier and TypeMethodDescriptionvoidorderByEndDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the end date.voidSpecifies a preference for ordering the result set by extrapolated results.voidSpecifies a preference for ordering the result set by interpolated results.voidorderByStartDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the start date.Methods inherited from interface OsidIdentifiableSearchOrder
orderByIdModifier and TypeMethodDescriptionvoidorderById(SearchOrderStyle style) Specifies a preference for ordering the result set by theId.Methods inherited from interface OsidObjectSearchOrder
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticModifier and TypeMethodDescriptionvoidOrders by the timestamp of the first journal entry.voidorderByCumulativeRating(Id bookId, SearchOrderStyle style) Orders by the cumulative rating in a givenBook.voidSpecifies a preference for ordering the result set by the description.voidSpecifies a preference for ordering the result set by the display name.voidorderByGenusType(SearchOrderStyle style) Specifies a preference for ordering the result set by the genus type.voidOrders by the timestamp of the last journal entry.voidorderByState(Id processId, SearchOrderStyle style) Orders by the state in a givenProcess.voidorderByStatistic(Id meterId, SearchOrderStyle style) Orders by a statistic for a givenMeter.
-
Method Details
-
orderByAccount
Specifies a preference for ordering the result set by the account.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsAccountSearchOrder
boolean supportsAccountSearchOrder()Tests if anAccountSearchOrderis available.- Returns:
trueif an account search order is available,falseotherwise- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
getAccountSearchOrder
AccountSearchOrder getAccountSearchOrder()Gets the account search order.- Returns:
- the account search order
- Throws:
UnimplementedException-supportsAccountSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAccountSearchOrder()} is {@code true} .
-
orderByFiscalPeriod
Specifies a preference for ordering the result set by the fiscal period.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsFiscalPeriodSearchOrder
boolean supportsFiscalPeriodSearchOrder()Tests if aFiscalPeriodSearchOrderis available.- Returns:
trueif a fiscal period search order is available,falseotherwise- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
getFiscalPeriodSearchOrder
FiscalPeriodSearchOrder getFiscalPeriodSearchOrder()Gets the fiscal period search order.- Returns:
- the fiscal period search order
- Throws:
UnimplementedException-supportsFiscalPeriodSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsFiscalPeriodSearchOrder()} is {@code true} .
-
orderByCredits
Specifies a preference for ordering the result set by the credits.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByDebits
Specifies a preference for ordering the result set by the debits.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByBalance
Specifies a preference for ordering the result set by the balance.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByBudget
Specifies a preference for ordering the result set by the budget- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByDelta
Specifies a preference for ordering the result set by the delta.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByForecast
Specifies a preference for ordering the result set by the forecast.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
getSummarySearchOrderRecord
SummarySearchOrderRecord getSummarySearchOrderRecord(Type summaryRecordType) throws OperationFailedException Gets the fiscal period search order record corresponding to the given fiscal period recordType. Multiple retrievals return the same underlying object.- Parameters:
summaryRecordType- a summary record type- Returns:
- the summary search order record
- Throws:
NullArgumentException-summaryRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(summaryRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-