lumis.doui.dao
Class DouiDaoHib
java.lang.Object
lumis.portal.dao.hibernate.GenericHibernateManualUpdateDao<DouiConfig,String>
lumis.doui.dao.DouiDaoHib
- All Implemented Interfaces:
- IDouiDao
public class DouiDaoHib
- extends GenericHibernateManualUpdateDao<DouiConfig,String>
- implements IDouiDao
- Since:
- 4.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DouiDaoHib
public DouiDaoHib()
getIdentifier
protected String getIdentifier(DouiConfig douiConfig)
- Specified by:
getIdentifier
in class GenericHibernateManualUpdateDao<DouiConfig,String>
addOrUpdate
public void addOrUpdate(DouiConfig douiConfig,
ITransaction transaction)
throws DaoException,
PortalException
- Specified by:
addOrUpdate
in interface IDouiDao
- Overrides:
addOrUpdate
in class GenericHibernateManualUpdateDao<DouiConfig,String>
- Throws:
DaoException
PortalException
get
public DouiConfig get(String serviceId,
ITransaction transaction)
throws DaoException,
PortalException
- Description copied from class:
GenericHibernateManualUpdateDao
- Returns the bean with the given id. The bean is
set as read-only, so changes on it won't persist automatically.
- Specified by:
get
in interface IDouiDao
- Overrides:
get
in class GenericHibernateManualUpdateDao<DouiConfig,String>
- Parameters:
serviceId
- the bean's id.transaction
- the transaction for persistence access. Must be
a ITransactionHibernate
.
- Returns:
- the bean.
- Throws:
DaoException
PortalException
delete
public boolean delete(String serviceId,
ITransaction transaction)
throws DaoException,
PortalException
- Description copied from class:
GenericHibernateManualUpdateDao
- Deletes the bean with the given id from persistence.
- Specified by:
delete
in interface IDouiDao
- Overrides:
delete
in class GenericHibernateManualUpdateDao<DouiConfig,String>
- Parameters:
serviceId
- the bean's id.transaction
- the transaction for persistence access. Must be
a ITransactionHibernate
.
- Returns:
- true if the bean was deleted, or false if it did not exist
- Throws:
DaoException
PortalException
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.