OSID Logo
OSID Specifications
room squatting package
Version 3.0.0
Release Candidate Preview
Interfaceosid.room.squatting.LeaseForm
Implementsosid.OsidRelationshipForm
Description

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

MethodgetLeaseFormRecord
Description

Gets the LeaseFormRecord corresponding to the given lease record Type.

Parametersosid.type.TypeleaseRecordTypethe lease record type
Returnosid.room.squatting.records.LeaseFormRecordthe lease form record
ErrorsNULL_ARGUMENT leaseRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(leaseRecordType) is false
CompliancemandatoryThis method must be implemented.