public interface LeaseForm extends OsidRelationshipForm
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.
Modifier and Type | Method and Description |
---|---|
LeaseFormRecord |
getLeaseFormRecord(Type leaseRecordType)
Gets the
LeaseFormRecord corresponding to the given
lease record Type. |
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
getRequiredRecordTypes
getRecordTypes, hasRecordType
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
clearEndDate, clearStartDate, getEndDateMetadata, getStartDateMetadata, setEndDate, setStartDate
LeaseFormRecord getLeaseFormRecord(Type leaseRecordType) throws OperationFailedException
LeaseFormRecord
corresponding to the given
lease record Type.
leaseRecordType
- the lease record typeNullArgumentException
- leaseRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(leaseRecordType)
is false
mandatory
- This method must be implemented.