OSID Logo
OSID Specifications
financials budgeting package
Version 3.0.0
Release Candidate Preview
Interfaceosid.financials.budgeting.BudgetQuery
Implementsosid.OsidRelationshipQuery
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.IdactivityIdan activity Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT activityId is null
CompliancemandatoryThis method must be implemented.
MethodclearActivityIdTerms
Description

Clears the activity Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsActivityQuery
Description

Tests if an ActivityQuery is available.

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

Gets the query for an activity.

Returnosid.financials.ActivityQuerythe activity query
ErrorsUNIMPLEMENTED supportsActivityQuery() is false
ComplianceoptionalThis method must be implemented if supportsActivityQuery() is true.
MethodclearActivityTerms
Description

Clears the activity terms.

CompliancemandatoryThis method must be implemented.
MethodmatchFiscalPeriodId
Description

Sets the fiscal period Id for this query.

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

Clears the fiscal period Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsFiscalPeriodQuery
Description

Tests if a FiscalPeriod is available.

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

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

Returnosid.financials.FiscalPeriodQuerythe fiscal period query
ErrorsUNIMPLEMENTED supportsFiscalPeriodQuery() is false
ComplianceoptionalThis 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
CompliancemandatoryThis method must be implemented.
MethodclearFiscalPeriodTerms
Description

Clears the fiscal period terms.

CompliancemandatoryThis method must be implemented.
MethodmatchBudgetEntryId
Description

Sets the budget entry Id for this query.

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

Clears the budget entry Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsBudgetEntryQuery
Description

Tests if an BudgetEntryQuery is available.

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

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

Returnosid.financials.budgeting.BudgetEntryQuerythe budget entry query
ErrorsUNIMPLEMENTED supportsBudgetEntryQuery() is false
ComplianceoptionalThis 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
CompliancemandatoryThis method must be implemented.
MethodclearBudgetEntryTerms
Description

Clears the budget entry terms.

CompliancemandatoryThis method must be implemented.
MethodmatchBusinessId
Description

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

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

Clears the business Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsBusinessQuery
Description

Tests if a BusinessQuery is available.

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

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

Returnosid.financials.BusinessQuerythe business query
ErrorsUNIMPLEMENTED supportsBusinessQuery() is false
ComplianceoptionalThis method must be implemented if supportsBusinessQuery() is true.
MethodclearBusinessTerms
Description

Clears the business terms.

CompliancemandatoryThis 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.TypebudgetRecordTypea budget record type
Returnosid.financials.budgeting.records.BudgetQueryRecordthe budget query record
ErrorsNULL_ARGUMENT budgetRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(budgetRecordType) is false
CompliancemandatoryThis method must be implemented.