org.pentaho.di.repository.kdr.delegates
Class KettleDatabaseRepositoryJobEntryDelegate
java.lang.Object
org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryBaseDelegate
org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryJobEntryDelegate
public class KettleDatabaseRepositoryJobEntryDelegate
- extends KettleDatabaseRepositoryBaseDelegate
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)
|
KettleDatabaseRepositoryJobEntryDelegate
public KettleDatabaseRepositoryJobEntryDelegate(KettleDatabaseRepository repository)
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 channelrep
- the Repositoryid_job
- The job IDid_jobentry_copy
- The jobentry copy IDjobentries
- A list with all jobentriesdatabases
- 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