|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.blunder.service.persistence.hibernate.BlunderHibernateService
@Transactional(readOnly=true, propagation=NOT_SUPPORTED) public class BlunderHibernateService
Hibernate implementation for a BlunderPersistenceService
.
For more information about Hibernate please refer to the project site
http://www.hibernate.org.
Constructor Summary | |
---|---|
BlunderHibernateService()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlunderHibernateService()
Method Detail |
---|
public List<ExceptionRelation> findBy(String leafClassname, String rootClassname, String businessClassname) throws DataAccessException, org.hibernate.SessionException
BlunderPersistenceService
ExceptionRelation
for
the following arguments.
findBy
in interface BlunderPersistenceService
leafClassname
- class name of the highest level
Exception
in the chain.rootClassname
- class name of the lowest level
Exception
in the chain.businessClassname
- class name of the business
Exception
in the chain.
List
of ExceptionRelation
with all relations that matches with the previous parameters.
DataAccessException
org.hibernate.SessionException
BlunderPersistenceService.findBy(String,String,String)
public List<ExceptionRelation> findByBusiness(String businessClassname)
BlunderPersistenceService
ExceptionRelation
for
the following arguments.
findByBusiness
in interface BlunderPersistenceService
businessClassname
- class name of the business
Exception
in the chain.
List
of ExceptionRelation
with all relations that matches with the previous parameters.BlunderPersistenceService.findByBusiness(String)
public List<ExceptionRelation> findByLeaf(String leafClassname)
BlunderPersistenceService
ExceptionRelation
for
the following arguments.
findByLeaf
in interface BlunderPersistenceService
leafClassname
- class name of the highest level
Exception
in the chain.
List
of ExceptionRelation
with all relations that matches with the previous parameters.BlunderPersistenceService.findByLeaf(String)
public List<ExceptionRelation> findByLeafAndBusiness(String leafClassname, String businessClassname)
BlunderPersistenceService
ExceptionRelation
for
the following arguments.
findByLeafAndBusiness
in interface BlunderPersistenceService
leafClassname
- class name of the highest level
Exception
in the chain.businessClassname
- class name of the business
Exception
in the chain.
List
of ExceptionRelation
with all relations that matches with the previous parameters.BlunderPersistenceService.findByLeafAndBusiness(String,String)
public List<ExceptionRelation> findByLeafAndRoot(String leafClassname, String rootClassname)
BlunderPersistenceService
ExceptionRelation
for
the following arguments.
findByLeafAndRoot
in interface BlunderPersistenceService
leafClassname
- class name of the highest level
Exception
in the chain.rootClassname
- class name of the lowest level
Exception
in the chain.
List
of ExceptionRelation
with all relations that matches with the previous parameters.BlunderPersistenceService.findByLeafAndRoot(String,String)
public List<ExceptionRelation> findByRoot(String rootClassname)
BlunderPersistenceService
ExceptionRelation
for
the following arguments.
findByRoot
in interface BlunderPersistenceService
rootClassname
- class name of the lowest level
Exception
in the chain.
List
of ExceptionRelation
with all relations that matches with the previous parameters.BlunderPersistenceService.findByRoot(String)
public ExceptionRelation findDefaultRelation()
findDefaultRelation
in interface BlunderPersistenceService
ExceptionRelation
.BlunderPersistenceService.findDefaultRelation()
@Transactional(readOnly=false, propagation=SUPPORTS) public void learn(ExceptionRelation er) throws DataAccessException, org.hibernate.SessionException
BlunderPersistenceService
ExceptionRelation
.
learn
in interface BlunderPersistenceService
er
- the ExceptionRelation
to learn.
DataAccessException
org.hibernate.SessionException
BlunderPersistenceService.learn(ExceptionRelation)
@Transactional(readOnly=false, propagation=SUPPORTS) public void update(ExceptionRelation er)
BlunderPersistenceService
ExceptionRelation
.
update
in interface BlunderPersistenceService
er
- the ExceptionRelation
to update.BlunderPersistenceService.update(ExceptionRelation)
@Transactional(readOnly=false, propagation=SUPPORTS) public void delete(ExceptionRelation er)
BlunderPersistenceService
ExceptionRelation
.
delete
in interface BlunderPersistenceService
er
- the ExceptionRelation
to delete.BlunderPersistenceService.delete(ExceptionRelation)
public void refresh()
BlunderPersistenceService
refresh
in interface BlunderPersistenceService
BlunderPersistenceService.refresh()
public HibernateTemplate getHibernateTemplate()
public void setHibernateTemplate(HibernateTemplate hibernateTemplate)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |