public class ERQSUtilities extends Object
You can call directly ERQSUtilities.willSave(myJobDescriptionEO) for example but an instance of the job will be create each time. You can also call createJobInstance(myJobDescriptionEO) and call the above methods yourself.
Because the job class is not necessarily a subclass of ERQSJob (it can be a sub class of ERQSAbstractJob or just implement the interface Job), the methods willDelete, willSave, validateForDelete, validateForSave checks if the instantiated object is a ERQSJob object. If not the object is just returned.
Modifier and Type | Class and Description |
---|---|
static class |
ERQSUtilities.COJobInstanciationException
This exception is thrown if the class to be instantiate doesn't exist or if it can't be instantiate like a wrong constructor
for example.
|
Constructor and Description |
---|
ERQSUtilities() |
Modifier and Type | Method and Description |
---|---|
static org.quartz.Job |
createJobInstance(ERQSJobDescription jobDescription) |
static org.quartz.Job |
validateForDelete(ERQSJobDescription jobDescription) |
static org.quartz.Job |
validateForSave(ERQSJobDescription jobDescription) |
static org.quartz.Job |
willDelete(ERQSJobDescription jobDescription) |
static org.quartz.Job |
willSave(ERQSJobDescription jobDescription) |
public static org.quartz.Job createJobInstance(ERQSJobDescription jobDescription) throws ERQSUtilities.COJobInstanciationException
public static org.quartz.Job willDelete(ERQSJobDescription jobDescription) throws ERQSUtilities.COJobInstanciationException
public static org.quartz.Job willSave(ERQSJobDescription jobDescription) throws ERQSUtilities.COJobInstanciationException
public static org.quartz.Job validateForDelete(ERQSJobDescription jobDescription) throws ERQSUtilities.COJobInstanciationException
public static org.quartz.Job validateForSave(ERQSJobDescription jobDescription) throws ERQSUtilities.COJobInstanciationException
Copyright © 2002 – 2020 Project Wonder.