Interface RelevancyBatchForm
- All Superinterfaces:
Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, OsidRelationshipForm, OsidTemporalForm, RelevancyForm, Suppliable
This is the form for creating and updating relevancies in bulk. Like
all OsidForms, various data elements may be set here for use in
the create and update methods in the RelevancyBatchAdminSession.
For each data element that may be set, metadata may be examined to provide
display hints or data constraints.
Like all OsidForms, RelevancyBatchForm is stateful and
must not be accessed by multiple processing threads.
-
Method Summary
Modifier and TypeMethodDescriptionGets the mappedIdof the relevancy if this is a create transaction.Gets theIdof the relevancy to be updated if this is an update transaction.Gets theSubjectIdof the relevancy if this is a create transaction.Methods 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, setStartDateMethods inherited from interface RelevancyForm
getRelevancyFormRecord
-
Method Details
-
getSubjectId
Id getSubjectId()Gets theSubjectIdof the relevancy if this is a create transaction.- Returns:
- the subject
Id - Throws:
IllegalStateException-isForUpdate()istrue- Compliance:
mandatory- This method must be implemented.
-
getMappedId
Id getMappedId()Gets the mappedIdof the relevancy if this is a create transaction.- Returns:
- the mapped
Id - Throws:
IllegalStateException-isForUpdate()istrue- Compliance:
mandatory- This method must be implemented.
-
getRelevancyId
Id getRelevancyId()Gets theIdof the relevancy to be updated if this is an update transaction.- Returns:
- the relevancy
Id - Throws:
IllegalStateException-isForUpdate()isfalse- Compliance:
mandatory- This method must be implemented.
-