org.apache.lokahi.core.api.job
Class JobModel

java.lang.Object
  extended by org.apache.lokahi.core.common.interfaces.LokahiModel<Job>
      extended by org.apache.lokahi.core.api.job.JobModel

public class JobModel
extends LokahiModel<Job>

Version:
$Id: JobModel.java,v 1.4 2006/03/07 19:52:06 drtobes Exp $
Author:
Stephen Toback

Field Summary
 
Fields inherited from class org.apache.lokahi.core.common.interfaces.LokahiModel
jp, logger, tpe
 
Constructor Summary
JobModel()
           
 
Method Summary
 Job getObject(int id)
           
 java.util.Collection<Job> getObjects()
           
 
Methods inherited from class org.apache.lokahi.core.common.interfaces.LokahiModel
jpInit, jpInit, jpInit, jpInit, perform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobModel

public JobModel()
Method Detail

getObjects

public java.util.Collection<Job> getObjects()
                                     throws java.sql.SQLException
Specified by:
getObjects in class LokahiModel<Job>
Throws:
java.sql.SQLException

getObject

public Job getObject(int id)
              throws java.sql.SQLException
Specified by:
getObject in class LokahiModel<Job>
Throws:
java.sql.SQLException