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
 RowMetaAndData getCondition(ObjectId id_condition)
           
 ObjectId insertCondition(ObjectId id_condition_parent, Condition condition)
           
 ObjectId insertValue(String name, String type, String value_str, boolean isnull, ObjectId id_value_prev)
           
 Condition loadCondition(ObjectId id_condition)
          Read a condition from the repository.
 ObjectId lookupValue(String name, String type, String value_str, boolean isnull)
           
 ObjectId saveCondition(Condition condition)
           
 ObjectId saveCondition(Condition condition, 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 RowMetaAndData getCondition(ObjectId id_condition)
                            throws KettleException
Throws:
KettleException

loadCondition

public Condition loadCondition(ObjectId id_condition)
                        throws KettleException
Read a condition from the repository.

Parameters:
id_condition - The condition id
Throws:
KettleException - if something goes wrong.

saveCondition

public ObjectId saveCondition(Condition condition)
                       throws KettleException
Throws:
KettleException

saveCondition

public ObjectId saveCondition(Condition condition,
                              ObjectId id_condition_parent)
                       throws KettleException
Throws:
KettleException

insertCondition

public ObjectId insertCondition(ObjectId id_condition_parent,
                                Condition condition)
                         throws KettleException
Throws:
KettleException

insertValue

public ObjectId insertValue(String name,
                            String type,
                            String value_str,
                            boolean isnull,
                            ObjectId id_value_prev)
                     throws KettleException
Throws:
KettleException

lookupValue

public ObjectId lookupValue(String name,
                            String type,
                            String value_str,
                            boolean isnull)
                     throws KettleException
Throws:
KettleException