public interface CreditForm extends OsidRelationshipForm
This is the form for creating and updating Credit
objects. Like all OsidForm
objects, various data elements
may be set here for use in the create and update methods in the
CreditAdminSession.
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 |
---|---|
CreditFormRecord |
getCreditFormRecord(Type creditRecordType)
Gets the
CreditFormRecord interface corresponding to
the given credit 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
CreditFormRecord getCreditFormRecord(Type creditRecordType) throws OperationFailedException
CreditFormRecord
interface corresponding to
the given credit record Type.
creditRecordType
- the credit record typeNullArgumentException
- creditRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(creditRecordType)
is false
mandatory
- This method must be implemented.