A B C D E F G H I J L M N O P R S T U V W

G

GeneralUtils - Class in org.paulneve.wlab.utilities
Miscellaneous collection of methods that are used in a number of places, and thus don't easily fit in a specific class or package.
GeneralUtils() - Constructor for class org.paulneve.wlab.utilities.GeneralUtils
 
genericGetAll(Class) - Method in interface org.paulneve.wlab.data.DataAccess
Gets all objects in the system of a given class, where class is a subtype of WLabObject
genericGetAll(Class) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
Generic method to get ALL objects of a given class
getAdminLogin() - Method in class org.paulneve.wlab.utilities.Parameters
 
getAutoSuspendPeriod() - Method in class org.paulneve.wlab.utilities.Parameters
 
getBackendName() - Method in class org.paulneve.wlab.datamodel.VM
Gets the name of VM on the virtualisation backend that this VM uses.
getBaseDir() - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getBookingById(String) - Method in interface org.paulneve.wlab.data.DataAccess
Gets booking by an ID number
getBookingById(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getBookingByName(String) - Method in interface org.paulneve.wlab.data.DataAccess
Gets booking by booking name.
getBookingByName(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getBookingIds() - Method in class org.paulneve.wlab.datamodel.Student
Get the bookings for this student.
getBookingsByStudentId(String) - Method in interface org.paulneve.wlab.data.DataAccess
Returns all bookings for a student
getBookingsByStudentId(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getCourseById(String) - Method in interface org.paulneve.wlab.data.DataAccess
Returns a course by ID
getCourseById(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getCourseByName(String) - Method in interface org.paulneve.wlab.data.DataAccess
Returns a course by name
getCourseByName(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
GetCourseDetailsServlet - Class in org.paulneve.wlab.webui
Quick servlet intended to be used via AJAX to get a course ID from a course name, and vice versa.
GetCourseDetailsServlet() - Constructor for class org.paulneve.wlab.webui.GetCourseDetailsServlet
 
getCourseId() - Method in class org.paulneve.wlab.datamodel.Lab
Gets the course that this Lab belongs to
getDate() - Method in class org.paulneve.wlab.datamodel.Booking
Returns the date and time of the booking as a Java date object.
getDefaultStudentConcurrentVMs() - Method in class org.paulneve.wlab.utilities.Parameters
 
getDefaultStudentMaxBookings() - Method in class org.paulneve.wlab.utilities.Parameters
 
getDefaultStudentMaxRuntime() - Method in class org.paulneve.wlab.utilities.Parameters
 
getDefaultVncPassword() - Method in class org.paulneve.wlab.utilities.Parameters
 
getDiskPath() - Method in class org.paulneve.wlab.virtualisation.VirtualisationAccessHyperVImpl
 
getEndPointVmId() - Method in class org.paulneve.wlab.datamodel.LabStage
Get the end point VM for this stage.
getId() - Method in class org.paulneve.wlab.datamodel.WLabObject
Get the ID of this object
getIpFromMac(String, int, int, int) - Static method in class org.paulneve.wlab.utilities.MacToIP
Gets an IP address from a MAC address.
getJumpgatePassword() - Method in class org.paulneve.wlab.utilities.Parameters
 
getJumpgatePort() - Method in class org.paulneve.wlab.utilities.Parameters
 
getJumpgateServer() - Method in class org.paulneve.wlab.utilities.Parameters
 
getLabById(String) - Method in interface org.paulneve.wlab.data.DataAccess
Returns a lab by ID
getLabById(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getLabByName(String) - Method in interface org.paulneve.wlab.data.DataAccess
Returns a lab by name
getLabByName(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getLabId() - Method in class org.paulneve.wlab.datamodel.LabProgress
Get the owning lab
getLabListArray(ArrayList<Lab>, Student) - Method in class org.paulneve.wlab.utilities.GeneralUtils
Builds the data for the studentLabList view.
getLabProgressById(String) - Method in interface org.paulneve.wlab.data.DataAccess
Returns a LabProgress by ID
getLabProgressById(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getLabProgressByLabId(String) - Method in interface org.paulneve.wlab.data.DataAccess
Returns all LabProgresses (LPs) for a given LabId - will return values across many students.
getLabProgressByLabId(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getLabProgressByLabIdAndStudentId(String, String) - Method in interface org.paulneve.wlab.data.DataAccess
Returns a single labProgress object, given a lab ID and student ID.
getLabProgressByLabIdAndStudentId(String, String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getLabProgressByName(String) - Method in interface org.paulneve.wlab.data.DataAccess
Returns a LabProgress by name
getLabProgressByName(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getLabProgressByStudentId(String) - Method in interface org.paulneve.wlab.data.DataAccess
Returns all LabProgresses (LPs) for a given student ID.
getLabProgressByStudentId(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getLabProgresses() - Method in class org.paulneve.wlab.datamodel.Lab
Get the LabProgresses for this lab
getLabProgressId() - Method in class org.paulneve.wlab.datamodel.StageProgress
Get the labProgress for this StageProgress.
getLabProgressIds() - Method in class org.paulneve.wlab.datamodel.Student
Gets the LabProgresses for this student.
getLabsByStudentId(String) - Method in interface org.paulneve.wlab.data.DataAccess
Returns all lab IDs for a given student ID
getLabsByStudentId(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getLabStageById(String) - Method in interface org.paulneve.wlab.data.DataAccess
Gets a labStage by ID
getLabStageById(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getLabStageByName(String) - Method in interface org.paulneve.wlab.data.DataAccess
Gets a labStage by name
getLabStageByName(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getLabStageId() - Method in class org.paulneve.wlab.datamodel.StageProgress
Set the LabStage for this StageProgress
getLabStageId() - Method in class org.paulneve.wlab.datamodel.VM
Gets the LabStage this VM "belongs" to
getLabStageIds() - Method in class org.paulneve.wlab.datamodel.Lab
Gets the labstages for this Lab
getLabStagesByLabId(String) - Method in interface org.paulneve.wlab.data.DataAccess
Gets all the labStages for a particular Lab.
getLabStagesByLabId(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getMap() - Method in class org.paulneve.wlab.utilities.Strings
 
getMaxBookings() - Method in class org.paulneve.wlab.datamodel.Student
Get the maximum number of bookings that this student may make in the future.
getMaxConcurrentVMs() - Method in class org.paulneve.wlab.datamodel.Student
Returns the maximum number of Vms this student is allowed to run at a single time.
getMaxConcurrentVMs() - Method in class org.paulneve.wlab.utilities.Parameters
 
getMaxRuntime() - Method in class org.paulneve.wlab.datamodel.Student
Get the period after which all the student's labs will be suspended
getName() - Method in class org.paulneve.wlab.datamodel.WLabObject
Get the name of this object
getNoBookingsByDate() - Method in interface org.paulneve.wlab.data.DataAccess
Gets the number of upcoming bookings for each date in the future.
getNoBookingsByDate() - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
Returns a hashmap of dates of bookings, with the "number" of bookings as an integer against the date.
getNumberOfCurrentlyRunningVMs() - Method in interface org.paulneve.wlab.virtualisation.VirtualisationAccess
Does precisely what it says.
getNumberOfCurrentlyRunningVMs() - Method in class org.paulneve.wlab.virtualisation.VirtualisationAccessHyperVImpl
 
getOctet1() - Method in class org.paulneve.wlab.virtualisation.VirtualisationAccessHyperVImpl
 
getOctet2() - Method in class org.paulneve.wlab.virtualisation.VirtualisationAccessHyperVImpl
 
getOctet3() - Method in class org.paulneve.wlab.virtualisation.VirtualisationAccessHyperVImpl
 
getOriginalVmId() - Method in class org.paulneve.wlab.datamodel.StudentAllocatedVM
Get the original TutorVM (TutorVM) that this VM was cloned from
getOwningLabId() - Method in class org.paulneve.wlab.datamodel.LabStage
Get the owning lab for this LabStage
getOwningTutorId() - Method in class org.paulneve.wlab.datamodel.Course
Gets the tutor who "owns" this course
getOwningTutorId() - Method in class org.paulneve.wlab.datamodel.Lab
Gets the owning tutor for this lab
getOwningTutorId() - Method in class org.paulneve.wlab.datamodel.LabStage
Get the owning tutor for this labStage
getOwningTutorId() - Method in class org.paulneve.wlab.datamodel.TutorVM
Returns the owning tutor for this TutorVM.
getParameterEncryptionKey() - Method in class org.paulneve.wlab.utilities.Parameters
 
getPassword() - Method in class org.paulneve.wlab.virtualisation.VirtualisationAccessHyperVImpl
 
getPollingInterval() - Method in class org.paulneve.wlab.utilities.VmSuspender
Gets the polling interval of the VmSuspender.
getPort() - Method in class org.paulneve.wlab.utilities.Parameters
 
getProgress() - Method in class org.paulneve.wlab.datamodel.StageProgress
Has a student "completed" the stage yet? Completed meaning "actually been there" rather than "done all the tasks intended in that stage".
getRebootAfterCloning() - Method in class org.paulneve.wlab.datamodel.TutorVM
Returns the rebootAfterCloning value.
getResourceById(String) - Method in interface org.paulneve.wlab.data.DataAccess
Get a resource by ID
getResourceById(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getResourceByName(String) - Method in interface org.paulneve.wlab.data.DataAccess
Get a resource by name
getResourceByName(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getResourceIds() - Method in class org.paulneve.wlab.datamodel.LabStage
Get the resources for this stage.
getResourcesByLabStageId(String) - Method in interface org.paulneve.wlab.data.DataAccess
Gets resources that correspond to a LabStage
getResourcesByLabStageId(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getRunningPlusBooked() - Method in class org.paulneve.wlab.utilities.GeneralUtils
Returns an integer that represents the number of possible VMs running at the current moment.
getScreenSizeX() - Method in class org.paulneve.wlab.datamodel.VM
Gets the X parameter of the screen res for the VM
getScreenSizeY() - Method in class org.paulneve.wlab.datamodel.VM
Gets the Y parameter of the screen res for the VM
getServerName() - Method in class org.paulneve.wlab.virtualisation.VirtualisationAccessHyperVImpl
 
getStageProgressById(String) - Method in interface org.paulneve.wlab.data.DataAccess
Returns a StageProgress by ID
getStageProgressById(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getStageProgressByLabProgressId(String) - Method in interface org.paulneve.wlab.data.DataAccess
Gets StageProgresses (SPs) by a LabProgress (LP) ID.
getStageProgressByLabProgressId(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getStageProgressByName(String) - Method in interface org.paulneve.wlab.data.DataAccess
Returns a StageProgress by name
getStageProgressByName(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getStageProgressIds() - Method in class org.paulneve.wlab.datamodel.LabProgress
Returns the stageProgress IDs as an ArrayList of strings
getStudentAllocatedVMById(String) - Method in interface org.paulneve.wlab.data.DataAccess
Get a StudentAllocatedVM (SAVM) by ID.
getStudentAllocatedVMById(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getStudentAllocatedVMByName(String) - Method in interface org.paulneve.wlab.data.DataAccess
Get a StudentAllocatedVM (SAVM) by its name.
getStudentAllocatedVMByName(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getStudentAllocatedVMByStudent(String) - Method in interface org.paulneve.wlab.data.DataAccess
Gets all StudentAllocatedVMs for a specific student.
getStudentAllocatedVMByStudent(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getStudentById(String) - Method in interface org.paulneve.wlab.data.DataAccess
Returns a student by ID
getStudentById(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getStudentByName(String) - Method in interface org.paulneve.wlab.data.DataAccess
Returns a student by name
getStudentByName(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getStudentId() - Method in class org.paulneve.wlab.datamodel.Booking
Returns the "owning" student of this booking
getStudentId() - Method in class org.paulneve.wlab.datamodel.LabProgress
 
getTutorById(String) - Method in interface org.paulneve.wlab.data.DataAccess
Returns a tutor by ID
getTutorById(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getTutorByName(String) - Method in interface org.paulneve.wlab.data.DataAccess
Returns a tutor by name
getTutorByName(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getTutorVMById(String) - Method in interface org.paulneve.wlab.data.DataAccess
Get a TutorVM (TutorVM) by its ID value
getTutorVMById(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getTutorVMByName(String) - Method in interface org.paulneve.wlab.data.DataAccess
Get a TutorVM (TutorVM) by its name.
getTutorVMByName(String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getUrl() - Method in class org.paulneve.wlab.datamodel.Resource
Get the URL for this resource
getUsername() - Method in class org.paulneve.wlab.virtualisation.VirtualisationAccessHyperVImpl
 
getVMForStudentIdAndLabStageId(String, String) - Method in interface org.paulneve.wlab.data.DataAccess
Gets a StudentAllocatedVM given a student ID and a lab stage ID.
getVMForStudentIdAndLabStageId(String, String) - Method in class org.paulneve.wlab.data.DataAccessXMLImpl
 
getVmId() - Method in class org.paulneve.wlab.datamodel.LabStage
Get the TutorVM for this LabStage
getVmIds() - Method in class org.paulneve.wlab.datamodel.Student
Set the StudentAllocatedVMs for this student.
getVMIP(String) - Method in interface org.paulneve.wlab.virtualisation.VirtualisationAccess
Gets the IP address(es) of a VM.
getVMIP(String) - Method in class org.paulneve.wlab.virtualisation.VirtualisationAccessHyperVImpl
 
getVMStatus(String) - Method in interface org.paulneve.wlab.virtualisation.VirtualisationAccess
Gets a VM status.
getVMStatus(String) - Method in class org.paulneve.wlab.virtualisation.VirtualisationAccessHyperVImpl
 
getVmsWithStatus(ArrayList<StudentAllocatedVM>) - Method in class org.paulneve.wlab.utilities.GeneralUtils
Takes an arraylist of student allocated VMs, and returns it with their status, ie.

A B C D E F G H I J L M N O P R S T U V W