OSID Logo
OSID Specifications
financials package
Version 3.0.0
Release Candidate Preview
Interfaceosid.financials.Summary
Implementsosid.OsidCompendium
Description

A Summary represents a financial summary of an Account in a time period.

MethodgetAccountId
Description

Gets the Id of the account.

Returnosid.id.Idthe account Id
CompliancemandatoryThis method must be implemented.
MethodgetAccount
Description

Gets the account.

Returnosid.financials.Accountthe account
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetFiscalPeriodId
Description

Gets the Id of the fiscal period

Returnosid.id.Idthe fiscal period Id
CompliancemandatoryThis method must be implemented.
MethodgetFiscalPeriod
Description

Gets the fiscal period

Returnosid.financials.FiscalPeriodthe fiscal period
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetCredits
Description

Gets the credits for this fiscal period.

Returnosid.financials.Currencythe credits
CompliancemandatoryThis method must be implemented.
MethodgetDebits
Description

Gets the debits for this fiscal period.

Returnosid.financials.Currencythe debits
CompliancemandatoryThis method must be implemented.
MethodisBudgeted
Description

Tests if this the account on this activity has a budget for this time period.

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

Gets the budget.

Returnosid.financials.Currencythe budget
ErrorsILLEGAL_STATE isBudgeted() is false
CompliancemandatoryThis method must be implemented.
MethodhasForecast
Description

Tests if this the account on this activity has a forecast for this time period.

Returnboolean true if a forecast is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetForecast
Description

Gets the forecast

Returnosid.financials.Currencythe forecast
ErrorsILLEGAL_STATE hasForecast() is false
CompliancemandatoryThis method must be implemented.
MethodgetSummaryRecord
Description

Gets the summary record corresponding to the given Summary record Type. This method is used to retrieve an object implementing the requested record. The summaryRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(summaryRecordType) is true .

Parametersosid.type.TypesummaryRecordTypethe type of summary record to retrieve
Returnosid.financials.records.SummaryRecordthe summary record
ErrorsNULL_ARGUMENT summaryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(summaryRecordType) is false
CompliancemandatoryThis method must be implemented.