org.sakaiproject.delegatedaccess.jobs
Class DelegatedAccessSiteHierarchyJob

java.lang.Object
  extended by org.sakaiproject.delegatedaccess.jobs.DelegatedAccessSiteHierarchyJob
All Implemented Interfaces:
org.quartz.Job

public class DelegatedAccessSiteHierarchyJob
extends Object
implements org.quartz.Job

This is a default quartz job to populate/update(add/remove) the Delegated Access site hierarchy. It searches through all sites in Sakai and looks for structure properties tied to the site. The default properties are (in order): School Department Subject you can overwrite these in sakai.properties with: delegatedaccess.hierarchy.site.properties ex: delegatedaccess.hierarchy.site.properties.count=3 delegatedaccess.hierarchy.site.properties.1=School delegatedaccess.hierarchy.site.properties.2=Department delegatedaccess.hierarchy.site.properties.3=Subject You can run it as many times as you want. Best bet would be to set up a quartz trigger to go off after every time your site integration runs.

Author:
Bryan Holladay (holladay@longsight.com)

Constructor Summary
DelegatedAccessSiteHierarchyJob()
           
 
Method Summary
 void execute(org.quartz.JobExecutionContext arg0)
           
 void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatedAccessSiteHierarchyJob

public DelegatedAccessSiteHierarchyJob()
Method Detail

init

public void init()

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 © 2003-2012 Sakai Project. All Rights Reserved.