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

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

MethodgetRoomId
Description

Gets the Id of the room if this is a create transaction.

Returnosid.id.Idthe room Id
ErrorsILLEGAL_STATE isForUpdate() is true
CompliancemandatoryThis method must be implemented.
MethodgetTenantId
Description

Gets the Id of the tenant if this is a create transaction.

Returnosid.id.Idthe resource Id
ErrorsILLEGAL_STATE isForUpdate() is true
CompliancemandatoryThis method must be implemented.
MethodgetLeaseId
Description

Gets the Id of the lease to be updated if this is an update transaction.

Returnosid.id.Idthe lease Id
ErrorsILLEGAL_STATE isForUpdate() is false
CompliancemandatoryThis method must be implemented.