public abstract class AbstractFax4JClientSpi extends AbstractFaxClientSpi
AbstractFaxClientSpi.FaxJobExtendedPropertyConstants
Constructor and Description |
---|
AbstractFax4JClientSpi()
This is the default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
cancelFaxJobImpl(FaxJob faxJob)
This function will cancel an existing fax job.
|
protected FaxJobStatus |
getFaxJobStatusImpl(FaxJob faxJob)
This function returns the fax job status.
Not all SPIs support extraction of the fax job status. In case the SPI is unable to extract or does not support extracting of the fax job status, it will return the UNKNOWN status. |
Provider |
getProvider()
This function returns the provider.
|
boolean |
isFaxMonitorEventsSupported()
This function returns true if the fax monitor events are supported by this SPI.
|
FaxJobStatus[] |
pollForFaxJobStatues(FaxJob[] faxJobs)
This function polls the new statues for the provided fax jobs.
|
protected FaxJobStatus[] |
pollForFaxJobStatuesImpl(FaxJob[] faxJobs)
This function polls the new statues for the provided fax jobs.
|
protected void |
resumeFaxJobImpl(FaxJob faxJob)
This function will resume an existing fax job.
|
protected void |
submitFaxJobImpl(FaxJob faxJob)
This function will submit a new fax job.
The fax job ID may be populated by this method in the provided fax job object. |
protected void |
suspendFaxJobImpl(FaxJob faxJob)
This function will suspend an existing fax job.
|
addFaxClientActionEventListener, addFaxMonitorEventListener, cancelFaxJob, createFaxJob, createFaxJobImpl, fireFaxEvent, fireFaxEvent, fireFaxMonitorEvent, getConfiguration, getConfigurationValue, getConfigurationValue, getFaxJobMonitor, getFaxJobStatus, getLogger, getPropertyPart, initialize, initializeImpl, invokeFaxJobIDValidation, invokeFaxJobNullValidation, removeAllFaxClientActionEventListeners, removeAllFaxMonitorEventListeners, removeFaxClientActionEventListener, removeFaxMonitorEventListener, resumeFaxJob, submitFaxJob, suspendFaxJob, throwUnsupportedException
public AbstractFax4JClientSpi()
public final Provider getProvider()
public boolean isFaxMonitorEventsSupported()
public final FaxJobStatus[] pollForFaxJobStatues(FaxJob[] faxJobs)
faxJobs
- The fax jobs to pollprotected void submitFaxJobImpl(FaxJob faxJob)
submitFaxJobImpl
in class AbstractFaxClientSpi
faxJob
- The fax job object containing the needed informationprotected void suspendFaxJobImpl(FaxJob faxJob)
suspendFaxJobImpl
in class AbstractFaxClientSpi
faxJob
- The fax job object containing the needed informationprotected void resumeFaxJobImpl(FaxJob faxJob)
resumeFaxJobImpl
in class AbstractFaxClientSpi
faxJob
- The fax job object containing the needed informationprotected void cancelFaxJobImpl(FaxJob faxJob)
cancelFaxJobImpl
in class AbstractFaxClientSpi
faxJob
- The fax job object containing the needed informationprotected FaxJobStatus getFaxJobStatusImpl(FaxJob faxJob)
getFaxJobStatusImpl
in class AbstractFaxClientSpi
faxJob
- The fax job object containing the needed informationprotected FaxJobStatus[] pollForFaxJobStatuesImpl(FaxJob[] faxJobs)
faxJobs
- The fax jobs to pollCopyright © 2009–2020 fax4j. All rights reserved.