org.sakaiproject.component.section.sakai
Class SectionCmMetadataSynchronizer

java.lang.Object
  extended by org.sakaiproject.component.section.sakai.SectionCmMetadataSynchronizer
All Implemented Interfaces:
org.quartz.Job

public class SectionCmMetadataSynchronizer
extends Object
implements org.quartz.Job

Updates sakai's section metadata with the latest section information from the CM service.

Author:
jholtzman@berkeley.edu

Field Summary
protected  CourseManagementService cmService
           
protected  org.sakaiproject.authz.api.GroupProvider groupProvider
           
static int PAGE_SIZE
           
protected  org.sakaiproject.site.api.SiteService siteService
           
 
Constructor Summary
SectionCmMetadataSynchronizer()
           
 
Method Summary
 void execute(org.quartz.JobExecutionContext arg0)
           
 void init()
           
protected  void loginToSakai()
           
protected  void logoutFromSakai()
           
 void setCmService(CourseManagementService cmService)
           
 void setSiteService(org.sakaiproject.site.api.SiteService siteService)
           
 void updateSakaiSectionMetadata()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAGE_SIZE

public static final int PAGE_SIZE
See Also:
Constant Field Values

siteService

protected org.sakaiproject.site.api.SiteService siteService

cmService

protected CourseManagementService cmService

groupProvider

protected org.sakaiproject.authz.api.GroupProvider groupProvider
Constructor Detail

SectionCmMetadataSynchronizer

public SectionCmMetadataSynchronizer()
Method Detail

setCmService

public void setCmService(CourseManagementService cmService)

setSiteService

public void setSiteService(org.sakaiproject.site.api.SiteService siteService)

init

public void init()

updateSakaiSectionMetadata

public void updateSakaiSectionMetadata()

loginToSakai

protected void loginToSakai()

logoutFromSakai

protected void logoutFromSakai()

execute

public void execute(org.quartz.JobExecutionContext arg0)
             throws org.quartz.JobExecutionException
Specified by:
execute in interface org.quartz.Job
Throws:
org.quartz.JobExecutionException


Copyright © 2011 Sakai Project. All Rights Reserved.