Interface LeaseBatchForm

All Superinterfaces:
Extensible, Identifiable, LeaseForm, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, OsidRelationshipForm, OsidTemporalForm, Suppliable

public interface LeaseBatchForm extends LeaseForm

This is the form for creating and updating leases in bulk. Like all OsidForms, 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.

  • Method Details

    • getRoomId

      Id getRoomId()
      Gets the Id of the room if this is a create transaction.
      Returns:
      the room Id
      Throws:
      IllegalStateException - isForUpdate() is true
      Compliance:
      mandatory - This method must be implemented.
    • getTenantId

      Id getTenantId()
      Gets the Id of the tenant if this is a create transaction.
      Returns:
      the resource Id
      Throws:
      IllegalStateException - isForUpdate() is true
      Compliance:
      mandatory - This method must be implemented.
    • getLeaseId

      Id getLeaseId()
      Gets the Id of the lease to be updated if this is an update transaction.
      Returns:
      the lease Id
      Throws:
      IllegalStateException - isForUpdate() is false
      Compliance:
      mandatory - This method must be implemented.