| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.di.core.util.SerializationHelper
public class SerializationHelper
| Constructor Summary | |
|---|---|
SerializationHelper()
 | 
|
| Method Summary | |
|---|---|
static void | 
read(Object object,
     Node node)
This method will perform the work that used to be done by hand in each kettle input meta for: readData(Node stepnode).  | 
static void | 
readJobRep(Object object,
           Repository rep,
           org.pentaho.di.repository.ObjectId id_step,
           List<org.pentaho.di.core.database.DatabaseMeta> databases)
Handle reading of the input (object) from the kettle repository by getting the job-xml from the repository step attribute string and then re-hydrate the job entry (object) with our already existing read method.  | 
static void | 
readStepRep(Object object,
            Repository rep,
            org.pentaho.di.repository.ObjectId id_step,
            List<org.pentaho.di.core.database.DatabaseMeta> databases,
            Map<String,org.pentaho.di.core.Counter> counters)
Handle reading of the input (object) from the kettle repository by getting the step-xml from the repository step attribute string and then re-hydrate the step (object) with our already existing read method.  | 
static void | 
saveJobRep(Object object,
           Repository rep,
           org.pentaho.di.repository.ObjectId id_job,
           org.pentaho.di.repository.ObjectId id_job_entry)
Handle saving of the input (object) to the kettle repository using the most simple method available, by calling write and then saving the job-xml as a job attribute.  | 
static void | 
saveStepRep(Object object,
            Repository rep,
            org.pentaho.di.repository.ObjectId id_transformation,
            org.pentaho.di.repository.ObjectId id_step)
Handle saving of the input (object) to the kettle repository using the most simple method available, by calling write and then saving the step-xml as a step attribute.  | 
static void | 
write(Object object,
      int indentLevel,
      StringBuffer buffer)
This method will perform the work that used to be done by hand in each kettle input meta for: getXML().  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SerializationHelper()
| Method Detail | 
|---|
public static void read(Object object,
                        Node node)
object - The object to be persistednode - The node to 'attach' our XML to
public static void write(Object object,
                         int indentLevel,
                         StringBuffer buffer)
object - buffer - 
public static void saveJobRep(Object object,
                              Repository rep,
                              org.pentaho.di.repository.ObjectId id_job,
                              org.pentaho.di.repository.ObjectId id_job_entry)
                       throws org.pentaho.di.core.exception.KettleException
object - rep - id_transformation - id_step - 
org.pentaho.di.core.exception.KettleException
public static void readJobRep(Object object,
                              Repository rep,
                              org.pentaho.di.repository.ObjectId id_step,
                              List<org.pentaho.di.core.database.DatabaseMeta> databases)
                       throws org.pentaho.di.core.exception.KettleException
object - rep - id_step - databases - 
org.pentaho.di.core.exception.KettleException
public static void saveStepRep(Object object,
                               Repository rep,
                               org.pentaho.di.repository.ObjectId id_transformation,
                               org.pentaho.di.repository.ObjectId id_step)
                        throws org.pentaho.di.core.exception.KettleException
object - rep - id_transformation - id_step - 
org.pentaho.di.core.exception.KettleException
public static void readStepRep(Object object,
                               Repository rep,
                               org.pentaho.di.repository.ObjectId id_step,
                               List<org.pentaho.di.core.database.DatabaseMeta> databases,
                               Map<String,org.pentaho.di.core.Counter> counters)
                        throws org.pentaho.di.core.exception.KettleException
object - rep - id_step - databases - counters - 
org.pentaho.di.core.exception.KettleException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||