Interface ProgramOfferingBatchForm
- All Superinterfaces:
Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, OsidRelationshipForm, OsidTemporalForm, ProgramOfferingForm, Suppliable
This is the form for creating and updating program offerings in bulk.
Like all OsidForm objects, various data elements may be set here
for use in the create and update methods in the
ProgramOfferingBatchAdminSession. For each data element that may be set,
metadata may be examined to provide display hints or data constraints.
Like all OsidForms, ProgramOfferingBatchForm is
stateful and must not be accessed by multiple processing threads.
-
Method Summary
Modifier and TypeMethodDescriptionGets the programIdof the program offering if this is a create transaction.Gets theIdof the program offering to be updated if this is an update transaction.Gets the termIdof the porgram offering 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 ProgramOfferingForm
clearCompletionRequirements, clearCompletionRequirementsInfo, clearCredentials, clearLearningObjectives, clearMaximumSeats, clearMinimumSeats, clearNumber, clearParentProgramOffering, clearRequiresRegistration, clearRestrictedAudiences, clearSponsors, clearTitle, clearURL, getCompletionRequirementsInfoMetadata, getCompletionRequirementsMetadata, getCredentialsMetadata, getLearningObjectivesMetadata, getMaximumSeatsMetadata, getMinimumSeatsMetadata, getNumberMetadata, getParentProgramOfferingMetadata, getProgramOfferingFormRecord, getRequiresRegistrationMetadata, getRestrictedAudiencesMetadata, getSponsorsMetadata, getTitleMetadata, getURLMetadata, setCompletionRequirements, setCompletionRequirementsInfo, setCredentials, setLearningObjectives, setMaximumSeats, setMinimumSeats, setNumber, setParentProgramOffering, setRequiresRegistration, setRestrictedAudiences, setSponsors, setTitle, setURL
-
Method Details
-
getProgramId
Id getProgramId()Gets the programIdof the program offering if this is a create transaction.- Returns:
- the program
Id - Throws:
IllegalStateException-isForUpdate()istrue- Compliance:
mandatory- This method must be implemented.
-
getTermId
Id getTermId()Gets the termIdof the porgram offering if this is a create transaction.- Returns:
- the term
Id - Throws:
IllegalStateException-isForUpdate()istrue- Compliance:
mandatory- This method must be implemented.
-
getProgramOfferingId
Id getProgramOfferingId()Gets theIdof the program offering to be updated if this is an update transaction.- Returns:
- the program offering
Id - Throws:
IllegalStateException-isForUpdate()isfalse- Compliance:
mandatory- This method must be implemented.
-