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

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

public class KettleDatabaseRepositoryConditionDelegate
extends KettleDatabaseRepositoryBaseDelegate


Constructor Summary
KettleDatabaseRepositoryConditionDelegate(KettleDatabaseRepository repository)
           
 
Method Summary
 org.pentaho.di.core.RowMetaAndData getCondition(org.pentaho.di.repository.ObjectId id_condition)
           
 org.pentaho.di.repository.ObjectId insertCondition(org.pentaho.di.repository.ObjectId id_condition_parent, Condition condition)
           
 org.pentaho.di.repository.ObjectId insertValue(String name, String type, String value_str, boolean isnull, org.pentaho.di.repository.ObjectId id_value_prev)
           
 Condition loadCondition(org.pentaho.di.repository.ObjectId id_condition)
          Read a condition from the repository.
 org.pentaho.di.repository.ObjectId lookupValue(String name, String type, String value_str, boolean isnull)
           
 org.pentaho.di.repository.ObjectId saveCondition(Condition condition)
           
 org.pentaho.di.repository.ObjectId saveCondition(Condition condition, org.pentaho.di.repository.ObjectId id_condition_parent)
           
 
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

KettleDatabaseRepositoryConditionDelegate

public KettleDatabaseRepositoryConditionDelegate(KettleDatabaseRepository repository)
Method Detail

getCondition

public org.pentaho.di.core.RowMetaAndData getCondition(org.pentaho.di.repository.ObjectId id_condition)
                                                throws org.pentaho.di.core.exception.KettleException
Throws:
org.pentaho.di.core.exception.KettleException

loadCondition

public Condition loadCondition(org.pentaho.di.repository.ObjectId id_condition)
                        throws org.pentaho.di.core.exception.KettleException
Read a condition from the repository.

Parameters:
id_condition - The condition id
Throws:
org.pentaho.di.core.exception.KettleException - if something goes wrong.

saveCondition

public org.pentaho.di.repository.ObjectId saveCondition(Condition condition)
                                                 throws org.pentaho.di.core.exception.KettleException
Throws:
org.pentaho.di.core.exception.KettleException

saveCondition

public org.pentaho.di.repository.ObjectId saveCondition(Condition condition,
                                                        org.pentaho.di.repository.ObjectId id_condition_parent)
                                                 throws org.pentaho.di.core.exception.KettleException
Throws:
org.pentaho.di.core.exception.KettleException

insertCondition

public org.pentaho.di.repository.ObjectId insertCondition(org.pentaho.di.repository.ObjectId id_condition_parent,
                                                          Condition condition)
                                                   throws org.pentaho.di.core.exception.KettleException
Throws:
org.pentaho.di.core.exception.KettleException

insertValue

public org.pentaho.di.repository.ObjectId insertValue(String name,
                                                      String type,
                                                      String value_str,
                                                      boolean isnull,
                                                      org.pentaho.di.repository.ObjectId id_value_prev)
                                               throws org.pentaho.di.core.exception.KettleException
Throws:
org.pentaho.di.core.exception.KettleException

lookupValue

public org.pentaho.di.repository.ObjectId lookupValue(String name,
                                                      String type,
                                                      String value_str,
                                                      boolean isnull)
                                               throws org.pentaho.di.core.exception.KettleException
Throws:
org.pentaho.di.core.exception.KettleException