OSID Logo
OSID Specifications
financials budgeting package
Version 3.1.0
Interfaceosid.financials.budgeting.BudgetSearchSession
Implementsosid.financials.budgeting.BudgetQuerySession
Used Byosid.financials.budgeting.FinancialsBudgetingManager
osid.financials.budgeting.FinancialsBudgetingProxyManager
Description

This session provides methods for searching among Budgets. The search query is constructed using the BudgetQuery.

getBudgetsByQuery() is the basic search method and returns a list of Budgets. A more advanced search may be performed with getBudgetsBySearch() .It accepts a BudgetSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getBudgetsBySearch() returns a BudgetSearchResults that can be used to access the resulting BudgetList or be used to perform a search within the result set through BudgetSearch .

This session defines views that offer differing behaviors for searching.

  • federated business view: searches include budgets in businesses of which this business is an ancestor in the business hierarchy
  • isolated business view: searches are restricted to budgets in this business

Budgets may have a query record indicated by their respective record types. The queryrecord is accessed via the BudgetQuery.

MethodgetBudgetSearch
Description

Gets a budget search.

Returnosid.financials.budgeting.BudgetSearch the budget search
Compliancemandatory This method must be implemented.
MethodgetBudgetSearchOrder
Description

Gets a budget search order. The BudgetSearchOrder is supplied to a BudgetSearch to specify the ordering of results.

Returnosid.financials.budgeting.BudgetSearchOrder the budget search order
Compliancemandatory This method must be implemented.
MethodgetBudgetsBySearch
Description

Gets the search results matching the given search query using the given search.

Parametersosid.financials.budgeting.BudgetQuerybudgetQuery the budget query
osid.financials.budgeting.BudgetSearchbudgetSearch the budget search
Returnosid.financials.budgeting.BudgetSearchResults the budget search results
ErrorsNULL_ARGUMENT budgetQuery or budgetSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED budgetQuery or budgetSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetBudgetQueryFromInspector
Description

Gets a budget query from an inspector. The inspector is available from a BudgetSearchResults.

Parametersosid.assessment.ItemQueryInspectorbudgetQueryInspector a budget query inspector
Returnosid.financials.budgeting.BudgetQuery the budget query
ErrorsNULL_ARGUMENT budgetQueryInspector is null
UNSUPPORTED budgetQueryInspector is not of this service
Compliancemandatory This method must be implemented.