OSID Logo
OSID Specifications
financials posting package
Version 3.1.0
Interfaceosid.financials.posting.PostForm
Implementsosid.OsidObjectForm
osid.OsidAggregateableForm
Used Byosid.financials.posting.PostAdminSession
Description

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

MethodgetFiscalPeriodMetadata
Description

Gets the metadata for the fiscal period.

Returnosid.Metadata metadata for the fiscal period
Compliancemandatory This method must be implemented.
MethodsetFiscalPeriod
Description

Sets the fiscal period.

Parametersosid.id.IdfiscalPeriodId the new fiscal period
ErrorsINVALID_ARGUMENT fiscalPeriodId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT fiscalPeriodId is null
Compliancemandatory This method must be implemented.
MethodclearFiscalPeriod
Description

Removes the fiscal period.

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

Gets the metadata for the date.

Returnosid.Metadata metadata for the date
Compliancemandatory This method must be implemented.
MethodsetDate
Description

Sets the date.

Parametersosid.calendaring.DateTimedate the new date
ErrorsINVALID_ARGUMENT date is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT date is null
Compliancemandatory This method must be implemented.
MethodclearDate
Description

Removes the date.

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

Gets the metadata for the corrected post.

Returnosid.Metadata metadata for the corrected post
Compliancemandatory This method must be implemented.
MethodsetCorrectedPost
Description

Sets the corrected post.

Parametersosid.id.IdpostId the new corrected post
ErrorsINVALID_ARGUMENT postId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT postId is null
Compliancemandatory This method must be implemented.
MethodclearCorrectedPost
Description

Removes the corrected post.

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

Gets the PostFormRecord corresponding to the given post record Type.

Parametersosid.type.TypepostRecordType a post record type
Returnosid.financials.posting.records.PostFormRecord the post form record
ErrorsNULL_ARGUMENT postRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(postRecordType) is false
Compliancemandatory This method must be implemented.