OSID Logo
OSID Specifications
financials package
Version 3.1.0
Interfaceosid.financials.ActivityForm
Implementsosid.OsidObjectForm
osid.OsidFederateableForm
osid.OsidTemporalForm
Implemented Byosid.financials.batch.ActivityBatchForm
Used Byosid.financials.ActivityAdminSession
Description

This is the form for creating and updating Activities. Like all OsidForms, various data elements may be set here for use in the create and update methods in the ActivityAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetOrganizationMetadata
Description

Gets the metadata for the organization.

Returnosid.Metadata metadata for the organization
Compliancemandatory This method must be implemented.
MethodsetOrganization
Description

Sets the organization.

Parametersosid.id.IdorganizationId the new organization
ErrorsINVALID_ARGUMENT organizationId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT organizationId is null
Compliancemandatory This method must be implemented.
MethodclearOrganization
Description

Removes the organization.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetSupervisorMetadata
Description

Gets the metadata for the supervisor.

Returnosid.Metadata metadata for the supervisor
Compliancemandatory This method must be implemented.
MethodsetSupervisor
Description

Sets the supervisor.

Parametersosid.id.IdsupervisorId the new supervisor
ErrorsINVALID_ARGUMENT supervisorId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT supervisorId is null
Compliancemandatory This method must be implemented.
MethodclearSupervisor
Description

Removes the supervisor.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetCodeMetadata
Description

Gets the metadata for the code flag.

Returnosid.Metadata metadata for the code
Compliancemandatory This method must be implemented.
MethodsetCode
Description

Sets the code.

Parametersstringcode the new code
ErrorsINVALID_ARGUMENT code is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearCode
Description

Removes the code.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetActivityFormRecord
Description

Gets the ActivityFormRecord corresponding to the given activity record Type.

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