public interface CreditBatchForm extends CreditForm
This is the form for creating and updating credits in bulk.
Like all OsidForm
objects, various data elements
may be set here for use in the create and update methods in the
CreditBatchAdminSession.
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 |
---|---|
Id |
getCreditId()
Gets the
Id of the credit to be updated if this is an
update transaction. |
Id |
getReferenceId()
Gets the reference
Id of the credit if this is a create
transaction. |
Id |
getResourceId()
Gets the
Resource Id of the credit if
this is a create transaction. |
getCreditFormRecord
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
Id getReferenceId()
Id
of the credit if this is a create
transaction. Id
IllegalStateException
- isForUpdate()
is
true
mandatory
- This method must be implemented. Id getResourceId()
Resource
Id
of the credit if
this is a create transaction. Id
IllegalStateException
- isForUpdate()
is
true
mandatory
- This method must be implemented. Id getCreditId()
Id
of the credit to be updated if this is an
update transaction. Id
IllegalStateException
- isForUpdate()
is
false
mandatory
- This method must be implemented.