OSID Logo
OSID Specifications
financials package
Version 3.1.0
Interfaceosid.financials.SummaryQuery
Implementsosid.OsidCompendiumQuery
Used Byosid.financials.AccountQuery
osid.financials.ActivityQuery
Description

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

MethodmatchAccountId
Description

Matches an account Id.

Parametersosid.id.IdaccountId an account Id
booleanmatch true for 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.
MethodclearAccountTerms
Description

Clears the account 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 fiscalPeriodId is null
Compliancemandatory This method must be implemented.
MethodclearFiscalPeriodIdTerms
Description

Clears the fiscal period Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsFiscalPeriodQuery
Description

Tests if a FiscalPeriodQuery 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.
MethodclearFiscalPeriodTerms
Description

Clears the fiscal period query terms.

Compliancemandatory This method must be implemented.
MethodmatchCredits
Description

Matches credits within the given range inclusive.

Parametersosid.financials.Currencyfrom start of range
osid.financials.Currencyto end of range
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodclearCreditsTerms
Description

Clears the credits terms.

Compliancemandatory This method must be implemented.
MethodmatchDebits
Description

Matches debits within the given range inclusive.

Parametersosid.financials.Currencyfrom start of range
osid.financials.Currencyto end of range
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodclearDebitsTerms
Description

Clears the debits terms.

Compliancemandatory This method must be implemented.
MethodmatchBalance
Description

Matches summaries with a delta between debits and credits.

Parametersdecimalfrom start of range
decimalto end of range
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
Compliancemandatory This method must be implemented.
MethodclearBalanceTerms
Description

Clears the balance terms.

Compliancemandatory This method must be implemented.
MethodmatchBudget
Description

Matches a budget within the given range inclusive.

Parametersosid.financials.Currencyfrom start of range
osid.financials.Currencyto end of range
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodclearBudgetTerms
Description

Clears the budget terms.

Compliancemandatory This method must be implemented.
MethodmatchDelta
Description

Matches summaries with a delta between the balance and the budget.

Parametersdecimalfrom start of range
decimalto end of range
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
Compliancemandatory This method must be implemented.
MethodclearDeltaTerms
Description

Clears the delta terms.

Compliancemandatory This method must be implemented.
MethodmatchForecast
Description

Matches a forecast within the given range inclusive.

Parametersosid.financials.Currencyfrom start of range
osid.financials.Currencyto end of range
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodclearForecastTerms
Description

Clears the forecast terms.

Compliancemandatory This method must be implemented.
MethodgetSummaryQueryRecord
Description

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

Parametersosid.type.TypesummaryRecordType a summary record type
Returnosid.financials.records.SummaryQueryRecord the summary query record
ErrorsNULL_ARGUMENT summaryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(summaryRecordType) is false
Compliancemandatory This method must be implemented.