Interface BudgetSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing budget searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetBudgetSearchRecord(Type budgetSearchRecordType) Gets the budget search record corresponding to the given budget search recordType.voidorderBudgetResults(BudgetSearchOrder budgetSearchOrder) Specify an ordering to the search results.voidsearchAmongBudgets(IdList budgetIds) Execute this search among the given list of budgets.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 OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongBudgets
Execute this search among the given list of budgets.- Parameters:
budgetIds- list of payers- Throws:
NullArgumentException-budgetIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderBudgetResults
Specify an ordering to the search results.- Parameters:
budgetSearchOrder- payer search order- Throws:
NullArgumentException-budgetSearchOrderisnullUnsupportedException-budgetSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getBudgetSearchRecord
BudgetSearchRecord getBudgetSearchRecord(Type budgetSearchRecordType) throws OperationFailedException Gets the budget search record corresponding to the given budget search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
budgetSearchRecordType- a payer search record type- Returns:
- the budget search record
- Throws:
NullArgumentException-budgetSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(budgetSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-