org.sakaiproject.component.section
Class SectionEnrollmentsImpl

java.lang.Object
  extended by org.sakaiproject.component.section.SectionEnrollmentsImpl
All Implemented Interfaces:
SectionEnrollments

public class SectionEnrollmentsImpl
extends Object
implements SectionEnrollments

A data structure that keeps the UI layer from needing to know how the SectionManager service packages up the section enrollment information for a course. This is an effort to aviod MOP (Map Oriented Programming).

Author:
Josh Holtzman

Field Summary
protected  Map studentToMap
           
 
Constructor Summary
SectionEnrollmentsImpl(List enrollmentRecords)
           
 
Method Summary
 CourseSection getSection(String studentUid, String categoryId)
           
 Set getStudentUuids()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

studentToMap

protected Map studentToMap
Constructor Detail

SectionEnrollmentsImpl

public SectionEnrollmentsImpl(List enrollmentRecords)
Method Detail

getSection

public CourseSection getSection(String studentUid,
                                String categoryId)
Specified by:
getSection in interface SectionEnrollments

getStudentUuids

public Set getStudentUuids()
Specified by:
getStudentUuids in interface SectionEnrollments

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 Sakai Project. All Rights Reserved.