OSID Logo
OSID Specifications
financials budgeting package
Version 3.1.0
Interfaceosid.financials.budgeting.BudgetQuery
Implementsosid.OsidRelationshipQuery
Used Byosid.financials.budgeting.BudgetEntryQuery
osid.financials.budgeting.BudgetQuerySession
osid.financials.budgeting.BudgetSearchSession
osid.financials.budgeting.BudgetSmartBusinessSession
Description

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

MethodmatchActivityId
Description

Sets the activity Id for this query.

Parametersosid.id.IdactivityId an activity Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT activityId is null
Compliancemandatory This method must be implemented.
MethodclearActivityIdTerms
Description

Clears the activity Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsActivityQuery
Description

Tests if an ActivityQuery is available.

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

Gets the query for an activity.

Returnosid.financials.ActivityQuery the activity query
ErrorsUNIMPLEMENTED supportsActivityQuery() is false
Complianceoptional This method must be implemented if supportsActivityQuery() is true.
MethodclearActivityTerms
Description

Clears the activity terms.

Compliancemandatory This method must be implemented.
MethodmatchFiscalPeriodId
Description

Sets the fiscal period Id for this query.

Parametersosid.id.IdfiscalPeriodId a fiscal period Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT foscalPeriodId is null
Compliancemandatory This method must be implemented.
MethodclearFiscalPeriodIdTerms
Description

Clears the fiscal period Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsFiscalPeriodQuery
Description

Tests if a FiscalPeriod is available.

Returnboolean true if a fiscal period query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetFiscalPeriodQuery
Description

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

Returnosid.financials.FiscalPeriodQuery the fiscal period query
ErrorsUNIMPLEMENTED supportsFiscalPeriodQuery() is false
Complianceoptional This method must be implemented if supportsFiscalPeriodQuery() is true.
MethodmatchAnyFiscalPeriod
Description

Matches any fiscal period.

Parametersbooleanmatch true to match budgets with any fiscal period, false to match budgets with no fiscal period
Compliancemandatory This method must be implemented.
MethodclearFiscalPeriodTerms
Description

Clears the fiscal period terms.

Compliancemandatory This method must be implemented.
MethodmatchBudgetEntryId
Description

Sets the budget entry Id for this query.

Parametersosid.id.IdbudgetEntryId a budget entry Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT budgetEntryId is null
Compliancemandatory This method must be implemented.
MethodclearBudgetEntryIdTerms
Description

Clears the budget entry Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsBudgetEntryQuery
Description

Tests if an BudgetEntryQuery is available.

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

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

Returnosid.financials.budgeting.BudgetEntryQuery the budget entry query
ErrorsUNIMPLEMENTED supportsBudgetEntryQuery() is false
Complianceoptional This method must be implemented if supportsBudgetEntryQuery() is true.
MethodmatchAnyBudgetEntry
Description

Matches any related budget entries.

Parametersbooleanmatch true to match budgets with any budget entry, false to match budgets with no entries
Compliancemandatory This method must be implemented.
MethodclearBudgetEntryTerms
Description

Clears the budget entry terms.

Compliancemandatory This method must be implemented.
MethodmatchBusinessId
Description

Sets the business Id for this query to match budgets 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.
MethodgetBudgetQueryRecord
Description

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

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