org.sakaiproject.tool.assessment.integration.helper.standalone
Class FacadeUtils

java.lang.Object
  extended by org.sakaiproject.tool.assessment.integration.helper.standalone.FacadeUtils

public class FacadeUtils
extends Object

borrowed gradebook's FacadeUtils class


Field Summary
static Comparator ENROLLMENT_DISPLAY_UID_COMPARATOR
          A comparator that sorts enrollments by student display UID (for installations where a student UID is not a number)
static Comparator ENROLLMENT_DISPLAY_UID_NUMERIC_COMPARATOR
          A comparator that sorts enrollments by student display UID (for installations where a student UID is a number)
static Comparator ENROLLMENT_NAME_COMPARATOR
          A comparator that sorts enrollments by student sortName
 
Method Summary
static Set getStudentUids(Collection enrollments)
          A convenience method for UID-based filtering.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENROLLMENT_NAME_COMPARATOR

public static final Comparator ENROLLMENT_NAME_COMPARATOR
A comparator that sorts enrollments by student sortName


ENROLLMENT_DISPLAY_UID_COMPARATOR

public static final Comparator ENROLLMENT_DISPLAY_UID_COMPARATOR
A comparator that sorts enrollments by student display UID (for installations where a student UID is not a number)


ENROLLMENT_DISPLAY_UID_NUMERIC_COMPARATOR

public static final Comparator ENROLLMENT_DISPLAY_UID_NUMERIC_COMPARATOR
A comparator that sorts enrollments by student display UID (for installations where a student UID is a number)

Method Detail

getStudentUids

public static Set getStudentUids(Collection enrollments)
A convenience method for UID-based filtering.



Copyright © 2005-2012 Sakai Project. All Rights Reserved.