Session

Contents

General
CloudAssessSpec
CollegePreferenceService
CsvBuilder
DocumentService
DocumentSpec
EmailSpec
ExportSpec
MailchimpSpec
Mask
Money
Preferences
QualityResultSpec
ReportSpec
SmsSpec
SystemUserService
Database objects
ACLAccessKey
ACLRole
Account
AccountTransaction
Application
Article
ArticleProduct
Assessment
AssessmentClass
AssessmentSubmission
AttachmentData
Attendance
Banking
Certificate
ClassCost
ConcessionType
Contact
ContactRelation
ContactRelationType
CorporatePass
CorporatePassCourseClass
CorporatePassProduct
Country
Course
CourseClass
CourseClassTutor
CourseModule
CustomField
CustomFieldType
DefinedTutorRole
Discount
DiscountConcessionType
DiscountCourseClass
DiscountMembership
DiscountMembershipRelationType
Document
DocumentVersion
EmailTemplate
Enrolment
EntityRelation
ExportTemplate
Field
FieldConfiguration
FieldConfigurationScheme
FieldHeading
FundingSource
FundingUpload
FundingUploadOutcome
Import
Invoice
InvoiceDueDate
InvoiceLine
InvoiceLineDiscount
Language
Membership
MembershipProduct
Message
MessagePerson
Module
Note
Outcome
PayLine
PayRate
PaymentIn
PaymentInLine
PaymentMethod
PaymentOut
PaymentOutLine
Payslip
Preference
PriorLearning
Product
ProductItem
Qualification
Report
ReportOverlay
Room
SavedFind
Script
Session
SessionModule
Site
Student
StudentConcession
Survey
SystemUser
Tag
TagRelation
TagRequirement
Tax
TrainingPackage
Tutor
TutorAttendance
UnavailableRule
Voucher
VoucherPaymentIn
VoucherProduct
WaitingList
Enumerations
AccountTransactionType
AccountType
ApplicationStatus
AttachmentInfoVisibility
AttachmentSpecialType
AttendanceType
AvetmissStudentDisabilityType
AvetmissStudentEnglishProficiency
AvetmissStudentIndigenousStatus
AvetmissStudentLabourStatus
AvetmissStudentPriorEducation
AvetmissStudentSchoolLevel
ClassCostFlowType
ClassCostRepetitionType
ClassFundingSource
ClientIndustryEmploymentType
ClientOccupationIdentifierType
ConfirmationStatus
ContactDuplicateStatus
CourseClassAttendanceType
CourseEnrolmentType
CreditCardType
CreditLevel
CreditProviderType
CreditType
DeliveryMode
DeliverySchedule
DiscountType
EnrolmentStatus
EnrolmentVETFeeHelpStatus
EntityRelationType
ExpiryType
FieldConfigurationType
InvoiceType
KeyCode
KeyCollision
MessageStatus
MessageType
MoneyRounding
NodeSpecialType
OutcomeStatus
PaymentSource
PaymentStatus
PaymentType
PayslipStatus
PostcodeType
ProductStatus
ProductType
QualificationType
RecognitionOfPriorLearningIndicator
StudentCitizenship
StudentStatusForUnitOfStudy
StudyReason
SurveyTypeSource
SurveyVisibility
TriggerType
UsiStatus
VETFeeExemptionType
VoucherPaymentStatus

Sessions represent the classroom sessions a student attends when enrolled in a class. Sessions are a timetabled event. Not all classes have sessions. Self paced classes will no related sessions attached to them.

 
        public 
        Session
     {
}

Instance methods

attachDocument(doc)

Document doc

the document to be attached to the session

Returns def

Documentation not yet available

attendance

Returns Not null List<Attendance>

attendance records for all students/tutors enrolled/teaching this session

course

This is just a convenience to save having to write {@code session.courseClass.course}

Returns Not null Course

the course related to this session

courseClass

Returns Not null CourseClass

the class related to this session

createdOn

Returns Date

the date and time this record was created

documents

Returns Not null List<Document>

The list of attached documents

durationInHours

Returns BigDecimal

the duration of this session in hours

end

Returns LocalDateTime

JSR-310 compatible end date time of the session

endDatetime

Returns Date

the end time for this session

modifiedOn

Returns Date

the date and time this record was modified

modules

Returns Not null List<Module>

all modules delivered as part of the training plan

payAdjustment

Returns Not null Integer

difference between actual session duration and payable duration in minutes

payLines

Returns Not null List<PayLine>

payroll entries for this session

payableDurationInHours

The payable duration may differ from the actual session duration. If no adjustment has been made to the regular session duration, then the regular session duration is returned here.

Returns BigDecimal

duration in hours

privateNotes

Returns String

private notes for this session

publicNotes

Returns String

public notes (rich text)

room

Returns Not null Room

the room in which the session is held

start

Returns LocalDateTime

JSR-310 compatible start date time of the session

startDatetime

Returns Date

the start time for this session

timeZone

Every session has a natural timezone which is derived from the site in which that session is delivered. For sessions not linked to a room or site, the default timezone for the college is returned. Note that on the onCourse website, virtual sessions (eg. online delivery) will be shown in the browser's local timezone.

Returns TimeZone

timezone

tutors

Returns Not null List<Tutor>

all tutors delivering this session

hasModule(module)

Returns {@code true} when session linked to specified module.

IModule module

module to search

Returns boolean

if session linked to specified module