OSID Logo
OSID Specifications
room squatting package
Version 3.1.0
Interfaceosid.room.squatting.LeaseForm
Implementsosid.OsidRelationshipForm
Implemented Byosid.room.squatting.batch.LeaseBatchForm
Used Byosid.room.squatting.LeaseAdminSession
Description

This is the form for creating and updating Leases. Like all OsidForms, 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.TypeleaseRecordType the lease record type
Returnosid.room.squatting.records.LeaseFormRecord the lease form record
ErrorsNULL_ARGUMENT leaseRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(leaseRecordType) is false
Compliancemandatory This method must be implemented.