Class ServiceInterfaceMenuGroupTypeDaoHib
- java.lang.Object
-
- lumis.portal.dao.hibernate.GenericHibernateManualUpdateDao<ServiceInterfaceMenuGroupTypeConfig,String>
-
- lumis.portal.serviceinterface.menu.ServiceInterfaceMenuGroupTypeDaoHib
-
- All Implemented Interfaces:
IServiceInterfaceMenuGroupTypeDao
public class ServiceInterfaceMenuGroupTypeDaoHib extends GenericHibernateManualUpdateDao<ServiceInterfaceMenuGroupTypeConfig,String> implements IServiceInterfaceMenuGroupTypeDao
- Since:
- 4.0.0
- Version:
- $Revision: 6669 $ $Date: 2007-05-02 15:52:18 -0300 (Wed, 02 May 2007) $
-
-
Constructor Summary
Constructors Constructor Description ServiceInterfaceMenuGroupTypeDaoHib()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOrUpdate(ServiceInterfaceMenuGroupTypeConfig config, ITransaction transaction)
boolean
delete(String menuGroupTypeId, ITransaction transaction)
Deletes the bean with the given id from persistence.ServiceInterfaceMenuGroupTypeConfig
get(String menuGroupTypeId, ITransaction transaction)
Returns the bean with the given id.protected String
getIdentifier(ServiceInterfaceMenuGroupTypeConfig config)
-
Methods inherited from class lumis.portal.dao.hibernate.GenericHibernateManualUpdateDao
add, evict, exists, findByCriteria, findByCriteria, getPersistentClass, setReadOnly, update
-
-
-
-
Method Detail
-
getIdentifier
protected String getIdentifier(ServiceInterfaceMenuGroupTypeConfig config)
- Specified by:
getIdentifier
in classGenericHibernateManualUpdateDao<ServiceInterfaceMenuGroupTypeConfig,String>
-
addOrUpdate
public void addOrUpdate(ServiceInterfaceMenuGroupTypeConfig config, ITransaction transaction) throws DaoException, PortalException
- Specified by:
addOrUpdate
in interfaceIServiceInterfaceMenuGroupTypeDao
- Overrides:
addOrUpdate
in classGenericHibernateManualUpdateDao<ServiceInterfaceMenuGroupTypeConfig,String>
- Throws:
DaoException
PortalException
-
delete
public boolean delete(String menuGroupTypeId, ITransaction transaction) throws DaoException, PortalException
Description copied from class:GenericHibernateManualUpdateDao
Deletes the bean with the given id from persistence.- Specified by:
delete
in interfaceIServiceInterfaceMenuGroupTypeDao
- Overrides:
delete
in classGenericHibernateManualUpdateDao<ServiceInterfaceMenuGroupTypeConfig,String>
- Parameters:
menuGroupTypeId
- the bean's id.transaction
- the transaction for persistence access. Must be aITransactionHibernate
.- Returns:
- true if the bean was deleted, or false if it did not exist
- Throws:
DaoException
PortalException
-
get
public ServiceInterfaceMenuGroupTypeConfig get(String menuGroupTypeId, 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 interfaceIServiceInterfaceMenuGroupTypeDao
- Overrides:
get
in classGenericHibernateManualUpdateDao<ServiceInterfaceMenuGroupTypeConfig,String>
- Parameters:
menuGroupTypeId
- the bean's id.transaction
- the transaction for persistence access. Must be aITransactionHibernate
.- Returns:
- the bean.
- Throws:
DaoException
PortalException
-
-