|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jaspersoft.jasperserver.ws.scheduling.ReportSchedulerFacade
public class ReportSchedulerFacade
Facade for the report scheduling service stub.
Constructor Summary | |
---|---|
ReportSchedulerFacade(ReportSchedulerSoapBindingStub serviceStub)
Wraps a client stub. |
|
ReportSchedulerFacade(java.net.URL address,
java.lang.String user,
java.lang.String password)
Creates and wraps a client stub for a given set of service connection attributes. |
Method Summary | |
---|---|
protected ReportSchedulerSoapBindingStub |
createServiceStub(java.net.URL address,
java.lang.String user,
java.lang.String password)
|
void |
deleteJob(long id)
Deletes a report job. |
void |
deleteJobs(long[] ids)
Deletes several report jobs. |
JobSummary[] |
getAllJobs()
Retrieves a list containing all the report jobs. |
protected org.apache.axis.EngineConfiguration |
getEngineConfiguration()
|
Job |
getJob(long id)
Retrieves the full details of a report job. |
JobSummary[] |
getReportJobs(java.lang.String reportURI)
Retrieves a list of jobs of a specific report. |
protected Job |
processJob(Job job)
|
protected void |
processJobParameter(JobParameter parameter)
|
protected void |
processJobParameters(Job job)
|
Job |
scheduleJob(Job job)
Schedules a new report job. |
void |
setLocale(java.util.Locale locale)
Sets the locale to be used when issuing request to the service. |
protected void |
setLocale(java.lang.String locale)
|
Job |
updateJob(Job job)
Updates an existing report job. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReportSchedulerFacade(java.net.URL address, java.lang.String user, java.lang.String password) throws javax.xml.rpc.ServiceException
address
- the service endpoint URLuser
- the username to be used to authenticate the service callerpassword
- the password to be used to authenticate the service caller
javax.xml.rpc.ServiceException
- if the client stub cannot be createdpublic ReportSchedulerFacade(ReportSchedulerSoapBindingStub serviceStub)
serviceStub
- the service stubMethod Detail |
---|
protected ReportSchedulerSoapBindingStub createServiceStub(java.net.URL address, java.lang.String user, java.lang.String password) throws javax.xml.rpc.ServiceException
javax.xml.rpc.ServiceException
public void setLocale(java.util.Locale locale)
locale
- protected void setLocale(java.lang.String locale)
protected org.apache.axis.EngineConfiguration getEngineConfiguration()
public void deleteJob(long id) throws java.rmi.RemoteException
deleteJob
in interface ReportScheduler
id
- the ID of the job to delete
java.rmi.RemoteException
public void deleteJobs(long[] ids) throws java.rmi.RemoteException
deleteJobs
in interface ReportScheduler
ids
- the IDs of the jobs to delete
java.rmi.RemoteException
public JobSummary[] getAllJobs() throws java.rmi.RemoteException
getAllJobs
in interface ReportScheduler
java.rmi.RemoteException
public Job getJob(long id) throws java.rmi.RemoteException
getJob
in interface ReportScheduler
id
- the job ID
java.rmi.RemoteException
public JobSummary[] getReportJobs(java.lang.String reportURI) throws java.rmi.RemoteException
getReportJobs
in interface ReportScheduler
reportURI
- the URI of the report
java.rmi.RemoteException
public Job scheduleJob(Job job) throws java.rmi.RemoteException
scheduleJob
in interface ReportScheduler
job
- an object containing the attributes of
the new job
java.rmi.RemoteException
public Job updateJob(Job job) throws java.rmi.RemoteException
updateJob
in interface ReportScheduler
job
- an object containing all the attributes
of the job to be updated
java.rmi.RemoteException
protected Job processJob(Job job)
protected void processJobParameters(Job job)
protected void processJobParameter(JobParameter parameter)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |