OSID Logo
OSID Specifications
financials budgeting package
Version 3.1.0
Interfaceosid.financials.budgeting.BudgetEntryQuery
Implementsosid.OsidRelationshipQuery
Used Byosid.financials.budgeting.BudgetEntryQuerySession
osid.financials.budgeting.BudgetEntrySearchSession
osid.financials.budgeting.BudgetEntrySmartBusinessSession
osid.financials.budgeting.BudgetQuery
Description

This is the query for searching budget entries. Each method match specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchBudgetId
Description

Sets the budget Id for this query.

Parametersosid.id.IdbudgetId a budget Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT budgetId is null
Compliancemandatory This method must be implemented.
MethodclearBudgetIdTerms
Description

Clears the budget Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsBudgetQuery
Description

Tests if a BudgetQuery is available.

Returnboolean true if a budget query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetBudgetQuery
Description

Gets the query for a budget. Multiple retrievals produce a nested OR term.

Returnosid.financials.budgeting.BudgetQuery the payer query
ErrorsUNIMPLEMENTED the budget query
Complianceoptional This method must be implemented if supportsBudgetQuery() is true.
MethodclearBudgetTerms
Description

Clears the budget terms.

Compliancemandatory This method must be implemented.
MethodmatchAccountId
Description

Sets the account Id for this query.

Parametersosid.id.IdaccountId an account Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT accountId is null
Compliancemandatory This method must be implemented.
MethodclearAccountIdTerms
Description

Clears the account Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAccountQuery
Description

Tests if an AccountQuery is available.

Returnboolean true if an account query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAccountQuery
Description

Gets the query for an account. Multiple retrievals produce a nested OR term.

Returnosid.financials.AccountQuery the account query
ErrorsUNIMPLEMENTED supportsAccountQuery() is false
Complianceoptional This method must be implemented if supportsAccountQuery() is true.
MethodmatchAnyAccount
Description

Matches entries that have any account set.

Parametersbooleanmatch true to match entries with any account, false to match entries with no account
Compliancemandatory This method must be implemented.
MethodclearAccountTerms
Description

Clears the account terms.

Compliancemandatory This method must be implemented.
MethodmatchAmount
Description

Matches the amount between the given range inclusive.

Parametersosid.financials.Currencylow start of range
osid.financials.Currencyhigh end of range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT low is greater than high
NULL_ARGUMENT low or high is null
Compliancemandatory This method must be implemented.
MethodmatchAnyAmount
Description

Matches entries that have any amount set.

Parametersbooleanmatch true to match entries with any amount, false to match entries with no amount
Compliancemandatory This method must be implemented.
MethodclearAmountTerms
Description

Clears the amount terms.

Compliancemandatory This method must be implemented.
MethodmatchDebit
Description

Matches entries that have debit amounts.

Parametersbooleanmatch true to match entries with a debit amount, false to match entries with a credit amount
Compliancemandatory This method must be implemented.
MethodclearDebitTerms
Description

Clears the debit terms.

Compliancemandatory This method must be implemented.
MethodmatchBusinessId
Description

Sets the business Id for this query to match budget entries assigned to businesses.

Parametersosid.id.IdbusinessId the business Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT businessId is null
Compliancemandatory This method must be implemented.
MethodclearBusinessIdTerms
Description

Clears the business Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsBusinessQuery
Description

Tests if a BusinessQuery is available.

Returnboolean true if a business query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetBusinessQuery
Description

Gets the query for a business. Multiple retrievals produce a nested OR term.

Returnosid.financials.BusinessQuery the business query
ErrorsUNIMPLEMENTED supportsBusinessQuery() is false
Complianceoptional This method must be implemented if supportsBusinessQuery() is true.
MethodclearBusinessTerms
Description

Clears the business terms.

Compliancemandatory This method must be implemented.
MethodgetBudgetEntryQueryRecord
Description

Gets the budget entry query record corresponding to the given BudgetEntry record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypebudgetEntryRecordType a budget entry record type
Returnosid.financials.budgeting.records.BudgetEntryQueryRecord the budget entry query record
ErrorsNULL_ARGUMENT budgetEntryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(budgetEntryRecordType) is false
Compliancemandatory This method must be implemented.