| 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.lenya.cms.scheduler.ServletJob
org.apache.lenya.cms.scheduler.TaskJob
public class TaskJob
A TaskJob is a Job that executes a Task. The task ID is obtained from the task-id
 request parameter.
| Field Summary | 
|---|
| Fields inherited from class org.apache.lenya.cms.scheduler.ServletJob | 
|---|
ATTRIBUTE_CLASS, ATTRIBUTE_DOCUMENT_URL, ATTRIBUTE_ID, ATTRIBUTE_SERVLET_CONTEXT, ELEMENT_JOB, PARAMETER_DOCUMENT_URL | 
| Constructor Summary | |
|---|---|
TaskJob()
 | 
|
| Method Summary | |
|---|---|
 org.quartz.JobDataMap | 
createJobData(javax.servlet.http.HttpServletRequest request)
Creates the job data for a job.  | 
 void | 
execute(org.quartz.JobExecutionContext context)
Called by the  when a  fires that is associated with the Job. | 
 org.quartz.JobDetail | 
load(org.w3c.dom.Element jobElement,
     java.lang.String jobGroup,
     java.lang.String servletContextPath)
Loads a job details object from an XML element.  | 
 org.w3c.dom.Element | 
save(NamespaceHelper helper,
     org.quartz.JobDetail jobDetail)
DOCUMENT ME!  | 
protected  java.util.Map | 
stripPrefixes(java.util.Map wrapperMap)
Un-prefix the parameters.  | 
| Methods inherited from class org.apache.lenya.cms.scheduler.ServletJob | 
|---|
getDocumentUrl, setDocumentUrl | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public TaskJob()
| Method Detail | 
|---|
protected java.util.Map stripPrefixes(java.util.Map wrapperMap)
                               throws org.quartz.SchedulerException
wrapperMap - the prefixed parameters.
org.quartz.SchedulerException - when something went wrong.
public org.quartz.JobDataMap createJobData(javax.servlet.http.HttpServletRequest request)
                                    throws org.quartz.SchedulerException
createJobData in class ServletJobservletContextPath - The servlet context path.request - The request.
org.quartz.SchedulerException - when something went wrong.
public void execute(org.quartz.JobExecutionContext context)
             throws org.quartz.JobExecutionException
 Called by the  when a Scheduler fires that is associated with the TriggerJob.
 
context - DOCUMENT ME!
org.quartz.JobExecutionException - if there is an exception while executing the job.
public org.quartz.JobDetail load(org.w3c.dom.Element jobElement,
                                 java.lang.String jobGroup,
                                 java.lang.String servletContextPath)
                          throws org.quartz.SchedulerException
load in class ServletJobjobElement - The XML element.jobGroup - The job group the job belongs to.servletContextPath - The servlet context path.
org.quartz.SchedulerException - when something went wrong.
public org.w3c.dom.Element save(NamespaceHelper helper,
                                org.quartz.JobDetail jobDetail)
                         throws org.quartz.SchedulerException
save in class ServletJobjobDetail - DOCUMENT ME!helper - namespace helper
org.quartz.SchedulerException - when something went wrong.
  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||