org.dentaku.services.persistence.hibernate
Class AbstractHibernatePersistenceFactory

java.lang.Object
  extended byorg.dentaku.services.persistence.hibernate.AbstractHibernatePersistenceFactory
All Implemented Interfaces:
PersistenceFactory

public abstract class AbstractHibernatePersistenceFactory
extends java.lang.Object
implements PersistenceFactory


Field Summary
 
Fields inherited from interface org.dentaku.services.persistence.PersistenceFactory
ROLE
 
Constructor Summary
AbstractHibernatePersistenceFactory()
           
 
Method Summary
abstract  ModelEntity create()
           
abstract  ModelEntity create(java.lang.Object source)
           
abstract  ModelEntity findByPrimaryKey(java.lang.Long pk)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.dentaku.services.persistence.PersistenceFactory
setManager
 

Constructor Detail

AbstractHibernatePersistenceFactory

public AbstractHibernatePersistenceFactory()
Method Detail

create

public abstract ModelEntity create()
                            throws PersistenceException
Specified by:
create in interface PersistenceFactory
Throws:
PersistenceException

create

public abstract ModelEntity create(java.lang.Object source)
                            throws PersistenceException
Specified by:
create in interface PersistenceFactory
Throws:
PersistenceException

findByPrimaryKey

public abstract ModelEntity findByPrimaryKey(java.lang.Long pk)
                                      throws PersistenceException
Specified by:
findByPrimaryKey in interface PersistenceFactory
Throws:
PersistenceException


Copyright © -2004 . All Rights Reserved.