Interface CourseEntryBatchForm
- All Superinterfaces:
CourseEntryForm, Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, OsidRelationshipForm, OsidTemporalForm, Suppliable
This is the form for creating and updating course entries in bulk.
Like all OsidForm objects, various data elements may be set here
for use in the create and update methods in the
CourseEntryBatchAdminSession. For each data element that may be set,
metadata may be examined to provide display hints or data constraints.
Like all OsidForms, CourseEntryBatchForm is stateful
and must not be accessed by multiple processing threads.
-
Method Summary
Modifier and TypeMethodDescriptionGets theIdof the course entry to be updated if this is an update transaction.Gets theCourseIdof the course entry if this is a create transaction.Gets the student resourceIdof the course entry if this is a create transaction.Methods inherited from interface CourseEntryForm
clearComplete, clearCourseBeginDate, clearCourseEndDate, clearCreditScale, clearCreditsEarned, clearGrade, clearIsRegistrationKnown, clearRegistrations, clearScore, clearScoreScale, clearTerm, getCompleteMetadata, getCourseBeginDateMetadata, getCourseEndDateMetadata, getCourseEntryFormRecord, getCreditScaleMetadata, getCreditsEarnedMetadata, getGradeMetadata, getIsRegistrationKnownMetadata, getRegistrationsMetadata, getScoreMetadata, getScoreScaleMetadata, getTermMetadata, setComplete, setCourseBeginDate, setCourseEndDate, setCreditScale, setCreditsEarned, setGrade, setIsRegistrationKnown, setRegistrations, setScore, setScoreScale, setTermMethods 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
-
getCourseId
Id getCourseId()Gets theCourseIdof the course entry if this is a create transaction.- Returns:
- the course
Id - Throws:
IllegalStateException-isForUpdate()istrue- Compliance:
mandatory- This method must be implemented.
-
getStudentId
Id getStudentId()Gets the student resourceIdof the course entry if this is a create transaction.- Returns:
- the resource
Id - Throws:
IllegalStateException-isForUpdate()istrue- Compliance:
mandatory- This method must be implemented.
-
getCourseEntryId
Id getCourseEntryId()Gets theIdof the course entry to be updated if this is an update transaction.- Returns:
- the course entry
Id - Throws:
IllegalStateException-isForUpdate()isfalse- Compliance:
mandatory- This method must be implemented.
-