Interface CommitmentBatchForm
- All Superinterfaces:
CommitmentForm, Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, OsidRelationshipForm, OsidTemporalForm, Suppliable
This is the form for creating and updating commitments in bulk. Like
all OsidForm objects, various data elements may be set here for
use in the create and update methods in the
CommitmentBatchAdminSession. For each data element that may be set,
metadata may be examined to provide display hints or data constraints.
Like all OsidForms, CommitmentBatchForm is stateful
and must not be accessed by multiple processing threads.
-
Method Summary
Modifier and TypeMethodDescriptionGets theIdof the commitmentto be updated if this is an update transaction.Gets the eventIdof the commitment if this is a create transaction.Gets theIdof the commitment resource if this is a create transaction.Methods inherited from interface CommitmentForm
getCommitmentFormRecordMethods inherited from interface Extensible
getRecordTypes, hasRecordTypeMethods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidExtensibleForm
getRequiredRecordTypesMethods inherited from interface OsidForm
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocaleMethods inherited from interface OsidObjectForm
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusTypeMethods inherited from interface OsidRelationshipForm
clearEndReason, getEndReasonMetadata, setEndReasonMethods inherited from interface OsidTemporalForm
clearEndDate, clearStartDate, getEndDateMetadata, getStartDateMetadata, setEndDate, setStartDate
-
Method Details
-
getEventId
Id getEventId()Gets the eventIdof the commitment if this is a create transaction.- Returns:
- the event
Id - Throws:
IllegalStateException-isForUpdate()istrue- Compliance:
mandatory- This method must be implemented.
-
getResourceId
Id getResourceId()Gets theIdof the commitment resource if this is a create transaction.- Returns:
- the resource
Id - Throws:
IllegalStateException-isForUpdate()istrue- Compliance:
mandatory- This method must be implemented.
-
getCommitmentId
Id getCommitmentId()Gets theIdof the commitmentto be updated if this is an update transaction.- Returns:
- the commitment
Id - Throws:
IllegalStateException-isForUpdate()isfalse- Compliance:
mandatory- This method must be implemented.
-