| |
|
| java.lang.Object org.sakaiproject.tool.section.decorator.SectionDecorator
All known Subclasses: org.sakaiproject.tool.section.decorator.StudentSectionDecorator,
Inner Class :public class MeetingDecorator implements Serializable | |
LOCATION_TRUNCATION_LENGTH | final public static int LOCATION_TRUNCATION_LENGTH(Code) | | |
NAME_TRUNCATION_LENGTH | final public static int NAME_TRUNCATION_LENGTH(Code) | | |
decoratedMeetings | protected List<MeetingDecorator> decoratedMeetings(Code) | | |
showNegativeSpots | protected boolean showNegativeSpots(Code) | | |
totalEnrollments | protected int totalEnrollments(Code) | | |
SectionDecorator | public SectionDecorator(CourseSection section, boolean showNegativeSpots)(Code) | | Creates a SectionDecorator from a vanilla CourseSection.
Parameters: section - |
SectionDecorator | public SectionDecorator(CourseSection section, String categoryForDisplay, List<String> instructorNames, int totalEnrollments, boolean showNegativeSpots)(Code) | | Creates a SectionDecorator with more contextual information about the section.
Parameters: section - The CourseSection to decorate Parameters: categoryForDisplay - The CourseSection's category label Parameters: instructorNames - The names of TAs in this CourseSection Parameters: totalEnrollments - The total number of enrollments in this CourseSection |
SectionDecorator | public SectionDecorator()(Code) | | |
getCategoryForDisplay | public String getCategoryForDisplay()(Code) | | |
getDayComparator | final public static Comparator<SectionDecorator> getDayComparator(boolean sortAscending)(Code) | | Compares SectionDecorators by the section's first meeting days.
Parameters: sortAscending - |
getDecoratedMeetings | public List<MeetingDecorator> getDecoratedMeetings()(Code) | | |
getEnrollmentsComparator | final public static Comparator<SectionDecorator> getEnrollmentsComparator(boolean sortAscending, boolean useAvailable)(Code) | | Compares SectionDecorators by the section's enrollments.
Parameters: sortAscending - Whether to sort ascending or descending Parameters: useAvailable - Whether to use the number of available enrollments, or the total number of enrollments to sort |
getInstructorNames | public List getInstructorNames()(Code) | | |
getLocationComparator | final public static Comparator<SectionDecorator> getLocationComparator(boolean sortAscending)(Code) | | Compares SectionDecorators by the section's first meeting location.
Parameters: sortAscending - |
getManagersComparator | final public static Comparator<SectionDecorator> getManagersComparator(boolean sortAscending)(Code) | | Compares SectionDecorators by the section's TA names.
Parameters: sortAscending - |
getTimeComparator | final public static Comparator<SectionDecorator> getTimeComparator(boolean sortAscending)(Code) | | Compares SectionDecorators by the section's first meeting times.
Parameters: sortAscending - |
getTitleComparator | final public static Comparator<SectionDecorator> getTitleComparator(boolean sortAscending)(Code) | | Compares SectionDecorators by the section's title.
Parameters: sortAscending - |
getTotalEnrollments | public int getTotalEnrollments()(Code) | | |
isFlaggedForRemoval | public boolean isFlaggedForRemoval()(Code) | | |
setFlaggedForRemoval | public void setFlaggedForRemoval(boolean flaggedForRemoval)(Code) | | |
|
|
|