net.sf.hloader
Class ObjectPersister
java.lang.Object
   net.sf.hloader.ObjectPersister
net.sf.hloader.ObjectPersister
- public class ObjectPersister- extends java.lang.Object
- Version:
- $Id: ObjectPersister.java,v 1.1 2004/03/01 12:37:26 bdargan Exp $
- Author:
- Brett Dargan
| Constructor Summary | 
| ObjectPersister(net.sf.hibernate.SessionFactory sessionFactory)
 | 
| ObjectPersister(net.sf.hibernate.SessionFactory sessionFactory,
                java.lang.String hibernateQuery,
                java.lang.String packageAlias)need to pass in meta data for the alias/namespaces and interceptor work
 | 
 
| Method Summary | 
|  void | addToDocument(net.sf.hibernate.Session session,
              java.lang.Object object,
              org.dom4j.Document document)if the object does not exist in the docment,
 | 
|  void | execute()Executes this task.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ObjectPersister
public ObjectPersister(net.sf.hibernate.SessionFactory sessionFactory)
- Parameters:
- sessionFactory-
ObjectPersister
public ObjectPersister(net.sf.hibernate.SessionFactory sessionFactory,
                       java.lang.String hibernateQuery,
                       java.lang.String packageAlias)
- need to pass in meta data for the alias/namespaces and interceptor work
 
- Parameters:
- sessionFactory-
addToDocument
public void addToDocument(net.sf.hibernate.Session session,
                          java.lang.Object object,
                          org.dom4j.Document document)
                   throws java.lang.Exception
- if the object does not exist in the docment,
 then convert it to xml and add to document.
 todo - rework this so visitors access the list of propertyTypes/propertyNames.
 
 
- 
- Parameters:
- document-
- Throws:
- java.lang.Exception
 
execute
public void execute()
             throws java.lang.Exception
- Executes this task.
 
- 
- Throws:
- java.lang.Exception