OSID Logo
OSID Specifications
billing package
Version 3.0.0
Release Candidate Preview
Interfaceosid.billing.CategoryForm
Implementsosid.OsidObjectForm
Description

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

MethodgetCategoryFormRecord
Description

Gets the CategoryFormRecord corresponding to the given category record Type.

Parametersosid.type.TypecategoryRecordTypea category record type
Returnosid.billing.records.CategoryFormRecordthe category form record
ErrorsNULL_ARGUMENT categoryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(categoryRecordType) is false
CompliancemandatoryThis method must be implemented.