public class DouiDaoHib extends GenericHibernateManualUpdateDao<DouiConfig,String> implements IDouiDao
Constructor and Description |
---|
DouiDaoHib() |
Modifier and Type | Method and Description |
---|---|
void |
addOrUpdate(DouiConfig douiConfig,
ITransaction transaction) |
boolean |
delete(String serviceId,
ITransaction transaction)
Deletes the bean with the given id from persistence.
|
DouiConfig |
get(String serviceId,
ITransaction transaction)
Returns the bean with the given id.
|
protected String |
getIdentifier(DouiConfig douiConfig) |
add, evict, exists, findByCriteria, findByCriteria, getPersistentClass, setReadOnly, update
protected String getIdentifier(DouiConfig douiConfig)
getIdentifier
in class GenericHibernateManualUpdateDao<DouiConfig,String>
public void addOrUpdate(DouiConfig douiConfig, ITransaction transaction) throws DaoException, PortalException
addOrUpdate
in interface IDouiDao
addOrUpdate
in class GenericHibernateManualUpdateDao<DouiConfig,String>
DaoException
PortalException
public DouiConfig get(String serviceId, ITransaction transaction) throws DaoException, PortalException
GenericHibernateManualUpdateDao
get
in interface IDouiDao
get
in class GenericHibernateManualUpdateDao<DouiConfig,String>
serviceId
- the bean's id.transaction
- the transaction for persistence access. Must be
a ITransactionHibernate
.DaoException
PortalException
public boolean delete(String serviceId, ITransaction transaction) throws DaoException, PortalException
GenericHibernateManualUpdateDao
delete
in interface IDouiDao
delete
in class GenericHibernateManualUpdateDao<DouiConfig,String>
serviceId
- the bean's id.transaction
- the transaction for persistence access. Must be
a ITransactionHibernate
.DaoException
PortalException
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.