org.pentaho.di.repository.kdr.delegates
Class KettleDatabaseRepositoryJobEntryDelegate

java.lang.Object
  extended by org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryBaseDelegate
      extended by org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryJobEntryDelegate

public class KettleDatabaseRepositoryJobEntryDelegate
extends KettleDatabaseRepositoryBaseDelegate


Constructor Summary
KettleDatabaseRepositoryJobEntryDelegate(KettleDatabaseRepository repository)
           
 
Method Summary
 RowMetaAndData getJobEntry(ObjectId id_jobentry)
           
 RowMetaAndData getJobEntryCopy(ObjectId id_jobentry_copy)
           
 ObjectId getJobEntryID(String name, ObjectId id_job)
           
 RowMetaAndData getJobEntryType(ObjectId id_jobentry_type)
           
 ObjectId getJobEntryTypeID(String code)
           
 int getNrJobEntries(ObjectId id_job)
           
 ObjectId insertJobEntry(ObjectId id_job, JobEntryBase jobEntryBase)
           
 ObjectId insertJobEntryCopy(ObjectId id_job, ObjectId id_jobentry, ObjectId id_jobentry_type, int nr, long gui_location_x, long gui_location_y, boolean gui_draw, boolean parallel)
           
 void loadJobEntryBase(JobEntryBase jobEntryBase, ObjectId id_jobentry, List<DatabaseMeta> databases, List<SlaveServer> slaveServers)
           
 JobEntryCopy loadJobEntryCopy(ObjectId id_job, ObjectId id_jobentry_copy, List<JobEntryInterface> jobentries, List<DatabaseMeta> databases, List<SlaveServer> slaveServers)
          Load the chef graphical entry from repository We load type, name & description if no entry can be found.
 void saveJobEntryCopy(JobEntryCopy copy, ObjectId id_job)
           
 
Methods inherited from class org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryBaseDelegate
quote, quoteTable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KettleDatabaseRepositoryJobEntryDelegate

public KettleDatabaseRepositoryJobEntryDelegate(KettleDatabaseRepository repository)
Method Detail

getJobEntry

public RowMetaAndData getJobEntry(ObjectId id_jobentry)
                           throws KettleException
Throws:
KettleException

getJobEntryCopy

public RowMetaAndData getJobEntryCopy(ObjectId id_jobentry_copy)
                               throws KettleException
Throws:
KettleException

getJobEntryType

public RowMetaAndData getJobEntryType(ObjectId id_jobentry_type)
                               throws KettleException
Throws:
KettleException

getJobEntryID

public ObjectId getJobEntryID(String name,
                              ObjectId id_job)
                       throws KettleException
Throws:
KettleException

getJobEntryTypeID

public ObjectId getJobEntryTypeID(String code)
                           throws KettleException
Throws:
KettleException

loadJobEntryCopy

public JobEntryCopy loadJobEntryCopy(ObjectId id_job,
                                     ObjectId id_jobentry_copy,
                                     List<JobEntryInterface> jobentries,
                                     List<DatabaseMeta> databases,
                                     List<SlaveServer> slaveServers)
                              throws KettleException
Load the chef graphical entry from repository We load type, name & description if no entry can be found.

Parameters:
log - the logging channel
rep - the Repository
id_job - The job ID
id_jobentry_copy - The jobentry copy ID
jobentries - A list with all jobentries
databases - A list with all defined databases
Throws:
KettleException

saveJobEntryCopy

public void saveJobEntryCopy(JobEntryCopy copy,
                             ObjectId id_job)
                      throws KettleException
Throws:
KettleException

insertJobEntry

public ObjectId insertJobEntry(ObjectId id_job,
                               JobEntryBase jobEntryBase)
                        throws KettleException
Throws:
KettleException

insertJobEntryCopy

public ObjectId insertJobEntryCopy(ObjectId id_job,
                                   ObjectId id_jobentry,
                                   ObjectId id_jobentry_type,
                                   int nr,
                                   long gui_location_x,
                                   long gui_location_y,
                                   boolean gui_draw,
                                   boolean parallel)
                            throws KettleException
Throws:
KettleException

getNrJobEntries

public int getNrJobEntries(ObjectId id_job)
                    throws KettleException
Throws:
KettleException

loadJobEntryBase

public void loadJobEntryBase(JobEntryBase jobEntryBase,
                             ObjectId id_jobentry,
                             List<DatabaseMeta> databases,
                             List<SlaveServer> slaveServers)
                      throws KettleException
Throws:
KettleException