| java.lang.Object org.sakaiproject.component.section.sakai.SectionManagerImpl
SectionManagerImpl | abstract public class SectionManagerImpl implements SectionManager,SiteAdvisor(Code) | | A sakai-based implementation of the Section Management API, using the
new grouping capability of the framework.
author: Josh Holtzman |
Method Summary | |
public CourseSection | addSection(String courseUuid, String title, String category, Integer maxEnrollments, String location, Time startTime, Time endTime, boolean monday, boolean tuesday, boolean wednesday, boolean thursday, boolean friday, boolean saturday, boolean sunday) | public ParticipationRecord | addSectionMembership(String userUid, Role role, String sectionUuid) | public Collection<CourseSection> | addSections(String courseUuid, Collection<CourseSection> sections) | public void | destroy() Cleans up any resources in use before destroying this service. | public void | disbandSection(String sectionUuid) | public void | disbandSections(Set<String> sectionUuids) | public void | dropEnrollmentFromCategory(String studentUid, String siteContext, String category) | public void | dropSectionMembership(String userUid, String sectionUuid) | public List<EnrollmentRecord> | findSiteEnrollments(String siteContext, String pattern) | public String | getCategoryName(String categoryId, Locale locale) | public ExternalIntegrationConfig | getConfiguration(Object obj) | public Course | getCourse(String siteContext) | public CourseSection | getSection(String sectionUuid) | public List<String> | getSectionCategories(String siteContext) | public List<EnrollmentRecord> | getSectionEnrollments(String sectionUuid) | public Set<EnrollmentRecord> | getSectionEnrollments(String userUid, String courseUuid) | public SectionEnrollments | getSectionEnrollmentsForStudents(String siteContext, Set studentUids) | public List<ParticipationRecord> | getSectionTeachingAssistants(String sectionUuid) | public List<CourseSection> | getSections(String siteContext) Filters out framework groups that do not have a category. | public List<CourseSection> | getSectionsInCategory(String siteContext, String categoryId) | public User | getSiteEnrollment(String siteContext, String studentUid) | public List<EnrollmentRecord> | getSiteEnrollments(String siteContext) | public List<ParticipationRecord> | getSiteInstructors(String siteContext) | public List<ParticipationRecord> | getSiteTeachingAssistants(String siteContext) | public int | getTotalEnrollments(String learningContextUuid) | public List<EnrollmentRecord> | getUnsectionedEnrollments(String courseUuid, String category) | public void | init() Initialization called once all dependencies are set. | public boolean | isExternallyManaged(String courseUuid) | public boolean | isSelfRegistrationAllowed(String courseUuid) | public boolean | isSelfSwitchingAllowed(String courseUuid) | public EnrollmentRecord | joinSection(String sectionUuid) | public void | setAuthzGroupService(AuthzGroupService authzGroupService) | public void | setConfig(String config) | public void | setCourseManagementService(CourseManagementService courseManagementService) | public void | setEntityManager(EntityManager entityManager) | public void | setEventTrackingService(EventTrackingService eventTrackingService) | public void | setExternallyManaged(String courseUuid, boolean externallyManaged) | public void | setGroupProvider(GroupProvider groupProvider) | public void | setJoinOptions(String courseUuid, boolean joinAllowed, boolean switchAllowed) | public void | setSectionMemberships(Set userUids, Role role, String sectionUuid) | public void | setSecurityService(SecurityService securityService) | public void | setSessionManager(SessionManager sessionManager) | public void | setUserDirectoryService(UserDirectoryService userDirectoryService) | abstract protected SiteService | siteService() | public void | switchSection(String newSectionUuid) | public void | update(Site site) | public void | updateSection(String sectionUuid, String title, Integer maxEnrollments, String location, Time startTime, Time endTime, boolean monday, boolean tuesday, boolean wednesday, boolean thursday, boolean friday, boolean saturday, boolean sunday) | public void | updateSection(String sectionUuid, String title, Integer maxEnrollments, List<Meeting> meetings) |
config | protected ExternalIntegrationConfig config(Code) | | |
addSection | public CourseSection addSection(String courseUuid, String title, String category, Integer maxEnrollments, String location, Time startTime, Time endTime, boolean monday, boolean tuesday, boolean wednesday, boolean thursday, boolean friday, boolean saturday, boolean sunday)(Code) | | |
destroy | public void destroy()(Code) | | Cleans up any resources in use before destroying this service.
|
disbandSection | public void disbandSection(String sectionUuid)(Code) | | |
dropEnrollmentFromCategory | public void dropEnrollmentFromCategory(String studentUid, String siteContext, String category)(Code) | | |
dropSectionMembership | public void dropSectionMembership(String userUid, String sectionUuid)(Code) | | |
getConfiguration | public ExternalIntegrationConfig getConfiguration(Object obj)(Code) | | |
getSections | public List<CourseSection> getSections(String siteContext)(Code) | | Filters out framework groups that do not have a category. A section's
category is determined by
|
getTotalEnrollments | public int getTotalEnrollments(String learningContextUuid)(Code) | | |
init | public void init()(Code) | | Initialization called once all dependencies are set.
|
isExternallyManaged | public boolean isExternallyManaged(String courseUuid)(Code) | | |
isSelfRegistrationAllowed | public boolean isSelfRegistrationAllowed(String courseUuid)(Code) | | |
isSelfSwitchingAllowed | public boolean isSelfSwitchingAllowed(String courseUuid)(Code) | | |
setExternallyManaged | public void setExternallyManaged(String courseUuid, boolean externallyManaged)(Code) | | |
setJoinOptions | public void setJoinOptions(String courseUuid, boolean joinAllowed, boolean switchAllowed)(Code) | | |
updateSection | public void updateSection(String sectionUuid, String title, Integer maxEnrollments, String location, Time startTime, Time endTime, boolean monday, boolean tuesday, boolean wednesday, boolean thursday, boolean friday, boolean saturday, boolean sunday)(Code) | | |
|
|