OSID Logo
OSID Specifications
billing package
Version 3.1.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.Metadata metadata for the display label
Compliancemandatory This method must be implemented.
MethodsetDisplayLabel
Description

Sets the display label.

ParametersstringdisplayLabel the new display label
ErrorsINVALID_ARGUMENT displayLabel is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT displayLabel is null
Compliancemandatory This method must be implemented.
MethodclearDisplayLabel
Description

Removes the display label.

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

Gets the metadata for an open date.

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

Sets the open date.

Parametersosid.calendaring.DateTimedate the new open date
ErrorsINVALID_ARGUMENT date is invalid
NO_ACCESS date cannot be modified
NULL_ARGUMENT date is null
Compliancemandatory This method must be implemented.
MethodclearOpenDate
Description

Clears the open date.

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

Gets the metadata for the close date.

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

Sets the close date.

Parametersosid.calendaring.DateTimedate the new close date
ErrorsINVALID_ARGUMENT date is invalid
NO_ACCESS date cannot be modified
NULL_ARGUMENT date is null
Compliancemandatory This method must be implemented.
MethodclearCloseDate
Description

Clears the close date.

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

Gets the metadata for the billing date.

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

Sets the billing date.

Parametersosid.calendaring.DateTimedate the new billing date
ErrorsINVALID_ARGUMENT date is invalid
NO_ACCESS date cannot be modified
NULL_ARGUMENT date is null
Compliancemandatory This method must be implemented.
MethodclearBillingDate
Description

Clears the billing date.

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

Gets the metadata for the due date.

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

Sets the due date.

Parametersosid.calendaring.DateTimedate the new due date
ErrorsINVALID_ARGUMENT date is invalid
NO_ACCESS date cannot be modified
NULL_ARGUMENT date is null
Compliancemandatory This method must be implemented.
MethodclearDueDate
Description

Clears the due date.

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

Gets the PeriodFormRecord corresponding to the given period record Type.

Parametersosid.type.TypeperiodRecordType a period record type
Returnosid.billing.records.PeriodFormRecord the period form record
ErrorsNULL_ARGUMENT periodRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(periodRecordType) is false
Compliancemandatory This method must be implemented.