OSID Logo
OSID Specifications
financials package
Version 3.1.0
Interfaceosid.financials.Activity
Implementsosid.OsidObject
osid.Federateable
osid.Temporal
Used Byosid.billing.Customer
osid.financials.ActivityAdminSession
osid.financials.ActivityList
osid.financials.ActivityLookupSession
osid.financials.ActivityNode
osid.financials.budgeting.Budget
osid.financials.posting.PostEntry
Description

An Activity represents a cost object for an organization unit, project, or activity.

MethodgetOrganizationId
Description

Gets the organization Id associated with this activity.

Returnosid.id.Id the organization Id
Compliancemandatory This method must be implemented.
MethodgetOrganization
Description

Gets the organization associated with this activity.

Returnosid.resource.Resource the organization
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetSupervisorId
Description

Gets the resource Id supervising this activity account.

Returnosid.id.Id the resource Id
Compliancemandatory This method must be implemented.
MethodgetSupervisor
Description

Gets the resource supervising this activity account.

Returnosid.resource.Resource the resource
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetCode
Description

Gets the code for this activity account.

Returnstring the activity code
Compliancemandatory This method must be implemented.
MethodgetActivityRecord
Description

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

Parametersosid.type.TypeactivityRecordType the type of activity record to retrieve
Returnosid.financials.records.ActivityRecord the activity record
ErrorsNULL_ARGUMENT activityRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(activityRecordType) is false
Compliancemandatory This method must be implemented.