OSID Logo
OSID Specifications
billing package
Version 3.0.0
Interfaceosid.billing.PeriodForm
Implementsosid.OsidObjectForm
Implemented Byosid.billing.batch.PeriodBatchForm
Used Byosid.billing.PeriodAdminSession
Description

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

MethodgetDisplayLabelMetadata
Description

Gets the metadata for a display label title.

Returnosid.Metadatametadata for the display label
CompliancemandatoryThis method must be implemented.
MethodsetDisplayLabel
Description

Sets the display label.

ParametersstringdisplayLabelthe new display label
ErrorsINVALID_ARGUMENTdisplayLabel is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTdisplayLabel is null
CompliancemandatoryThis method must be implemented.
MethodclearDisplayLabel
Description

Removes the display label.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetOpenDateMetadata
Description

Gets the metadata for an open date.

Returnosid.Metadatametadata for the open date
CompliancemandatoryThis method must be implemented.
MethodsetOpenDate
Description

Sets the open date.

Parametersosid.calendaring.DateTimedatethe new open date
ErrorsINVALID_ARGUMENTdate is invalid
NO_ACCESSdate cannot be modified
NULL_ARGUMENTdate is null
CompliancemandatoryThis method must be implemented.
MethodclearOpenDate
Description

Clears the open date.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetCloseDateMetadata
Description

Gets the metadata for the close date.

Returnosid.Metadatametadata for the close date
CompliancemandatoryThis method must be implemented.
MethodsetCloseDate
Description

Sets the close date.

Parametersosid.calendaring.DateTimedatethe new close date
ErrorsINVALID_ARGUMENTdate is invalid
NO_ACCESSdate cannot be modified
NULL_ARGUMENTdate is null
CompliancemandatoryThis method must be implemented.
MethodclearCloseDate
Description

Clears the close date.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetBillingDateMetadata
Description

Gets the metadata for the billing date.

Returnosid.Metadatametadata for the billing date
CompliancemandatoryThis method must be implemented.
MethodsetBillingDate
Description

Sets the billing date.

Parametersosid.calendaring.DateTimedatethe new billing date
ErrorsINVALID_ARGUMENTdate is invalid
NO_ACCESSdate cannot be modified
NULL_ARGUMENTdate is null
CompliancemandatoryThis method must be implemented.
MethodclearBillingDate
Description

Clears the billing date.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetDueDateMetadata
Description

Gets the metadata for the due date.

Returnosid.Metadatametadata for the due date
CompliancemandatoryThis method must be implemented.
MethodsetDueDate
Description

Sets the due date.

Parametersosid.calendaring.DateTimedatethe new due date
ErrorsINVALID_ARGUMENTdate is invalid
NO_ACCESSdate cannot be modified
NULL_ARGUMENTdate is null
CompliancemandatoryThis method must be implemented.
MethodclearDueDate
Description

Clears the due date.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetPeriodFormRecord
Description

Gets the PeriodFormRecord corresponding to the given period record Type .

Parametersosid.type.TypeperiodRecordTypea period record type
Returnosid.billing.records.PeriodFormRecordthe period form record
ErrorsNULL_ARGUMENTperiodRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(periodRecordType) is false
CompliancemandatoryThis method must be implemented.