com.knowgate.scheduler.jobs
Class SMSSender

java.lang.Object
  extended by com.knowgate.dataobjs.DBPersist
      extended by com.knowgate.scheduler.Job
          extended by com.knowgate.scheduler.jobs.SMSSender
All Implemented Interfaces:
java.io.Serializable, java.util.Map

public class SMSSender
extends Job

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class com.knowgate.scheduler.Job
COMMAND_DUMY, COMMAND_FAX, COMMAND_FTP, COMMAND_MAIL, COMMAND_SAVE, COMMAND_SEND, iPendingAtoms, STATUS_ABORTED, STATUS_FINISHED, STATUS_INTERRUPTED, STATUS_PENDING, STATUS_RUNNING, STATUS_SUSPENDED
 
Fields inherited from class com.knowgate.dataobjs.DBPersist
AllVals, sAuditCls, sAuditUsr, sTransactId
 
Constructor Summary
SMSSender()
           
 
Method Summary
 void free()
          This method must free all the resource allocated by a Job
 java.lang.Object process(Atom oAtm)
          Send SMS message for an Atom
 
Methods inherited from class com.knowgate.scheduler.Job
abort, delete, delete, getDataBaseBind, getIdFromTitle, getParameter, getParameters, getProperties, getProperty, getStatus, insertRecipients, instantiate, instantiate, load, log, logFile, main, pending, resolveAtomsEMails, setDataBaseBind, setStatus, store
 
Methods inherited from class com.knowgate.dataobjs.DBPersist
allcaps, allcaps, changelog, clear, clone, containsKey, containsValue, entrySet, exists, get, get, getAuditClassName, getCreationDate, getDate, getDateFormated, getDateShort, getDateTime, getDateTime24, getDecimal, getDecimalFormated, getDecimalFormated, getDouble, getDoubleFormated, getFloat, getFloatFormated, getInt, getInteger, getIntervalPart, getItemMap, getItems, getMoney, getShort, getSQLDate, getSQLTime, getString, getStringHtml, getStringNull, getTable, getTable, getTableName, getTime, getTimeOfDay, getTimestamp, getUIdFromName, isEmpty, isNull, iterator, keySet, load, parseXML, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, putAll, putAll, remove, remove, replace, replace, replace, replace, replace, replace, replace, replace, setAuditTransact, setAuditUser, setCreationDate, size, toLowerCase, toUpperCase, toXML, toXML, toXML, toXML, values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

SMSSender

public SMSSender()
Method Detail

process

public java.lang.Object process(Atom oAtm)
                         throws java.sql.SQLException,
                                java.io.FileNotFoundException,
                                java.io.IOException,
                                java.lang.NullPointerException,
                                java.lang.ClassNotFoundException,
                                java.lang.InstantiationException,
                                java.lang.IllegalAccessException
Send SMS message for an Atom

Specified by:
process in class Job
Parameters:
oAtm -
Returns:
SMSResponse Object
Throws:
java.sql.SQLException
java.io.FileNotFoundException
java.io.IOException
MessagingException
java.lang.NullPointerException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException

free

public void free()
Description copied from class: Job

This method must free all the resource allocated by a Job

Specified by:
free in class Job